|
|
Line 1: |
Line 1: |
| <includeonly>{{#if:{{{game|}}} |{{#ifeq:{{{game}}} |dkc |<tr>{{#if:{{{num|}}}|{{#if:{{{num_gba|}}}|<td colspan="2" style="{{#if:{{{style|}}}|{{{style}}}; text-align:center|text-align:center}}">{{{num}}}</td><td style="{{#if:{{{style|}}}|{{{style}}}; text-align:center|text-align:center}}>{{{num}}}</td>|{{#if:{{{num_gbc|}}}|<td style="{{#if:{{{style|}}}|{{{style}}}; text-align:center|text-align:center}}>{{{num}}}</td><td style="{{#if:{{{style|}}}|{{{style}}}; text-align:center|text-align:center}}>{{{num_gbc}}}</td><td style="{{#if:{{{style|}}}|{{{style}}}; text-align:center|text-align:center}}>{{{num}}}</td>|<td colspan="3" style="{{#if:{{{style|}}}|{{{style}}}; text-align:center|text-align:center}}>{{{num}}}</td>}}}}|<td colspan="3" style="{{#if:{{{style|}}}|{{{style}}}; text-align:center|text-align:center}}>?</td>}}<td style="{{#if:{{{style|}}}|{{{style}}}; text-align:center|text-align:center}}>{{{level|?}}}</td><td style="{{#if:{{{style|}}}|{{{style}}}; text-align:center|text-align:center}}>{{{bonus|?}}}</td><td style="{{#if:{{{style|}}}|{{{style}}}; text-align:center|text-align:center}}>{{{terrain|?}}}</td><td style="{{#if:{{{style|}}}|{{{style}}}; text-align:center|text-align:center}}>{{{music|?}}}</td></tr>|<tr><th colspan="7" style="background:white"><span class="error">"{{{game}}}" is not currently supported as a value for <nowiki>|</nowiki>game=</span></th></tr>}}|<tr><th colspan="7" style="background:white">{{para needed|game}}</th></tr>}}</includeonly><noinclude>This template is used to format table rows (corresponding to levels) for levels tables in the [[Donkey Kong (franchise)|Donkey Kong franchise]]. It currently only supports ''[[Donkey Kong Country]]''. | | <includeonly>{{#if:{{{game|}}} |{{#ifeq:{{{game}}} |dkc|<tr><th colspan="7" style="background:#BB8855">{{{world|{{para needed|world}}}}}</th></tr><tr><th colspan="3" style="width:5%; background:burlywood">#</th><th rowspan="2" style="width:35%; background:burlywood">Level</th><th rowspan="2" style="width:10%; background:burlywood">Bonus Areas</th><th rowspan="2" style="width:30%; background:burlywood">Type of level</th><th rowspan="2" style="width:20%; background:burlywood">Music theme</th></tr><tr><th style="width:5%; background:burlywood">SNES</th><th style="width:5%; background:burlywood">GBC</th><th style="width:5%; background:burlywood">GBA</th></tr>|<tr><td><span class="error">"{{{game}}}" is not currently supported as a value for <nowiki>|</nowiki>game=</span></td></tr>}}|<tr><td>{{para needed|game}}</td></tr>}}</includeonly><noinclude>This template is used to format table sections (corresponding to worlds) for levels tables in the [[Donkey Kong (franchise)|Donkey Kong franchise]]. It currently only supports ''[[Donkey Kong Country]]''. |
|
| |
|
| Example usage: | | Example usage: |
|
| |
|
| <pre><table class="wikitable dktable-brown" style="width:99%"> | | <pre><table class="wikitable dktable-brown" style="width:99%"> |
| {{DK levels table section |game=dkc |world=World}} | | {{DK levels table section}} |
| {{DK levels table row}} | | {{DK levels table section |game=dk64}} |
| {{DK levels table row |game=dk64}}
| | {{DK levels table section |game=dkc}} |
| {{DK levels table row |game=dkc}} | | {{DK levels table section |game=dkc |world=[[Kongo Jungle]]}} |
| {{DK levels table row |game=dkc |style=background:wheat |num=1 |level=[[Jungle Hijinxs (Donkey Kong Country)|Jungle Hijinxs]] |bonus=2 |terrain=Jungle |music=DK Island Swing}} | |
| {{DK levels table row |game=dkc |style=background:#FFF8DC |num=16 |num_gba=18 |level=[[Temple Tempest]] |bonus=2 |terrain=Ruins |music=Voices of the Temple}}
| |
| {{DK levels table row |game=dkc |style=background:#FFF8DC |num=- |num_gbc=37 |level=[[Necky Nutmare]] |bonus=1 |terrain=Cave |music=Cave Dweller Concert}}
| |
| </table></pre> | | </table></pre> |
|
| |
|
| <table class="wikitable dktable-brown" style="width:99%"> | | <table class="wikitable dktable-brown" style="width:99%"> |
| {{DK levels table section |game=dkc |world=World}} | | {{DK levels table section}} |
| {{DK levels table row}} | | {{DK levels table section |game=dk64}} |
| {{DK levels table row |game=dk64}}
| | {{DK levels table section |game=dkc}} |
| {{DK levels table row |game=dkc}} | | {{DK levels table section |game=dkc |world=[[Kongo Jungle]]}} |
| {{DK levels table row |game=dkc |style=background:wheat |num=1 |level=[[Jungle Hijinxs (Donkey Kong Country)|Jungle Hijinxs]] |bonus=2 |terrain=Jungle |music=DK Island Swing}} | |
| {{DK levels table row |game=dkc |style=background:#FFF8DC |num=16 |num_gba=18 |level=[[Temple Tempest]] |bonus=2 |terrain=Ruins |music=Voices of the Temple}}
| |
| {{DK levels table row |game=dkc |style=background:#FFF8DC |num=- |num_gbc=37 |level=[[Necky Nutmare]] |bonus=1 |terrain=Cave |music=Cave Dweller Concert}}
| |
| </table> | | </table> |
| [[Category:Formatting templates]]</noinclude> | | <!--[[Category:Formatting templates]]--></noinclude> |