Template:Illustration/doc: Difference between revisions

From Terra Invicta Official Wiki
Llamageddon (talk | contribs)
mNo edit summary
Llamageddon (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
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 by the 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 ==

Latest revision as of 20:47, 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 by the 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.