Template:Infobox: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 2: Line 2:
<tr><th colspan=2><div>{{{name|{{SUBPAGENAME}}}}}</div></th></tr>
<tr><th colspan=2><div>{{{name|{{SUBPAGENAME}}}}}</div></th></tr>
<tr><td>[[File:{{#setmainimage:{{{name| {{#switch: {{BASEPAGENAME}} | Instructions = Instructions-{{SUBPAGENAME}} | {{SUBPAGENAME}}}}}}}.png}}|256px]]</td></tr>
<tr><td>[[File:{{#setmainimage:{{{name| {{#switch: {{BASEPAGENAME}} | Instructions = Instructions-{{SUBPAGENAME}} | {{SUBPAGENAME}}}}}}}.png}}|256px]]</td></tr>
<tr><td>
<tr><td>{{#switch:{{BASEPAGENAME}}|Instructions={{InstructionStatistics|{{SUBPAGENAME}}}}|{{ComponentStatistics|{{SUBPAGENAME}}}}{{ItemStatistics|{{SUBPAGENAME}}}}{{EntityStatistics|{{SUBPAGENAME}}}}}}</td></tr>
{{#switch:{{BASEPAGENAME}}|Instructions={{InstructionStatistics|{{SUBPAGENAME}}}}|{{ComponentStatistics|{{SUBPAGENAME}}}}{{ItemStatistics|{{SUBPAGENAME}}}}{{EntityStatistics|{{SUBPAGENAME}}}}}}
</td></tr>
</table>
</table>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 19:36, 11 September 2023

Infobox

Documentation

Description

The top right infobox on pages. Data is automatically fetched using SUBPAGENAME.

Usage

{{Infobox}}

Optionally, name parameter can be specified to override the name & the image file used.

{{Infobox|name=Cub}}

The above Template documentation is transcluded from Template:Infobox/doc. (edit | history)