Template:Infobox: Difference between revisions

From RexKraft
Jump to navigation Jump to search
(Created page with "{{#switch: {{{image|}}} | #default = | = {{!}}- | = {{!}} style="vertical-align: top; padding-right: 1em;" | '''[[File:{{{image}}}|thumb|{{{caption|}}}|alt=|{{{caption|}}}]]''' }} {| 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;" |- ! colspan="2" style="text-align: center; font-size: larger; background-color: #DDDDDD;" | {{{title}}} {{#if: {{{type...")
 
No edit summary
Tag: Reverted
Line 1: Line 1:
{{#switch: {{{image|}}}
{{#switch: {{{image|}}}
| #default =  
| #default =  
| = {{!}}-
| = |-
| = {{!}} style="vertical-align: top; padding-right: 1em;" | '''[[File:{{{image}}}|thumb|{{{caption|}}}|alt=|{{{caption|}}}]]'''
| = | style="vertical-align: top; padding-right: 1em;" |
[[File:{{{image}}}|thumb|alt=|{{{caption|}}}|Caption for the image]]
}}
}}


{| 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;"
'''{{PAGENAME}}'''
|-
 
! colspan="2" style="text-align: center; font-size: larger; background-color: #DDDDDD;" | {{{title}}}
{{#if: {{{type|}}} |  
{{#if: {{{type|}}} |  
|-
Type: {{{type}}}
! colspan="2" style="text-align: center; font-size: larger; background-color: #DDDDDD;" | Type: {{{type}}}
}}
}}
{{#if: {{{description|}}} |  
{{#if: {{{description|}}} |  
|-
{{{description}}}
| colspan="2" style="text-align: center; padding: 5px;" | {{{description}}}
}}
}}
{{#if: {{{usage|}}} |  
{{#if: {{{usage|}}} |  
|-
Usage:
| colspan="2" style="text-align: center; background-color: #DDDDDD;" | '''Usage'''
{{{usage}}}
|-
| colspan="2" style="text-align: center; padding: 5px;" | {{{usage}}}
}}
}}
{{#if: {{{obtainable|}}} |  
{{#if: {{{obtainable|}}} |  
|-
Obtainable:
| colspan="2" style="text-align: center; background-color: #DDDDDD;" | '''Obtainable'''
{{{obtainable}}}
|-
| colspan="2" style="text-align: center; padding: 5px;" | {{{obtainable}}}
}}
}}
{{#if: {{{rarity|}}} |  
{{#if: {{{rarity|}}} |  
|-
Rarity:
| colspan="2" style="text-align: center; background-color: #DDDDDD;" | '''Rarity'''
{{{rarity}}}
|-
| colspan="2" style="text-align: center; padding: 5px;" | {{{rarity}}}
}}
}}
{{#if: {{{value|}}} |  
{{#if: {{{value|}}} |  
|-
Value:
| colspan="2" style="text-align: center; background-color: #DDDDDD;" | '''Value'''
{{{value}}}
|-
| colspan="2" style="text-align: center; padding: 5px;" | {{{value}}}
}}
}}
{{#if: {{{ref|}}} |  
 
|-
{{#if: {{{references|}}} |  
| colspan="2" style="text-align: center; background-color: #DDDDDD;" | '''References'''
References:
|-
{{{references}}}
| colspan="2" style="text-align: center; padding: 5px;" | {{{ref}}}
}}
}}
|}

Revision as of 02:54, 12 April 2024


Infobox