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 |
||
| (2 intermediate revisions 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. It will return an error string if the input | 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}}
{{Illustration|Xssassinate}}
Will display:Data name not recognized.


