Template:Illustration/doc: Difference between revisions

From Terra Invicta Official Wiki
Llamageddon (talk | contribs)
mNo edit summary
Llamageddon (talk | contribs)
mNo edit summary
Line 1: Line 1:
This template displays an illustration, or sequence of illustrations, based on the first parameter.
This template displays an illustration, or sequence of illustrations, based on the first parameter.


For now, it's not very smart; it only recognizes the ''dataName'' (name used game's .json files) related to any given illustration(s). It displays images at 256 pixels wide, and divides them by "||" so they can be displayed horizontally in tables. It will return an error string if the input isn't recognized.
For now, it's not very smart; it only recognizes the ''dataName'' (name used game's .json files) related to any given illustration(s). It displays images at 256 pixels wide, separated by a single space. It will return an error string if the input isn't recognized.


== Example ==
== Example ==

Revision as of 20:41, 9 December 2025

This template displays an illustration, or sequence of illustrations, based on the first parameter.

For now, it's not very smart; it only recognizes the dataName (name used game's .json files) related to any given illustration(s). It displays images at 256 pixels wide, separated by a single space. It will return an error string if the input isn't recognized.

Example

{{Illustration|Assassinate}}

Will display:

{{Illustration|Xssassinate}}

Will display:Data name not recognized.