Template:DKC GBA enemy: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "([Cc])olor-link" to "$1olor link")
No edit summary
Tags: Mobile edit Advanced mobile edit
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}}}
|dkc3=''{{color link|white|Donkey Kong Country 3 (Game Boy Advance)|Donkey Kong Country 3}}'' ({{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
|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}}
Line 6: Line 7:
!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|}}}|3| {{#if:{{{page|}}}{{{photo_location|}}}|2|1}}}} style="padding:5px;text-align:center;width:20%;border:2px solid #BB8855; background:#FFE4C4"|{{{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 #BB8855;border-top:2px solid #BB8855;background:#FFF5EE"|'''{{hover|Worlds|{{#switch:{{{game}}}|dkc2|dkc3=The same as in the original version unless noted otherwise|#default=The same as in the original and Game Boy Color versions unless noted otherwise}}}}'''
|width=6% style="border-bottom:3px solid #BB8855;border-top:2px solid #BB8855;background:#FFF5EE"|'''{{hover|Worlds|The same as in the original and Game Boy Color versions unless noted otherwise}}'''
|width=12% style="border-bottom:3px solid #BB8855;border-top:2px solid #BB8855;border-right:2px solid #BB8855;background:#FFF5EE"|{{{worlds|}}}
|width=12% style="border-bottom:3px solid #BB8855;border-top:2px solid #BB8855;border-right:2px solid #BB8855;background:#FFF5EE"|{{{worlds|}}}
|rowspan={{#if:{{{dk_attack|}}}|2|1}} width=6% style="border-bottom:3px solid #BB8855;border-top:2px solid #BB8855;background:#FFF5EE"|'''{{hover|Levels|The same as in the original and Game Boy Color versions unless noted otherwise}}'''
|rowspan={{#if:{{{dk_attack|}}}|2|1}} width=6% style="border-bottom:3px solid #BB8855;border-top:2px solid #BB8855;background:#FFF5EE"|'''{{hover|Levels|{{#switch:{{{game}}}|dkc2|dkc3=The same as in the original version unless noted otherwise|#default=The same as in the original and Game Boy Color versions unless noted otherwise}}}}'''
|rowspan={{#if:{{{dk_attack|}}}|2|1}} width=12% style="border-bottom:3px solid #BB8855;border-top:2px solid #BB8855;border-right:2px solid #BB8855;background:#FFF5EE"|{{{levels|}}}
|rowspan={{#if:{{{dk_attack|}}}|2|1}} width=12% style="border-bottom:3px solid #BB8855;border-top:2px solid #BB8855;border-right:2px solid #BB8855;background:#FFF5EE"|{{{levels|}}}
|-
{{#if:{{{page|}}}|
|style="border-bottom:3px solid #BB8855;background:#FFF5EE"|'''Scrapbook page'''
{{!-}}
|style="border-bottom:3px solid #BB8855;border-right:2px solid #BB8855;background:#FFF5EE"|{{#ifeq:{{{game|}}}|dkc2|[[:File:DKC2 Scrapbook Page{{{page}}}.png|{{{page}}}]]|[[:File:DKC Scrapbook Page{{{page}}}.png|{{{page}}}]]}}<nowiki/>
{{!}}style="border-bottom:3px solid #BB8855;background:#FFF5EE"{{!}}'''Scrapbook page'''
{{!}}style="border-bottom:3px solid #BB8855;border-right:2px solid #BB8855;background:#FFF5EE"{{!}}{{#ifeq:{{{game|}}}|dkc2|[[:File:DKC2 Scrapbook Page{{{page}}}.png|{{{page}}}]]|[[:File:DKC Scrapbook Page{{{page}}}.png|{{{page}}}]]}}<nowiki/>
}}
{{#if:{{{dk_attack|}}}|{{!}}-}}
{{#if:{{{dk_attack|}}}|{{!}}-}}
|style="border-bottom:3px solid #BB8855;background:#FFF5EE"|'''Photograph location'''
{{#if:{{{photo_location|}}}|
|style="border-bottom:3px solid #BB8855;border-right:2px solid #BB8855;background:#FFF5EE"|{{{photo_location|}}}<nowiki/>
{{!}}style="border-bottom:3px solid #BB8855;background:#FFF5EE"{{!}}'''Photograph location'''
{{!}}style="border-bottom:3px solid #BB8855;border-right:2px solid #BB8855;background:#FFF5EE"{{!}}{{{photo_location|}}}<nowiki/>
}}
{{#if:{{{dk_attack|}}}|
{{#if:{{{dk_attack|}}}|
{{!}}style="border-bottom:3px solid #BB8855;background:#FFF5EE"{{!}}'''DK Attack point value'''
{{!}}style="border-bottom:3px solid #BB8855;background:#FFF5EE"{{!}}'''DK Attack point value'''
{{!}}style="border-bottom:3px solid #BB8855;border-right:2px solid #BB8855;background:#FFF5EE"{{!}}{{{dk_attack|}}}}}
{{!}}style="border-bottom:3px solid #BB8855;border-right:2px solid #BB8855;background:#FFF5EE"{{!}}{{{dk_attack|}}}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
This template is for enemies in ''[[Donkey Kong Country (Game Boy Advance)|Donkey Kong Country]]'' and ''[[Donkey Kong Country 2 (Game Boy Advance)|Donkey Kong Country 2]]'', particularly for their [[Scrapbook (Donkey Kong Country series)|scrapbook]] data. The variables are as follows:
This template is for enemies in ''[[Donkey Kong Country (Game Boy Advance)|Donkey Kong Country]]'', ''[[Donkey Kong Country 2 (Game Boy Advance)|Donkey Kong Country 2]]'', and ''[[Donkey Kong Country 3 (Game Boy Advance)|Donkey Kong Country 3]]'' for the [[Game Boy Advance]], the former two games particularly for their [[Scrapbook (Donkey Kong Country series)|scrapbook]] data. The variables are as follows:


{|class=wikitable style="width:75%;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
|-
|-
|<nowiki>|</nowiki>game= || Defaults to ''Donkey Kong Country''. Only the value <code>dkc2</code> is supported, which changes the top heading to link to ''Donkey Kong Country 2''.
|<nowiki>|</nowiki>game= || Defaults to ''Donkey Kong Country''. The values <code>dkc2</code> and <code>dkc3</code> is supported, which changes the top heading to link to ''Donkey Kong Country 2'' and ''Donkey Kong Country 3'' respectively.
|-
|-
|<nowiki>|</nowiki>name= || The enemy's name.
|<nowiki>|</nowiki>name= || The enemy's name.
Line 40: Line 44:
|<nowiki>|</nowiki>levels= || Displays which [[level]]s the enemy appears in.
|<nowiki>|</nowiki>levels= || Displays which [[level]]s the enemy appears in.
|-
|-
|<nowiki>|</nowiki>page= || States which page of the scrapbook the enemy appears under.
|<nowiki>|</nowiki>page= || States which page of the scrapbook the enemy appears under. (''Donkey Kong Country'' and ''Donkey Kong Country 2'' only)
|-
|-
|<nowiki>|</nowiki>photo_location= || How to unlock the enemy's corresponding [[photograph]].
|<nowiki>|</nowiki>photo_location= || How to unlock the enemy's corresponding [[photograph]] (''Donkey Kong Country'' and ''Donkey Kong Country 2'' only).
|-
|-
|<nowiki>|</nowiki>dk_attack= || Point value in the [[DK Attack]] mode of ''Donkey Kong Country'' only.
|<nowiki>|</nowiki>dk_attack= || Point value in the [[DK Attack]] mode (''Donkey Kong Country'' only).
|}
|}



Revision as of 15:24, January 18, 2025

This template is for enemies in Donkey Kong Country, Donkey Kong Country 2, and Donkey Kong Country 3 for the Game Boy Advance, the former two games particularly for their scrapbook data. The variables are as follows:

Syntax
|game= Defaults to Donkey Kong Country. The values dkc2 and dkc3 is supported, which changes the top heading to link to Donkey Kong Country 2 and Donkey Kong Country 3 respectively.
|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. (Donkey Kong Country and Donkey Kong Country 2 only)
|photo_location= How to unlock the enemy's corresponding photograph (Donkey Kong Country and Donkey Kong Country 2 only).
|dk_attack= Point value in the DK Attack mode (Donkey Kong Country only).
{{DKC GBA enemy
|game=
|name=
|image=
|worlds=
|levels=
|page=
|photo_location=
|dk_attack=
}}