Template:Infobox: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 3: Line 3:
<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}}}}|}}
{{#switch:{{BASEPAGENAME}}|Instructions={{InstructionStatistics|{{SUBPAGENAME}}}}|{{ComponentStatistics|{{SUBPAGENAME}}}}{{ItemStatistics|{{SUBPAGENAME}}}}{{EntityStatistics|{{SUBPAGENAME}}}}}}
{{ComponentStatistics|{{SUBPAGENAME}}}}{{ItemStatistics|{{SUBPAGENAME}}}}{{EntityStatistics|{{SUBPAGENAME}}}}</td></tr>
</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)