Template:Infobox: Difference between revisions

From RexKraft
Jump to navigation Jump to search
(Undo revision 191 by Rexmen (talk))
Tag: Undo
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch: {{{image|}}}
<includeonly>
| #default =
| title = {{{1}}}
| = {{!}}-
| image = {{{2}}}
| = {{!}} style="vertical-align: top; padding-right: 1em;" | '''[[File:{{{image}}}|thumb|{{{caption|}}}|alt=|{{{caption|}}}]]'''
| category = {{{3}}}
}}
| rarity = {{{4}}}
 
| sell_price = {{{5}}}
{| class="infobox" style="width: 300px; font-size: 90%; text-align: left; border-spacing: 2px; padding: 0; border: 1px solid #aaa; vertical-align: top; margin: 0 0 1em 1em;"
| stats = {{{6}}}
|-
| internal_id = {{{7}}}
! colspan="2" style="text-align: center; font-size: larger; background-color: #DDDDDD;" | {{{title}}}
| attributes = {{{8}}}
{{#if: {{{type|}}} |
}}</includeonly>
|-
! colspan="2" style="text-align: center; font-size: larger; background-color: #DDDDDD;" | Type: {{{type}}}
}}
{{#if: {{{description|}}} |
|-
| colspan="2" style="text-align: center; padding: 5px;" | {{{description}}}
}}
{{#if: {{{usage|}}} |
|-
| colspan="2" style="text-align: center; background-color: #DDDDDD;" | '''Usage'''
|-
| colspan="2" style="text-align: center; padding: 5px;" | {{{usage}}}
}}
{{#if: {{{obtainable|}}} |
|-
| colspan="2" style="text-align: center; background-color: #DDDDDD;" | '''Obtainable'''
|-
| colspan="2" style="text-align: center; padding: 5px;" | {{{obtainable}}}
}}
{{#if: {{{rarity|}}} |
|-
| colspan="2" style="text-align: center; background-color: #DDDDDD;" | '''Rarity'''
|-
| colspan="2" style="text-align: center; padding: 5px;" | {{{rarity}}}
}}
{{#if: {{{value|}}} |  
|-
| colspan="2" style="text-align: center; background-color: #DDDDDD;" | '''Value'''
|-
| colspan="2" style="text-align: center; padding: 5px;" | {{{value}}}
}}
{{#if: {{{ref|}}} |
|-
| colspan="2" style="text-align: center; background-color: #DDDDDD;" | '''References'''
|-
| colspan="2" style="text-align: center; padding: 5px;" | {{{ref}}}
}}
|}

Latest revision as of 07:05, 13 April 2024