Template:Infobox Item: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Noticed in some item infoboxes that if two or three games are listed, we would see empty square brackets. Hopefully this fixes it.)
m (Text replacement - "↵↵|}" to " |}")
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox bordered" style="float:right; width: 23em; min-width: 18em; font-size: 90%; text-align: left;" cellpadding="3"   
{| class="infobox bordered" style="width:23em; min-width:18em" cellpadding="3"   
|-
! colspan="2" style="font-size:110%; text-align:center; background:#6fbfff" | {{#if:{{{name|{{{title<includeonly>|</includeonly>}}}}}}|{{{name|{{{title}}}}}}|{{PAGENAME}}}}
! colspan="2" style="font-size:110%; text-align:center; background-color:#6fbfff; color:#000;" | {{#if:{{{name|{{{title<includeonly>|</includeonly>}}}}}}|{{{name|{{{title}}}}}}|{{PAGENAME}}}}
|-
|-
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;background-color:#FFF;" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
{{!}} colspan="2" style="text-align:center; background:#fff" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{universe|{{{series<includeonly>|</includeonly>}}}}}} |
{{#if:{{{universe|{{{series<includeonly>|</includeonly>}}}}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''[[Universe]]'''
{{!}} style="background:#eee" {{!}}'''[[Universe]]'''
{{!}}{{{universe|{{{series}}}}}}
{{!}}{{{universe|{{{series}}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{game1|{{{appearance|{{{appearances|{{{games<includeonly>|</includeonly>}}}}}}}}}}}} |
{{#if:{{{game1|{{{appearance|{{{appearances|{{{games<includeonly>|</includeonly>}}}}}}}}}}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Appears in'''
{{!}} style="background:#eee" {{!}}'''Appears in'''
{{!}}{{#if:{{{game2|}}}
{{!}}{{#if:{{{game2|}}}
|''[[{{{game1|}}}]]''<br>''[[{{{game2|}}}]]''{{#if:{{{game3|}}}|<br>''[[{{{game3|}}}]]''{{#if:{{{game4|}}}|<br>''[[{{{game4|}}}]]''}}}}
|''[[{{{game1|}}}]]''<br>''[[{{{game2|}}}]]''{{#if:{{{game3|}}}|<br>''[[{{{game3|}}}]]''{{#if:{{{game4|}}}|<br>''[[{{{game4|}}}]]''{{#if:{{{game5|}}}|<br>''[[{{{game5|}}}]]''}}}}}}
|{{#if:{{{game1|}}}|''[[{{{game1|}}}]]''|{{{games|{{{game|{{{appearances|{{{appearance}}} }}} }}} }}}
|{{#if:{{{game1|}}}|''[[{{{game1|}}}]]''|{{{games|{{{game|{{{appearances|{{{appearance}}} }}} }}} }}}
}} }}}}
}} }}}}
{{!}}-
{{!}}-
{{#if:{{{item class<includeonly>|</includeonly>}}} |
{{#if:{{{item class<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Item class'''
{{!}} style="background:#eee" {{!}}'''Item class'''
{{!}}{{{item class}}}
{{!}}{{{item class}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{requirements<includeonly>|</includeonly>}}} |
{{#if:{{{requirements<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Requirements'''
{{!}} style="background:#eee" {{!}}'''Requirements'''
{{!}}{{{requirements}}}
{{!}}{{{requirements}}}
{{!}}-
{{!}}-
Line 32: Line 31:
{{InterwikiInfobox|{{{interwikiname}}}|{{{interwiki}}}|{{{interwikipage}}}|{{{interwikipage}}}}}
{{InterwikiInfobox|{{{interwikiname}}}|{{{interwiki}}}|{{{interwikipage}}}|{{{interwikipage}}}}}
}}
}}
|}<noinclude>
|}<noinclude>


Line 44: Line 42:
| series      =  
| series      =  
| item class  =  
| item class  =  
| game1        = ssb *or* melee *or* brawl *or* ssb4
| game1        = ssb *or* melee *or* brawl *or* ssb4 *or* ultimate
| game2        = ssb *or* melee *or* brawl *or* ssb4
| game2        = ssb *or* melee *or* brawl *or* ssb4 *or* ultimate
| game3        = ssb *or* melee *or* brawl *or* ssb4
| game3        = ssb *or* melee *or* brawl *or* ssb4 *or* ultimate
| game4        = ssb *or* melee *or* brawl *or* ssb4
| game4        = ssb *or* melee *or* brawl *or* ssb4 *or* ultimate
| game5        = ssb *or* melee *or* brawl *or* ssb4 *or* ultimate
| requirements =  
| requirements =  
|interwiki    =  
|interwiki    =  

Latest revision as of 13:50, June 29, 2023

{{{title}}}
{{{image}}}
Universe {{{series}}}
Appears in {{{appearance}}}
Item class {{{item class}}}
Requirements {{{requirements}}}
Article on {{{interwikiname}}} [[{{{interwiki}}}:{{{interwikipage}}}|{{{interwikipage}}}]]


Usage

{{Infobox Item
| title        = 
| image        = 
| caption      = 
| series       = 
| item class   = 
| game1        = ssb *or* melee *or* brawl *or* ssb4 *or* ultimate
| game2        = ssb *or* melee *or* brawl *or* ssb4 *or* ultimate
| game3        = ssb *or* melee *or* brawl *or* ssb4 *or* ultimate
| game4        = ssb *or* melee *or* brawl *or* ssb4 *or* ultimate
| game5        = ssb *or* melee *or* brawl *or* ssb4 *or* ultimate
| requirements = 
|interwiki     = 
|interwikiname = 
|interwikipage = 
}}

All fields are optional (title will use the page title if not explicitly filled in). For the item class field put what it's usage is, such as: projectile, melee weapon, pokeball, KO item, etc. Requirements applies to area specific items such as the apple's requirement of playing on the Green Greens stage.

To add an interwiki link, put the interwiki prefix in the interwiki slot, the target wiki's name in the interwikiname slot, and the name of the target page in the interwikipage slot.