Template:Infobox: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
 
(57 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<table class="infobox" cellspacing=0>
<includeonly>
<tr><th colspan=2><div>{{{name|{{PAGENAME}}}}}</div></th></tr>
<table class="infobox" cellspacing="0">
<tr><td>[[File:{{#setmainimage:{{{name|{{PAGENAME}}}}}.png}}|thumb]]{{{description}}}</td></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>
      {{#switch:{{BASEPAGENAME}}|Instructions={{InstructionStatistics|{{SUBPAGENAME}}}}|{{ComponentStatistics|{{SUBPAGENAME}}}}{{ItemStatistics|{{SUBPAGENAME}}}}{{EntityStatistics|{{SUBPAGENAME}}}}}}
    </td>
  </tr>
</table>
</table>
</includeonly>
<noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 02:34, 11 August 2025


Documentation

Description[edit source]

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

Usage[edit source]

{{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)