QuteObject
5eTools object attributes (object2md.txt)
Extension of Tools5eQuteBase.
Attributes
Permalink5eInitiativeYaml, 5eStatblockYaml, ac, acHp, acText, action, books, conditionImmune, creatureType, fluffImages, getAliases, hasImages, hasMoreImages, hasSections, hitDice, hp, hpText, immune, immuneResist, isNpc, labeledSource, name, objectType, reprintOf, resist, scores, senses, showAllImages, showMoreImages, showPortraitImage, size, source, sourceAndPage, sourcesWithFootnote, speed, tags, text, token, vaultPath, vulnerable
5eInitiativeYaml
PermalinkA minimal YAML snippet containing object attributes required by the Initiative Tracker plugin. Use this in frontmatter.
5eStatblockYaml
PermalinkComplete object attributes in the format required by the Fantasy statblock plugin. Uses double-quoted syntax to deal with a variety of characters occuring in trait descriptions. Usable in frontmatter or Fantasy Statblock code blocks.
ac
PermalinkSee AcHp#ac
acHp
PermalinkObject AC and HP as AcHp
acText
PermalinkSee AcHp#acText
action
PermalinkObject actions as a list of NamedText
books
PermalinkList of source books using abbreviated name. Fantasy statblocks uses this list format, as an example.
conditionImmune
PermalinkSee ImmuneResist#conditionImmune
creatureType
PermalinkCreature type (lowercase); optional
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
hitDice
PermalinkSee AcHp#hitDice
hp
PermalinkSee AcHp#hp
hpText
PermalinkSee AcHp#hpText
immune
PermalinkimmuneResist
PermalinkObject immunities and resistances as ImmuneResist
isNpc
PermalinkTrue if this is an NPC
labeledSource
PermalinkFormatted string describing the content's source(s): _Source: <sources>_
name
PermalinkNote name
objectType
PermalinkObject type
reprintOf
PermalinkList of content superceded by this note (as Reprinted)
resist
Permalinkscores
PermalinkObject ability scores as AbilityScores)
senses
PermalinkComma-separated string of object senses (if present).
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.
size
PermalinkObject size (capitalized)
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.
speed
PermalinkObject speed as a comma-separated list
tags
PermalinkCollected tags for inclusion in frontmatter
text
PermalinkFormatted text. For most templates, this is the bulk of the content.
token
PermalinkToken image as ImageRef
vaultPath
PermalinkPath to this note in the vault