Template:Boss: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(adding HP functionality)
(They is there extra }}?)
Tags: Mobile edit Advanced mobile edit
 
(33 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{| class="infobox bordered" style="float:right; width:265px; text-align:left;" cellpadding="3"
{| class="infobox bordered" style="width:264px" cellpadding="3"
|-
! colspan="2" style="font-size:110%; text-align:center; background:lightblue" | {{{name}}}
! colspan="6" bgcolor="lightblue" |<big>{{{name}}}</big>
|-
| colspan="6" align="center" | {{{image|}}}
|-
| '''A boss in'''
| colspan="5" | {{{boss|}}}
|-
| '''Universe'''
| colspan="5" | {{{universe|}}}
|-
| rowspan="2" style="background-color:#EEE; color:#000;" {{!}}'''HP'''
| style="text-align:center;" | [[Image:EasyDifficulty.png|20px]]
| style="text-align:center;" | [[Image:NormalDifficulty.png|20px]]
| style="text-align:center;" | [[Image:HardDifficulty.png|20px]]
| style="text-align:center;" | [[Image:VeryHardDifficulty.png|20px]]
| style="text-align:center;" | [[Image:IntenseDifficulty.png|20px]]
|-
| style="text-align:center;" | {{#if:{{{ehp|}}}|{{{ehp}}}|?}}
| style="text-align:center;" | {{#if:{{{nhp|}}}|{{{nhp}}}|?}}
| style="text-align:center;" | {{#if:{{{hhp|}}}|{{{hhp}}}|?}}
| style="text-align:center;" | {{#if:{{{vhp|}}}|{{{vhp}}}|?}}
| style="text-align:center;" | {{#if:{{{ihp|}}}|{{{ihp}}}|?}}
|-
|-
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center; background:#fff" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}
{{!}}-
{{#if:{{{game1|{{{boss<includeonly>|</includeonly>}}}}}} |
{{!}} style="background:#eee" {{!}}'''A boss in'''
{{!}} {{#if:{{{game2|}}}
|''[[{{{game1|}}}]]''<br>''[[{{{game2|}}}]]''{{#if:{{{game3|}}}|<br>''[[{{{game3|}}}]]''}}{{#if:{{{game4|}}}|<br>''[[{{{game4|}}}]]''}}
|{{#if:{{{game1|}}}|''[[{{{game1|}}}]]''|{{{games|{{{game|{{{boss}}} }}} }}}
}} }}
{{!}}-
}}
{{#if:{{{universe<includeonly>|</includeonly>}}} |
{{!}} style="background:#eee" {{!}}'''[[Universe]]'''
{{!}} {{{universe}}}
{{!}}-
}}
{{#if:{{{points<includeonly>|</includeonly>}}} |
{{#if:{{{points<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Point worth'''
{{!}} style="background:#eee" {{!}}'''Point worth'''
{{!}} colspan="5" {{!}} {{{points|}}}
{{!}} {{{points}}}
{{!}}-
{{!}}-
}}
}}
|}<noinclude>{{clr}}[[Category:Infobox templates|{{PAGENAME}}]]
{{#if:{{{species<includeonly>|</includeonly>}}} |
 
{{!}} style="background:#eee" {{!}}'''Species'''
==Code==
{{!}}{{{species}}}
{{!}}-
}}
{{#if:{{{gender<includeonly>|</includeonly>}}} |
{{!}} style="background:#eee" {{!}}'''Gender'''
{{!}}{{{gender}}}
{{!}}-
}}
{{#if:{{{console<includeonly>|</includeonly>}}} |
{{!}} style="background:#eee" {{!}}'''Console of origin'''
{{!}} {{{console}}}
{{!}}-
}}
{{#if:{{{location|{{{homeworld<includeonly>|</includeonly>}}}}}} |
{{!}} style="background:#eee" {{!}}'''Location'''
{{!}} {{{location|{{{homeworld}}}}}}
{{!}}-
}}
{{#if:{{{voiceactor<includeonly>|</includeonly>}}} |
{{!}} style="background:#E6E6FA" {{!}}'''Voice actor'''
{{!}}{{{voiceactor}}}
{{!}}-
}}
}}
{{#if:{{{interwiki<includeonly>|</includeonly>}}} |
{{InterwikiInfobox|{{{interwikiname}}}|{{{interwiki}}}|{{{interwikipage}}}|{{{name}}}}}
}}
|}<noinclude>
==Usage==
<pre>{{boss
<pre>{{boss
|name        =
|name        =
|image        =
|image        =
|caption      =
|boss        =
|boss        =
|universe    =
|universe    =
|ehp          =
|nhp          =
|hhp          =
|vhp          =
|ihp          =
|points      =  
|points      =  
}}</pre></noinclude>
|species      =
|gender      =
|interwiki    =
|interwikiname =
|interwikipage =
|voiceactor =
}}</pre>
 
[[Category:Infobox templates|Boss]]</noinclude>

Latest revision as of 08:05, May 31, 2024

{{{name}}}
{{{image}}}
A boss in {{{boss}}}
Universe {{{universe}}}
Point worth {{{points}}}
Species {{{species}}}
Gender {{{gender}}}
Console of origin {{{console}}}
Location {{{homeworld}}}
Voice actor {{{voiceactor}}}
Article on {{{interwikiname}}} [[{{{interwiki}}}:{{{interwikipage}}}|{{{name}}}]]

Usage

{{boss
|name         =
|image        =
|caption      =
|boss         =
|universe     =
|points       = 
|species      =
|gender       =
|interwiki     = 
|interwikiname = 
|interwikipage = 
|voiceactor =
}}