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.)
(should hopefully allow the addition of a fifth game)
Line 15: Line 15:
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Appears in'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''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}}} }}} }}} }}}
}} }}}}
}} }}}}
Line 44: Line 44:
| 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    =  

Revision as of 09:37, June 15, 2018

{{{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.