QuteVehicle
5eTools vehicle attributes (vehicle2md.txt)
Several different types of vehicle use this template, including: Ship, spelljammer, infernal war manchie, objects and creatures. They can have very different properties. Treat most as optional.
Extension of Tools5eQuteBase.
Attributes
Permalinkaction, books, fluffImages, getAliases, hasImages, hasMoreImages, hasSections, immuneResist, isCreature, isObject, isShip, isSpelljammer, isWarMachine, labeledSource, name, reprintOf, scores, shipCrewCargoPace, shipSections, showAllImages, showMoreImages, showPortraitImage, sizeDimension, source, sourceAndPage, sourcesWithFootnote, tags, terrain, text, token, vaultPath, vehicleType
action
PermalinkList of vehicle actions as a collection of NamedText
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
immuneResist
PermalinkVehicle immunities and resistances as ImmuneResist
isCreature
PermalinkTrue if this vehicle is a Creature
isObject
PermalinkTrue if this vehicle is an Object
isShip
PermalinkTrue if this vehicle is a Ship
isSpelljammer
PermalinkTrue if this vehicle is a Spelljammer
isWarMachine
PermalinkTrue if this vehicle is an Infernal War Machine
labeledSource
PermalinkFormatted string describing the content's source(s): _Source: <sources>_
name
PermalinkNote name
reprintOf
PermalinkList of content superceded by this note (as Reprinted)
scores
PermalinkObject ability scores as AbilityScores Used by Ship, Infernal War Machine, Creature, Object
shipCrewCargoPace
PermalinkShip capacity and pace attributes as ShipCrewCargoPace.
shipSections
PermalinkShip sections and traits as ShipAcHp (hull, sails, oars, .. )
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.
sizeDimension
PermalinkShip size and dimensions. Used by Ship, Infernal War Machine
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
terrain
PermalinkVehicle terrain as a comma-separated list (all)
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
vehicleType
PermalinkVehicle type: Ship, Spelljammer, Infernal War Machine, Creature, Object