Template:Infobox: Difference between revisions

Template page
(Undo revision 3938 by Jamjardavies (talk))
Tags: Undo Reverted
No edit summary
 
(56 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<table border=1 cellspacing=0 style="width:200pt;color:#AAA;float:right;">
<includeonly>
<tr><th style="background-color: #444;" colspan=2><div>{{{name|{{PAGENAME}}}}}</div></th></tr>
<table class="infobox" cellspacing="0">
<tr><td style="text-align:center">[[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)