Pf2eQuteBase

Attributes for notes that are generated from the Pf2eTools data. This is a trivial extension of QuteBase.

Notes created from Pf2eQuteBase will use a specific template for the type. For example, QuteBackground will use background2md.txt.

Attributes

books, getAliases, hasSections, labeledSource, name, reprintOf, source, sourceAndPage, sourcesWithFootnote, tags, text, vaultPath

books

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

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>_

name

Note name

reprintOf

List of content superceded by this note (as Reprinted)

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.

tags

Collected tags for inclusion in frontmatter

text

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

vaultPath

Path to this note in the vault