Difference between revisions of "Template:Transient extended infobox"

Jump to navigation Jump to search
no edit summary
Line 1,163: Line 1,163:
|og:image={{filepath:{{#ifexist:File:{{{icon|}}}.png|{{{icon}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{#ifexist:File:{{{en name}}}_{{{rarity}}}star_icon.png|{{{en name}}}_{{{rarity}}}star_icon.png|}}}}}}}}
|og:image={{filepath:{{#ifexist:File:{{{icon|}}}.png|{{{icon}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{#ifexist:File:{{{en name}}}_{{{rarity}}}star_icon.png|{{{en name}}}_{{{rarity}}}star_icon.png|}}}}}}}}
|og:title={{{en name|{{{jp name|}}}}}} - Tokyo Afterschool Summoners Wiki
|og:title={{{en name|{{{jp name|}}}}}} - Tokyo Afterschool Summoners Wiki
}}}}}}</includeonly><noinclude>
}}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
== Description ==
 
This templates creates an infobox and subobject for a Transient. Please do not directly invoke this template.
 
An example to feed override parameters (such as translation names) are:
<pre>
{{#vardefine:transient en name|Name}}
{{#vardefine:transient en title|Title}}
{{#vardefine:transient availability|Available}}
{{#vardefine:transient acquisition|Gacha}}
{{#vardefine:transient en jingi|Charge Skill Name}}
{{#vardefine:transient species|Species}}
{{#vardefine:transient gate|Gate Name}}
{{#vardefine:transient jp en research file|Translation for Japanese Research File}}
 
{{#vardefine:transient height|166}}
{{#vardefine:transient weight|96}}
{{#vardefine:transient summon date|8/7}}
</pre>
 
To invoke this template properly, use (after the vardefines):
<pre>
{{#masterdata:Card|CARDID}}
</pre>
 
Consult other transient pages for additional undocumented options.
 
[[Category:Infobox templates]][[Category:Subobject templates]]
</noinclude>
trusted
5,922

edits

Navigation menu