Template:Illustration: Difference between revisions
From Tears of Themis Wiki
imported>Elaeagnifolia No edit summary |
imported>Harmonea m (it works! removing old code) |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
|image=String | |image=String | ||
|featuredCharacters=List (,) of String | |featuredCharacters=List (,) of String | ||
|description=Wikitext | |||
|obtain=Wikitext | |obtain=Wikitext | ||
|releaseDate=DateTime | |releaseDate=DateTime | ||
Line 15: | Line 16: | ||
-->{{#cargo_store:_table=Illustration | -->{{#cargo_store:_table=Illustration | ||
|name={{{name|}}} | |name={{{name|}}} | ||
|image={{{image|{{{name|}}}.png}}} | |image={{{image|{{{name|}}} illustration.png}}} | ||
|featuredCharacters={{{featuredCharacters|}}} | |featuredCharacters={{{featuredCharacters|}}} | ||
|description={{{description|}}} | |||
|obtain={{{obtain|}}} | |obtain={{{obtain|}}} | ||
|releaseDate={{{releaseDate|2021-07-30 12:00}}} | |releaseDate={{{releaseDate|2021-07-30 12:00}}} | ||
Line 25: | Line 27: | ||
--><nowiki/> | --><nowiki/> | ||
|- class="filter-element" | |- class="filter-element" | ||
| style="text-align:center;" | [[File:{{{image|{{{name|}}}.png}}}|225px | | style="text-align:center; padding: 1em;" | [[File:{{{image|{{{name|}}} illustration.png}}}|225px]]<br/>{{{name|}}} | ||
| style="text-align:center;" | {{# | | style="text-align:center;" | {{#invoke:Loops|parseList | ||
|list={{{featuredCharacters|}}} | |||
|delimiter=, | |||
|format=$1<br /> | |||
|replaceString=$1 | |||
}} | |||
| style="text-align:center;" | {{{description|}}} | |||
| style="text-align:center;" | {{{obtain|}}} | | style="text-align:center;" | {{{obtain|}}} | ||
| style="text-align:center;" | {{{releaseDate|}}}</includeonly> | | style="text-align:center;" | {{#explode:{{{releaseDate|}}}| |0}}</includeonly> |
Latest revision as of 04:34, 20 February 2022
Description[edit source]
Used to add illustration row on the Illustrations page and stores the information to Cargo.
Usage[edit source]
{{Illustration |name= |featuredCharacters= |obtain= |releaseDate= }}
The above documentation is transcluded from Template:Illustration/doc. (edit | history)