mNo edit summary Tag: Manual revert |
(nested a switch case as a temporary solution) |
||
Line 1: | Line 1: | ||
<table class="infobox" cellspacing=0> | <table class="infobox" cellspacing=0> | ||
<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| {{SUBPAGENAME}}}}}.png}}|256px]]</td></tr> | <tr><td>[[File:{{#setmainimage:{{{name| {{#switch: {{BASEPAGENAME}} | Instructions = Instructions-{{SUBPAGENAME}} | {{SUBPAGENAME}}}}}}}.png}}|256px]]</td></tr> | ||
<tr><td>{{ComponentStatistics|{{SUBPAGENAME}}}}{{ItemStatistics|{{SUBPAGENAME}}}}{{EntityStatistics|{{SUBPAGENAME}}}}{{InstructionStatistics|{{SUBPAGENAME}}}}</td></tr> | <tr><td>{{ComponentStatistics|{{SUBPAGENAME}}}}{{ItemStatistics|{{SUBPAGENAME}}}}{{EntityStatistics|{{SUBPAGENAME}}}}{{InstructionStatistics|{{SUBPAGENAME}}}}</td></tr> | ||
</table> | </table> | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> |
Revision as of 19:12, 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)