Template:WL4 enemy: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
m (Text replacement - "width:auto" to "width:75%")
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox-wide" style="background:gainsboro;border-color:#000;width:64%"
<includeonly>{| class="infobox-wide" style="background:gainsboro;border-color:#000;width:75%"
!colspan=100% style="font-size:125%;color:white;background:gainsboro"|{{color-link|black|{{{name|{{PAGETITLE}}}}}|{{{altname|}}}}}
!colspan=100% style="font-size:125%;color:white;background:gainsboro"|{{color-link|black|{{{name|{{PAGETITLE}}}}}|{{{altname|}}}}}
|-
|-
|rowspan=3 style="padding:5px;text-align:center;width:20%;border:2px solid darkgray; background:whitesmoke"|{{{image|[[File:Nocoverart.png|100px|center|class=notpageimage]]
|rowspan=3 style="padding:5px;text-align:center;width:20%;border:2px solid darkgray; background:whitesmoke"|{{{image|[[File:No image.png|100px|center|class=notpageimage]]
[[Special:Upload|<small>Upload one!</small>]]}}}
[[Special:Upload|<small>Upload one!</small>]]}}}
|-
|-
|width=6% style="border-bottom:3px solid darkgray;border-top:2px solid darkgray;background:whitesmoke"|'''Worlds'''
|width=6% style="border-bottom:1px solid darkgray;border-top:2px solid darkgray;background:whitesmoke"|'''Worlds'''
|width=12% style="border-bottom:3px solid darkgray;border-top:2px solid darkgray;border-right:2px solid darkgray;background:whitesmoke"|{{{worlds|}}}
|width=12% style="border-bottom:1px solid darkgray;border-top:2px solid darkgray;border-right:2px solid darkgray;background:whitesmoke"|{{{worlds|}}}
|width=6% style="border-bottom:3px solid darkgray;border-top:2px solid darkgray;background:whitesmoke"|'''Levels'''
|width=6% style="border-bottom:1px solid darkgray;border-top:2px solid darkgray;background:whitesmoke"|'''Levels'''
|width=12% style="border-bottom:3px solid darkgray;border-top:2px solid darkgray;border-right:2px solid darkgray;background:whitesmoke"|{{{levels|}}}
|width=12% style="border-bottom:1px solid darkgray;border-top:2px solid darkgray;border-right:2px solid darkgray;background:whitesmoke"|{{{levels|}}}
|-
|-
|style="border-bottom:3px solid darkgray;background:whitesmoke"|'''Game modes'''
|style="border-bottom:2px solid darkgray;border-top:1px solid darkgray;background:whitesmoke"|'''Game modes'''
|style="border-bottom:3px solid darkgray;border-right:2px solid darkgray;background:whitesmoke"|<nowiki/>
|style="border-bottom:2px solid darkgray;border-top:1px solid darkgray;border-right:2px solid darkgray;background:whitesmoke"|<nowiki/>
{{#switch:{{{modes}}}
{{#switch:{{{modes}}}
|Normal=[[File:WL4-Normal Mode Sprite.png|Normal]]
|Normal=[[File:WL4-Normal Mode Sprite.png|Normal]]
Line 21: Line 21:
|#default=[[File:WL4-Normal Mode Sprite.png|Normal|link=Wario Land 4#Game mode]] [[File:WL4-Hard Mode Sprite.png|Hard|link=Wario Land 4#Game mode]] [[File:WL4-S-Hard Mode Sprite.png|S-Hard|link=Wario Land 4#Game mode]]
|#default=[[File:WL4-Normal Mode Sprite.png|Normal|link=Wario Land 4#Game mode]] [[File:WL4-Hard Mode Sprite.png|Hard|link=Wario Land 4#Game mode]] [[File:WL4-S-Hard Mode Sprite.png|S-Hard|link=Wario Land 4#Game mode]]
}}
}}
|style="border-bottom:3px solid darkgray;background:whitesmoke"|'''How to defeat'''
|style="border-bottom:2px solid darkgray;border-top:1px solid darkgray;background:whitesmoke"|'''Spoils'''
|style="border-bottom:3px solid darkgray;border-right:2px solid darkgray;background:whitesmoke"|{{{defeat|}}}
|style="border-bottom:2px solid darkgray;border-top:1px solid darkgray;border-right:2px solid darkgray;background:whitesmoke"|{{#switch:{{{spoils}}}
|10=[[File:WL4 Sprite - Small Coin.png|link=Coin (Wario Land 4)]] 10 points
|20=[[File:WL4 Sprite - Small Coin.png|link=Coin (Wario Land 4)]] [[File:WL4 Sprite - Small Coin.png|link=Coin (Wario Land 4)]] 20 points
|50=[[File:WL4 Sprite - Bronze Coin.png|link=Coin (Wario Land 4)]] 50 points
|100=[[File:WL4 Sprite - Silver Coin.png|link=Coin (Wario Land 4)]] 100 points
|200=[[File:WL4 Sprite - Silver Coin.png|link=Coin (Wario Land 4)]] [[File:WL4 Sprite - Silver Coin.png|link=Coin (Wario Land 4)]] 200 points
|#default=N/A
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
This template is for enemies in ''[[Wario Land 4]]''. It is not a template for enemies in general because it outputs which game modes the enemy appears in.
This template is for enemies in ''[[Wario Land 4]]''.


{|class=wikitable style="width:80%;float:right;margin:0 0 1em 1em"
{|class=wikitable style="width:75%;float:right;margin:0 0 1em 1em"
!colspan=2|Syntax
!colspan=2|Syntax
|-
|-
Line 47: Line 54:
*<code>HS</code> (if it's in Hard and S-Hard mode)
*<code>HS</code> (if it's in Hard and S-Hard mode)
|-
|-
|<nowiki>|</nowiki>defeat= || How to defeat the enemy. It there are two or more methods, list them on new lines using an asterisk (*).
|<nowiki>|</nowiki>spoils= || What the enemy drops when defeated; displays N/A by default. Supported values: <code>10</code>, <code>20</code>, <code>50</code>, <code>100</code>, <code>200</code>
|}
|}


Line 57: Line 64:
|levels=
|levels=
|modes=
|modes=
|defeat=
|spoils=
}}
}}
</pre>
</pre>


[[Category:Horizontal infoboxes]]</noinclude>
[[Category:Horizontal infoboxes]]</noinclude>

Latest revision as of 13:19, August 28, 2024

This template is for enemies in Wario Land 4.

Syntax
|name= The enemy's name.
|altname= The enemy's displayed name. (optional)
|image= An image of the enemy.
|worlds= Shows which worlds the enemy appears in.
|levels= Shows which levels the enemy appears in.
|modes= Shows whether the enemy appears in Normal, Hard, or S-Hard, one of the two, or all three. Shows a sprite of each of the three modes by default. Only the following variables can be entered:
  • Normal (if the enemy appears in Normal mode only)
  • Hard (if it's in Hard mode only)
  • S-Hard (if it's in S-Hard mode only)
  • NH (if it's in Normal and Hard mode)
  • NS (if it's in Normal and S-Hard mode)
  • HS (if it's in Hard and S-Hard mode)
|spoils= What the enemy drops when defeated; displays N/A by default. Supported values: 10, 20, 50, 100, 200
{{WL4 enemy
|name=
|image=
|worlds=
|levels=
|modes=
|spoils=
}}