Template:Infobox Item: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (removed extra brackets) |
m (Text replacement - "↵↵|}" to " |}") |
||
(40 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{| | {| 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=" | |||
|- | |- | ||
<includeonly>|</includeonly> | {{#if:{{{image<includeonly>|</includeonly>}}} | | ||
{{!}} colspan=" | {{!}} colspan="2" style="text-align:center; background:#fff" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br>{{{caption}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{series<includeonly>|</includeonly>}}} | | }} | ||
{{!}} | {{#if:{{{universe|{{{series<includeonly>|</includeonly>}}}}}} | | ||
{{!}}{{{series}}} | {{!}} style="background:#eee" {{!}}'''[[Universe]]''' | ||
{{!}}{{{universe|{{{series}}}}}} | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{game1|{{{appearance|{{{appearances|{{{games<includeonly>|</includeonly>}}}}}}}}}}}} | | |||
{{!}} style="background:#eee" {{!}}'''Appears in''' | |||
{{!}}{{#if:{{{game2|}}} | |||
|''[[{{{game1|}}}]]''<br>''[[{{{game2|}}}]]''{{#if:{{{game3|}}}|<br>''[[{{{game3|}}}]]''{{#if:{{{game4|}}}|<br>''[[{{{game4|}}}]]''{{#if:{{{game5|}}}|<br>''[[{{{game5|}}}]]''}}}}}} | |||
|{{#if:{{{game1|}}}|''[[{{{game1|}}}]]''|{{{games|{{{game|{{{appearances|{{{appearance}}} }}} }}} }}} | |||
}} }}}} | |||
{{!}}- | |||
{{#if:{{{item class<includeonly>|</includeonly>}}} | | {{#if:{{{item class<includeonly>|</includeonly>}}} | | ||
{{!}} | {{!}} style="background:#eee" {{!}}'''Item class''' | ||
{{!}}{{{item class}}} | {{!}}{{{item class}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{requirements<includeonly>|</includeonly>}}} | | {{#if:{{{requirements<includeonly>|</includeonly>}}} | | ||
{{!}} | {{!}} style="background:#eee" {{!}}'''Requirements''' | ||
{{!}}{{{requirements}}} | {{!}}{{{requirements}}} | ||
{{!}}- | {{!}}- | ||
}} | |||
{{#if:{{{interwiki<includeonly>|</includeonly>}}} | | |||
{{InterwikiInfobox|{{{interwikiname}}}|{{{interwiki}}}|{{{interwikipage}}}|{{{interwikipage}}}}} | |||
}} | }} | ||
|}<noinclude> | |}<noinclude> | ||
Line 37: | Line 42: | ||
| series = | | series = | ||
| item class = | | 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 = | | requirements = | ||
|interwiki = | |||
|interwikiname = | |||
|interwikipage = | |||
}}</pre> | }}</pre> | ||
All fields | 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. | ||
[[Category: | |||
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> |
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.