Template:Infobox Item: Difference between revisions

From Forklift Certified Video Games
Jump to navigation Jump to search
Admin
Admin (talk | contribs) (Created page with "<noinclude> This is the Infobox Item template. </noinclude><includeonly> {| class="wikitable" style="width: 300px; float: right; margin: 0 0 1em 1em;" ! colspan="2" style="background-color: #eee; text-align: center;" | {{{name|{{PAGENAME}}}}} |- | colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|[[File:{{{image}}}|250px]]|250px}} |- ! Type: | {{{type|}}} |- ! Rarity: | {{{rarity|}}} |- ! Weight: | {{{weight|}}} |- ! Value: | {{{v...")
 
Line 2: Line 2:
This is the Infobox Item template.
This is the Infobox Item template.
</noinclude><includeonly>
</noinclude><includeonly>
{| class="wikitable" style="width: 300px; float: right; margin: 0 0 1em 1em;"
{{#default_form:Item}}
! colspan="2" style="background-color: #eee; text-align: center;" | {{{name|{{PAGENAME}}}}}
{| class="wikitable infotable" style="float:right; margin:0 10px 10px 15px; width:300px;"


|-
|-
| colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|[[File:{{{image}}}|250px]]|[[File:Placeholder.png|250px]]}}
| colspan="2" style="text-align:center; font-weight:bold;" | {{{name|{{PAGENAME}}}}}
{{#if: {{{image|}}} |
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}}
[[File:{{{image|}}}|frameless|center]] }}
 
|-
|-
! Type:
! style="text-align: left;" | Type
 
| {{#arraymap:{{{type|}}}|,|x|[[:Category:x|x]]|<br>}}
| {{{type|}}}
|-
|-
! Rarity:
! style="text-align: left;" | Rarity


| {{{rarity|}}}
| {{#arraymap:{{{rarity|}}}|,|x|[[:Category:x|x]]|<br>}}
|-
|-
! Weight:
! style="text-align: left;" | Weight


| {{{weight|}}}
| {{{weight|}}}
|-
|-
! Value:
! style="text-align: left;" | Value


| {{{value|}}}
| {{{value|}}}
|}
{{#if:{{{label1|}}}{{{label2|}}}{{{label3|}}}|
{{!}}-
{{!}} style="font-weight:bold;" {{!}} {{{label1}}}
{{!}} {{{data1|}}}
{{#if:{{{label2|}}}|{{!}}-
{{!}} style="font-weight:bold;" {{!}} {{{label2}}}
{{!}} {{{data2|}}}
}}
{{#if:{{{label3|}}}|{{!}}-
{{!}} style="font-weight:bold;" {{!}} {{{label3}}}
{{!}} {{{data3|}}}
}}
}}


{{#arraymap:{{{type|}}}|,|x|[[Category:x]]|\n}}
|}{{#arraymap:{{{type|}}}|,|x|[[Category:x]]|\n}}
{{#arraymap:{{{rarity|}}}|,|x|[[Category:x]]|\n}}
{{#arraymap:{{{rarity|}}}|,|x|[[Category:x]]|\n}}
[[Category:Items]]
</includeonly>
</includeonly>

Revision as of 01:18, 7 March 2026

This is the Infobox Item template.