Template:Boss: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(adding HP functionality)
(Make standard, add inter-niwa fields)
Line 1: Line 1:
{| class="infobox bordered" style="float:right; width:265px; text-align:left;" cellpadding="3"
{| class="infobox bordered" style="float:right; width:265px; font-size:90%; text-align:left;" cellpadding="3"
|-
! colspan="6" style="font-size:110%; text-align:center; background-color:lightblue; color:#000;" | {{{name}}}
|-
|-
! colspan="6" bgcolor="lightblue" |<big>{{{name}}}</big>
{{#if:{{{image<includeonly>|</includeonly>}}} |
|-
{{!}} colspan="6" style="text-align:center;background-color:#FFF;" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
| colspan="6" align="center" | {{{image|}}}
{{!}}-
|-
}}
| '''A boss in'''
{{#if:{{{boss<includeonly>|</includeonly>}}} |
| colspan="5" | {{{boss|}}}
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''A boss in'''
|-
{{!}} colspan="5" {{!}} {{{boss}}}
| '''Universe'''
{{!}}-
| colspan="5" | {{{universe|}}}
}}
|-
{{#if:{{{universe<includeonly>|</includeonly>}}} |
| rowspan="2" style="background-color:#EEE; color:#000;" {{!}}'''HP'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''[[Universe]]'''
| style="text-align:center;" | [[Image:EasyDifficulty.png|20px]]
{{!}} colspan="5" {{!}} {{{universe}}}
| style="text-align:center;" | [[Image:NormalDifficulty.png|20px]]
{{!}}-
| style="text-align:center;" | [[Image:HardDifficulty.png|20px]]
}}
| style="text-align:center;" | [[Image:VeryHardDifficulty.png|20px]]
{{!}} rowspan="2" style="background-color:#EEE; color:#000;" {{!}}'''HP'''
| style="text-align:center;" | [[Image:IntenseDifficulty.png|20px]]
{{!}} style="text-align:center;" {{!}} [[Image:EasyDifficulty.png|20px]]
|-
{{!}} style="text-align:center;" {{!}} [[Image:NormalDifficulty.png|20px]]
| style="text-align:center;" | {{#if:{{{ehp|}}}|{{{ehp}}}|?}}
{{!}} style="text-align:center;" {{!}} [[Image:HardDifficulty.png|20px]]
| style="text-align:center;" | {{#if:{{{nhp|}}}|{{{nhp}}}|?}}
{{!}} style="text-align:center;" {{!}} [[Image:VeryHardDifficulty.png|20px]]
| style="text-align:center;" | {{#if:{{{hhp|}}}|{{{hhp}}}|?}}
{{!}} style="text-align:center;" {{!}} [[Image:IntenseDifficulty.png|20px]]
| style="text-align:center;" | {{#if:{{{vhp|}}}|{{{vhp}}}|?}}
{{!}}-
| style="text-align:center;" | {{#if:{{{ihp|}}}|{{{ihp}}}|?}}
{{!}} style="text-align:center;" {{!}} {{#if:{{{ehp<includeonly>|</includeonly>}}}|{{{ehp}}}|?}}
|-
{{!}} style="text-align:center;" {{!}} {{#if:{{{nhp<includeonly>|</includeonly>}}}|{{{nhp}}}|?}}
{{#if:{{{points<includeonly>|</includeonly>}}} |
{{!}} style="text-align:center;" {{!}} {{#if:{{{hhp<includeonly>|</includeonly>}}}|{{{hhp}}}|?}}
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Point worth'''
{{!}} style="text-align:center;" {{!}} {{#if:{{{vhp<includeonly>|</includeonly>}}}|{{{vhp}}}|?}}
{{!}} colspan="5" {{!}} {{{points|}}}
{{!}} style="text-align:center;" {{!}} {{#if:{{{ihp<includeonly>|</includeonly>}}}|{{{ihp}}}|?}}
{{!}}-
{{#if:{{{art-bulbapedia<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#bfffbf; color:#000;" {{!}}'''Article on Bulbapedia'''
{{!}} colspan="5" {{!}}[[bulbapedia:{{{art-bulbapedia}}}|{{{art-bulbapedia}}}]]
{{!}}-
}}
{{#if:{{{art-dkwiki<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#dfbfbf; color:#000;" {{!}}'''Article on Donkey Kong Wiki'''
{{!}} colspan="5" {{!}}[[dkwiki:{{{art-dkwiki}}}|{{{art-dkwiki}}}]]
{{!}}-
}}
{{#if:{{{art-lylatwiki<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#bfbfdf; color:#000;" {{!}}'''Article on Lylat Wiki'''
{{!}} colspan="5" {{!}}[[lylatwiki:{{{art-lylatwiki}}}|{{{art-lylatwiki}}}]]
{{!}}-
}}
{{#if:{{{art-metroidwiki<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#ffdfbf; color:#000;" {{!}}'''Article on Metroid Wiki'''
{{!}} colspan="5" {{!}}[[metroidwiki:{{{art-metroidwiki}}}|{{{art-metroidwiki}}}]]
{{!}}-
}}
{{#if:{{{art-pikipedia<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#bfffbf; color:#000;" {{!}}'''Article on Pikipedia'''
{{!}} colspan="5" {{!}}[[pikipedia:{{{art-pikipedia}}}|{{{art-pikipedia}}}]]
{{!}}-
}}
{{#if:{{{art-strategywiki<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#bfbfff; color:#000;" {{!}}'''Article on StrategyWiki'''
{{!}} colspan="5" {{!}}[[strategywiki:{{{art-strategywiki}}}|{{{art-strategywiki}}}]]
{{!}}-
}}
{{#if:{{{art-supermariowiki<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#ffbfbf; color:#000;" {{!}}'''Article on Super Mario Wiki'''
{{!}} colspan="5" {{!}}[[supermariowiki:{{{art-supermariowiki}}}|{{{art-supermariowiki}}}]]
{{!}}-
}}
{{#if:{{{art-warswiki<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#ffffbf; color:#000;" {{!}}'''Article on Wars Wiki'''
{{!}} colspan="5" {{!}}[[warswiki:{{{art-warswiki}}}|{{{art-warswiki}}}]]
{{!}}-
}}
{{#if:{{{art-wikibound<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#ffdfbf; color:#000;" {{!}}'''Article on WikiBound'''
{{!}} colspan="5" {{!}}[[wikibound:{{{art-wikibound}}}|{{{art-wikibound}}}]]
{{!}}-
}}
{{#if:{{{art-wikirby<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#ffdfdf; color:#000;" {{!}}'''Article on WiKirby'''
{{!}} colspan="5" {{!}}[[wikirby:{{{art-wikirby}}}|{{{art-wikirby}}}]]
{{!}}-
}}
{{#if:{{{art-zeldawiki<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#bfffbf; color:#000;" {{!}}'''Article on Zelda Wiki'''
{{!}} colspan="5" {{!}}[[zeldawiki:{{{art-zeldawiki}}}|{{{art-zeldawiki}}}]]
{{!}}-
{{!}}-
}}
}}
|}<noinclude>{{clr}}[[Category:Infobox templates|{{PAGENAME}}]]
}}
 
|}<noinclude>
==Code==
==Usage==
<pre>{{boss
<pre>{{boss
|name        =
|name        =
|image        =
|image        =
|caption      =
|boss        =
|boss        =
|universe    =
|universe    =
Line 43: Line 100:
|ihp          =  
|ihp          =  
|points      =  
|points      =  
}}</pre></noinclude>
}}</pre>
 
[[Category:Infobox templates|Boss]]</noinclude>

Revision as of 22:21, November 16, 2010

}}
{{{name}}}
{{{image}}}
A boss in {{{boss}}}
Universe {{{universe}}}
HP EasyDifficulty.png NormalDifficulty.png HardDifficulty.png VeryHardDifficulty.png IntenseDifficulty.png
{{{ehp}}} {{{nhp}}} {{{hhp}}} {{{vhp}}} {{{ihp}}}
Article on Bulbapedia [[bulbapedia:{{{art-bulbapedia}}}|{{{art-bulbapedia}}}]]
Article on Donkey Kong Wiki [[dkwiki:{{{art-dkwiki}}}|{{{art-dkwiki}}}]]
Article on Lylat Wiki [[lylatwiki:{{{art-lylatwiki}}}|{{{art-lylatwiki}}}]]
Article on Metroid Wiki [[metroidwiki:{{{art-metroidwiki}}}|{{{art-metroidwiki}}}]]
Article on Pikipedia [[pikipedia:{{{art-pikipedia}}}|{{{art-pikipedia}}}]]
Article on StrategyWiki [[strategywiki:{{{art-strategywiki}}}|{{{art-strategywiki}}}]]
Article on Super Mario Wiki [[supermariowiki:{{{art-supermariowiki}}}|{{{art-supermariowiki}}}]]
Article on Wars Wiki [[warswiki:{{{art-warswiki}}}|{{{art-warswiki}}}]]
Article on WikiBound [[wikibound:{{{art-wikibound}}}|{{{art-wikibound}}}]]
Article on WiKirby [[wikirby:{{{art-wikirby}}}|{{{art-wikirby}}}]]
Article on Zelda Wiki [[zeldawiki:{{{art-zeldawiki}}}|{{{art-zeldawiki}}}]]

Usage

{{boss
|name         =
|image        =
|caption      =
|boss         =
|universe     =
|ehp          = 
|nhp          = 
|hhp          = 
|vhp          = 
|ihp          = 
|points       = 
}}