QuteItem
5eTools item attributes (item2md.txt)
Extension of Tools5eQuteBase.
Attributes
PermalinkaltNames, armorClass, books, cost, costCp, damage, damage2h, detail, fluffImages, getAliases, hasImages, hasMoreImages, hasSections, labeledSource, mastery, name, prerequisite, properties, range, reprintOf, rootVariant, showAllImages, showMoreImages, showPortraitImage, source, sourceAndPage, sourcesWithFootnote, stealthPenalty, strengthRequirement, subtypeString, tags, text, variantAliases, variantSectionLinks, variants, vaultPath, weight
altNames
PermalinkarmorClass
PermalinkChanges to armor class provided by the item, if applicable
books
PermalinkList of source books using abbreviated name. Fantasy statblocks uses this list format, as an example.
cost
PermalinkCost of the item (gp, sp, cp). Optional.
costCp
PermalinkCost of the item (cp) as number. Optional.
damage
PermalinkOne-handed Damage string, if applicable. Contains dice formula and damage type
damage2h
PermalinkTwo-handed Damage string, if applicable. Contains dice formula and damage type
detail
PermalinkFormatted string of item details. Will include some combination of tier, rarity, category, and attunement
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
labeledSource
PermalinkFormatted string describing the content's source(s): _Source: <sources>_
mastery
PermalinkFormatted string listing applicable item mastery (with links to rules if the source is present)
name
PermalinkNote name
prerequisite
PermalinkFormatted text listing other prerequisite conditions (optional)
properties
PermalinkFormatted string listing item's properties (with links to rules if the source is present)
range
PermalinkItem's range, if applicable
reprintOf
PermalinkList of content superceded by this note (as Reprinted)
rootVariant
PermalinkDetailed information about this item as Variant
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.
stealthPenalty
PermalinkTrue if the item imposes a stealth penalty, if applicable
strengthRequirement
PermalinkStrength requirement as a numerical value, if applicable
subtypeString
PermalinkFormatted string of additional item attributes. Optional.
tags
PermalinkCollected tags for inclusion in frontmatter
text
PermalinkFormatted text. For most templates, this is the bulk of the content.
variantAliases
PermalinkString: list (- "alias") of aliases for variants. Use in YAML frontmatter with aliases:.
Will return an empty string if there are no variants
variantSectionLinks
PermalinkString: list (- [name](#anchor)) of links to variant sections.
Will return an empty string if there are no variants.
variants
PermalinkList of magic item variants as Variant. Optional.
vaultPath
PermalinkPath to this note in the vault
weight
PermalinkWeight of the item (pounds) as a decimal value