QuteFeat

Pf2eTools Feat attributes (feat2md.txt)

Feats are rendered both standalone and inline (as an admonition block). The default template can render both. It uses special syntax to handle the inline case.

Use %%-- to mark the end of the preamble (frontmatter and other leading content only appropriate to the standalone case).

Extension of Pf2eQuteBase

Attributes

access, activity, altNames, books, cost, embedded, frequency, getAliases, hasSections, labeledSource, leadsTo, level, name, note, prerequisites, reprintOf, requirements, source, sourceAndPage, sourcesWithFootnote, special, tags, text, traits, trigger, vaultPath

access

activity

Activity/Activation cost (as QuteDataActivity)

altNames

books

List of source books using abbreviated name. Fantasy statblocks uses this list format, as an example.

cost

embedded

True if this ability is embedded in another note (admonition block). The default template uses this flag to include a title: prefix for the admonition block:

{#if resource.embedded }title: {#else}# {/if}{resource.name} *

frequency

QuteDataFrequency. How often this feat can be used/activated. Use directly to get a formatted string.

getAliases

Aliases for this note, including the note name, as quoted/escaped strings.

Example values:

In templates:

aliases:
{#each resource.aliases}
- {it}
{/each}

hasSections

True if the content (text) contains sections

labeledSource

Formatted string describing the content's source(s): _Source: <sources>_

leadsTo

level

name

Note name

note

prerequisites

reprintOf

List of content superceded by this note (as Reprinted)

requirements

source

String describing the content's source(s)

sourceAndPage

Book sources as list of SourceAndPage

sourcesWithFootnote

Get Sources as a footnote.

Calling this method will return an italicised string with the primary source followed by a footnote listing all other sources. Useful for types that tend to have many sources.

special

tags

Collected tags for inclusion in frontmatter

text

Formatted text. For most templates, this is the bulk of the content.

traits

Collection of traits (decorated links)

trigger

vaultPath

Path to this note in the vault