Difference between revisions of "Template:Infobox"
From ComputerCraft Wiki
Magiczocker (Talk | contribs) m |
Magiczocker (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | <includeonly><div class="infobox"> | |
− | + | <div class="infobox-name">{{{name|{{PAGENAME}}}}}</div> | |
− | + | <div class="infobox-image">[[File:{{#if:{{{image|}}}|{{{image}}}|{{PAGENAME}}.png }}|{{#if:{{{size|}}}|{{{size}}}|160px}}]]</div> | |
− | + | {{#if:{{{rows|}}}| | |
− | + | {| class="infobox-rows" | |
− | {{#if:{{{rows|}}}|{{{rows | + | {{{rows}}} |
|} | |} | ||
+ | }} | ||
+ | </div></includeonly><noinclude> | ||
+ | {{Infobox | ||
+ | |name=test | ||
+ | |image=Iso Computer.png | ||
+ | |rows= | ||
+ | {{Infobox row|Item ID|1}} | ||
+ | {{Infobox row|Damage Value|1}} | ||
+ | {{Infobox row|Peripheral?|No}} | ||
+ | }} | ||
+ | </noinclude> |