Template:Infobox Item: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
m (Text replacement - "↵↵|}" to " |}")
 
(27 intermediate revisions by 5 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|}}}
|{{G|{{{game1|}}} }}<br>{{G|{{{game2|}}} }}{{#if:{{{game3|}}}|<br>{{G|{{{game3|}}}}}}}
|''[[{{{game1|}}}]]''<br>''[[{{{game2|}}}]]''{{#if:{{{game3|}}}|<br>''[[{{{game3|}}}]]''{{#if:{{{game4|}}}|<br>''[[{{{game4|}}}]]''{{#if:{{{game5|}}}|<br>''[[{{{game5|}}}]]''}}}}}}
|{{#if:{{{game1|}}}|{{G|{{{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}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{art-bulbapedia<includeonly>|</includeonly>}}} |
{{#if:{{{interwiki<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#bfffbf; color:#000;" {{!}}'''Article on Bulbapedia'''
{{InterwikiInfobox|{{{interwikiname}}}|{{{interwiki}}}|{{{interwikipage}}}|{{{interwikipage}}}}}
{{!}}[[bulbapedia:{{{art-bulbapedia}}}|{{{art-bulbapedia}}}]]
{{!}}-
}}
{{#if:{{{art-dkwiki<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#dfbfbf; color:#000;" {{!}}'''Article on Donkey Kong Wiki'''
{{!}}[[dkwiki:{{{art-dkwiki}}}|{{{art-dkwiki}}}]]
{{!}}-
}}
{{#if:{{{art-lylatwiki<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#bfbfdf; color:#000;" {{!}}'''Article on Lylat Wiki'''
{{!}}[[lylatwiki:{{{art-lylatwiki}}}|{{{art-lylatwiki}}}]]
{{!}}-
}}
{{#if:{{{art-metroidwiki<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#ffdfbf; color:#000;" {{!}}'''Article on Metroid Wiki'''
{{!}}[[metroidwiki:{{{art-metroidwiki}}}|{{{art-metroidwiki}}}]]
{{!}}-
}}
{{!}}-
{{#if:{{{art-nookipedia|{{{art-nookipedia<includeonly>|</includeonly>}}}}}} |
{{!}} style="background-color:#ffdfbf; color:#000;" {{!}}'''Article on Nookipedia'''
{{!}}[[nookipedia:{{{art-nookipedia|{{{art-nookipedia}}}}}}|{{{art-nookipedia|{{{art-nookipedia}}}}}}]]
{{!}}-
}}
{{#if:{{{art-pikipedia<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#bfffbf; color:#000;" {{!}}'''Article on Pikipedia'''
{{!}}[[pikipedia:{{{art-pikipedia}}}|{{{art-pikipedia}}}]]
{{!}}-
}}
{{#if:{{{art-supermariowiki<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#ffbfbf; color:#000;" {{!}}'''Article on Super Mario Wiki'''
{{!}}[[supermariowiki:{{{art-supermariowiki}}}|{{{art-supermariowiki}}}]]
{{!}}-
}}
{{#if:{{{art-wikibound<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#ffdfbf; color:#000;" {{!}}'''Article on WikiBound'''
{{!}}[[wikibound:{{{art-wikibound}}}|{{{art-wikibound}}}]]
{{!}}-
}}
}}
{{#if:{{{art-wikirby<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#ffdfdf; color:#000;" {{!}}'''Article on WiKirby'''
{{!}}[[wikirby:{{{art-wikirby}}}|{{{art-wikirby}}}]]
{{!}}-
}}
{{#if:{{{art-zeldawiki<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#bfffbf; color:#000;" {{!}}'''Article on Zelda Wiki'''
{{!}}[[zeldawiki:{{{art-zeldawiki}}}|{{{art-zeldawiki}}}]]
{{!}}-
}}
|}<noinclude>
|}<noinclude>


Line 92: Line 42:
| series      =  
| series      =  
| item class  =  
| item class  =  
| game1        = ssb *or* melee *or* brawl
| game1        = ssb *or* melee *or* brawl *or* ssb4 *or* ultimate
| game2        = ssb *or* melee *or* brawl
| game2        = ssb *or* melee *or* brawl *or* ssb4 *or* ultimate
| game3        = ssb *or* melee *or* brawl
| 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 =  
| requirements =  
|interwiki    =
|interwikiname =
|interwikipage =
}}</pre>
}}</pre>
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 os playing on the Green Greens stage
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 <code>interwiki</code> slot, the target wiki's name in the <code>interwikiname</code> slot, and the name of the target page in the <code>interwikipage</code> slot.
[[Category:Infobox templates|Item]]</noinclude>
[[Category:Infobox templates|Item]]</noinclude>

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.