QuteTraitIndex
Pf2eTools Trait index attributes (indexTrait.md)
This replaces the index usually generated for folders. The default template for the trait consructs a list of links to traits grouped by category.
Extension of Pf2eQuteNote
Attributes
Permalinkbooks, categoryLinks, categoryToTraits, getAliases, hasSections, labeledSource, name, reprintOf, source, sourceAndPage, sourcesWithFootnote, tags, text, vaultPath
books
PermalinkList of source books using abbreviated name. Fantasy statblocks uses this list format, as an example.
categoryLinks
PermalinkList of category anchor links
categoryToTraits
PermalinkMap of category to a list of traits
getAliases
PermalinkAliases for this note, including the note name, as quoted/escaped strings.
Example values:
- "+1 All-Purpose Tool"
- "Carl "The Elder" Frost"
In templates:
aliases:
{#each resource.aliases}
- {it}
{/each}
hasSections
PermalinkTrue if the content (text) contains sections
labeledSource
PermalinkFormatted string describing the content's source(s): _Source: <sources>_
name
PermalinkNote name
reprintOf
PermalinkList of content superceded by this note (as Reprinted)
source
PermalinkString describing the content's source(s)
sourceAndPage
PermalinkBook sources as list of SourceAndPage
sourcesWithFootnote
PermalinkGet 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
PermalinkCollected tags for inclusion in frontmatter
text
PermalinkFormatted text. For most templates, this is the bulk of the content.
vaultPath
PermalinkPath to this note in the vault