Difference between revisions of "Template:Infobox"

From ComputerCraft Wiki
Jump to: navigation, search
m
Line 1: Line 1:
{| class="infobox"
+
<includeonly><div class="infobox">
! colspan="2" class="infobox-name" | {{{name|{{PAGENAME}}}}}
+
<div class="infobox-name">{{{name|{{PAGENAME}}}}}</div>
|-
+
<div class="infobox-image">[[File:{{#if:{{{image|}}}|{{{image}}}|{{PAGENAME}}.png }}|{{#if:{{{size|}}}|{{{size}}}|160px}}]]</div>
| colspan="2" class="infobox-image" | [[File:{{#if:{{{image|}}}|{{{image}}}|{{PAGENAME}}.png }}|{{#if:{{{size|}}}|{{{size}}}|90px}}]]
+
{{#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>

Revision as of 14:55, 1 August 2020

test
Iso Computer.png
Item ID1
Damage Value1
Peripheral?No