Template:DKC GBA enemy: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "width:auto" to "width:75%")
m (Text replacement - "([Cc])olor-link" to "$1olor link")
Line 1: Line 1:
<includeonly>{| class="infobox-wide" style="background:saddlebrown;border-color:#000;width:75%"
<includeonly>{| class="infobox-wide" style="background:saddlebrown;border-color:#000;width:75%"
!colspan=100% style="font-size:120%;text-align:center;background:saddlebrown;color:#FFF"|{{#switch:{{{game}}}
!colspan=100% style="font-size:120%;text-align:center;background:saddlebrown;color:#FFF"|{{#switch:{{{game}}}
|dkc2=''{{color-link|white|Donkey Kong Country 2 (Game Boy Advance)|Donkey Kong Country 2}}'' ({{color-link|white|Game Boy Advance}}) enemy
|dkc2=''{{color link|white|Donkey Kong Country 2 (Game Boy Advance)|Donkey Kong Country 2}}'' ({{color link|white|Game Boy Advance}}) enemy
|#default=''{{color-link|white|Donkey Kong Country (Game Boy Advance)|Donkey Kong Country}}'' ({{color-link|white|Game Boy Advance}}) enemy}}
|#default=''{{color link|white|Donkey Kong Country (Game Boy Advance)|Donkey Kong Country}}'' ({{color link|white|Game Boy Advance}}) enemy}}
|-
|-
!colspan=100% style="font-size:125%;color:white;background:#BB8855"|{{color-link|#000|{{{name|{{PAGETITLE}}}}}|{{{altname|}}}}}
!colspan=100% style="font-size:125%;color:white;background:#BB8855"|{{color link|#000|{{{name|{{PAGETITLE}}}}}|{{{altname|}}}}}
|-
|-
|rowspan={{#if:{{{dk_attack|}}}|4|3}} style="padding:5px;text-align:center;width:20%;border:2px solid #BB8855; background:#FFE4C4"|{{{image|[[File:No image.png|100px|center|class=notpageimage]]
|rowspan={{#if:{{{dk_attack|}}}|4|3}} style="padding:5px;text-align:center;width:20%;border:2px solid #BB8855; background:#FFE4C4"|{{{image|[[File:No image.png|100px|center|class=notpageimage]]

Revision as of 18:41, December 31, 2024

This template is for enemies in Donkey Kong Country and Donkey Kong Country 2, particularly for their scrapbook data. The variables are as follows:

Syntax
|game= Defaults to Donkey Kong Country. Only the value dkc2 is supported, which changes the top heading to link to Donkey Kong Country 2.
|name= The enemy's name.
|altname= The enemy's displayed name. (optional)
|image= An image of the enemy.
|worlds= Displays which worlds the enemy appears in.
|levels= Displays which levels the enemy appears in.
|page= States which page of the scrapbook the enemy appears under.
|photo_location= How to unlock the enemy's corresponding photograph.
|dk_attack= Point value in the DK Attack mode of Donkey Kong Country only.
{{DKC GBA enemy
|game=
|name=
|image=
|worlds=
|levels=
|page=
|photo_location=
|dk_attack=
}}