Template:Infobox Enemy: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (testing...)
m (Text replacement - ";background" to "; background")
 
(20 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="infobox bordered" style="float:right; width:265px; font-size:90%; text-align:left;" cellpadding="3"
{| class="infobox bordered" style="width:265px" cellpadding="3"
|-
! colspan="2" style="font-size:110%; text-align:center; background:#7B68EE" | {{{name}}}
! colspan="6" style="font-size:110%; text-align:center; background-color:#7B68EE; color:#000;" | {{{name}}}
|-
|-
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="6" 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<includeonly>|</includeonly>}}} |
{{#if:{{{universe<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''[[Universe]]'''
{{!}} style="background:#eee" {{!}}'''[[Universe]]'''
{{!}} colspan="5" {{!}} {{{universe}}}
{{!}} {{{universe}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{level<includeonly>|</includeonly>}}} |
{{#if:{{{level<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Level(s) appears in'''
{{!}} style="background:#eee" {{!}}'''Level(s) appears in'''
{{!}} colspan="5" {{!}} {{{level}}}
{{!}} {{{level}}}
{{!}}-
{{!}}-
}}
}}
{{!}} rowspan="2" style="background-color:#EEE; color:#000;" {{!}}'''HP'''
{{#if:{{{points<includeonly>|</includeonly>}}} |
{{!}} style="text-align:center;" {{!}} [[Image:EasyDifficulty.svg|20px]]
{{!}} style="background:#eee" {{!}}'''Point worth'''
{{!}} style="text-align:center;" {{!}} [[Image:NormalDifficulty.svg|20px]]
{{!}} {{{points}}}
{{!}} style="text-align:center;" {{!}} [[Image:HardDifficulty.svg|20px]]
{{!}} style="text-align:center;" {{!}} [[Image:VeryHardDifficulty.svg|20px]]
{{!}} style="text-align:center;" {{!}} [[Image:IntenseDifficulty.svg|20px]]
{{!}}-
{{!}}-
{{!}} style="text-align:center;" {{!}} {{#if:{{{ehp<includeonly>|</includeonly>}}}|{{{ehp}}}|?}}
{{!}} style="text-align:center;" {{!}} {{#if:{{{nhp<includeonly>|</includeonly>}}}|{{{nhp}}}|?}}
{{!}} style="text-align:center;" {{!}} {{#if:{{{hhp<includeonly>|</includeonly>}}}|{{{hhp}}}|?}}
{{!}} style="text-align:center;" {{!}} {{#if:{{{vhp<includeonly>|</includeonly>}}}|{{{vhp}}}|?}}
{{!}} style="text-align:center;" {{!}} {{#if:{{{ihp<includeonly>|</includeonly>}}}|{{{ihp}}}|?}}
}}
}}
{{!}}-
{{#if:{{{interwiki<includeonly>|</includeonly>}}} |
{{#if:{{{points<includeonly|</includeonly>}}} |
{{InterwikiInfobox|{{{interwikiname}}}|{{{interwiki}}}|{{{interwikipage|{{PAGENAME}}}}}|{{{interwikipage|{{PAGENAME}}}}}}}
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Point worth'''
{{!}} colspan="5" {{!}} {{{points}}}
}}
}}
|}<noinclude>{{clr}}
|}<noinclude>
==Usage==
==Usage==
<pre>{{Infobox Enemy
<pre>{{Infobox Enemy
|name         =  
|name         =  
|image       =  
|image         =  
|caption     =  
|caption       =  
|universe     =  
|universe     =  
|level       =  
|level         =  
|ehp          =  
|points        =  
|nhp          =  
|interwiki    =  
|hhp          =  
|interwikiname =  
|vhp          =
|interwikipage =  
|ihp          =
|points      =  
}}</pre>
}}</pre>



Latest revision as of 12:26, May 10, 2023

{{{name}}}
{{{image}}}
Universe {{{universe}}}
Level(s) appears in {{{level}}}
Point worth {{{points}}}
Article on {{{interwikiname}}} [[{{{interwiki}}}:Infobox Enemy|Infobox Enemy]]

Usage

{{Infobox Enemy
|name          = 
|image         = 
|caption       = 
|universe      = 
|level         = 
|points        = 
|interwiki     = 
|interwikiname = 
|interwikipage = 
}}

All fields other than "name" are optional. Use for common enemies in the SSE, Melee's Adventure Mode, etc.