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

action, 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

List of vehicle actions as a collection of NamedText

books

List of source books using abbreviated name. Fantasy statblocks uses this list format, as an example.

fluffImages

List of images as ImageRef (optional)

getAliases

Aliases for this note, including the note name, as quoted/escaped strings.

Example values:

In templates:

aliases:
{#each resource.aliases}
- {it}
{/each}

hasImages

Return true if any images are present

hasMoreImages

Return true if more than one image is present

hasSections

True if the content (text) contains sections

immuneResist

Vehicle immunities and resistances as ImmuneResist

isCreature

True if this vehicle is a Creature

isObject

True if this vehicle is an Object

isShip

True if this vehicle is a Ship

isSpelljammer

True if this vehicle is a Spelljammer

isWarMachine

True if this vehicle is an Infernal War Machine

labeledSource

Formatted string describing the content's source(s): _Source: <sources>_

name

Note name

reprintOf

List of content superceded by this note (as Reprinted)

scores

Object ability scores as AbilityScores Used by Ship, Infernal War Machine, Creature, Object

shipCrewCargoPace

Ship capacity and pace attributes as ShipCrewCargoPace.

shipSections

Ship sections and traits as ShipAcHp (hull, sails, oars, .. )

showAllImages

Return embedded wikilinks for all images If there is more than one, they will be displayed in a gallery.

showMoreImages

Return embedded wikilinks for all but the first image If there is more than one, they will be displayed in a gallery.

showPortraitImage

Return an embedded wikilink to the first image Will have the "right" anchor tag.

sizeDimension

Ship size and dimensions. Used by Ship, Infernal War Machine

source

String describing the content's source(s)

sourceAndPage

Book sources as list of SourceAndPage

sourcesWithFootnote

Get 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

Collected tags for inclusion in frontmatter

terrain

Vehicle terrain as a comma-separated list (all)

text

Formatted text. For most templates, this is the bulk of the content.

token

Token image as ImageRef

vaultPath

Path to this note in the vault

vehicleType

Vehicle type: Ship, Spelljammer, Infernal War Machine, Creature, Object