QuteBastion
5eTools background attributes (bastion2md.txt).
Extension of Tools5eQuteBase.
Attributes
Permalinkbooks, fluffImages, getAliases, hasImages, hasMoreImages, hasSections, hirelingDescription, hirelings, labeledSource, level, name, orders, prerequisite, reprintOf, showAllImages, showMoreImages, showPortraitImage, source, sourceAndPage, sourcesWithFootnote, space, spaceDescription, tags, text, type, vaultPath
books
PermalinkList of source books using abbreviated name. Fantasy statblocks uses this list format, as an example.
fluffImages
PermalinkList of images as ImageRef (optional)
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}
hasImages
PermalinkReturn true if any images are present
hasMoreImages
PermalinkReturn true if more than one image is present
hasSections
PermalinkTrue if the content (text) contains sections
hirelingDescription
PermalinkHirelings as a descriptive string (if hirelings is present)
hirelings
PermalinkList of possible hirelings this bastion can have (as Hireling, optional)
labeledSource
PermalinkFormatted string describing the content's source(s): _Source: <sources>_
level
PermalinkBastion level (optional)
name
PermalinkNote name
orders
PermalinkBastion orders (optional)
prerequisite
PermalinkFormatted text listing other prerequisite conditions (optional)
reprintOf
PermalinkList of content superceded by this note (as Reprinted)
showAllImages
PermalinkReturn embedded wikilinks for all images If there is more than one, they will be displayed in a gallery.
showMoreImages
PermalinkReturn embedded wikilinks for all but the first image If there is more than one, they will be displayed in a gallery.
showPortraitImage
PermalinkReturn an embedded wikilink to the first image Will have the "right" anchor tag.
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.
space
PermalinkList of possible spaces this bastion can occupy (as Space, optional)
spaceDescription
PermalinkSpace as a descriptive string (if space is present)
tags
PermalinkCollected tags for inclusion in frontmatter
text
PermalinkFormatted text. For most templates, this is the bulk of the content.
type
PermalinkType
vaultPath
PermalinkPath to this note in the vault