Template:Illustration/doc: Difference between revisions

From Terra Invicta Official Wiki
Llamageddon (talk | contribs)
Created page with "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. It will return an error string if the input word isn't recognized. == Example == <pre>{{Illustration|Assassinate}}</pre> Will display:{{Illustration|Assassinate}} <pre>{{Illustration|Xssassinate}}<..."
 
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. It will return an error string if the input word 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, and divides them by "||" so they can be displayed horizontally in tables. It will return an error string if the input isn't recognized.


== Example ==
== Example ==

Revision as of 18:36, 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, and divides them by "||" so they can be displayed horizontally in tables. 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.