User:The Retro Gamer/DK levels table section: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Updating example.) |
(Creating the final version before I add it to template-space.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{game|}}} |{{#ifeq:{{{game}}} |dkc|<tr><th colspan="7" style="background:#BB8855">{{{world|{{ | <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: | |||
<pre><table class="wikitable dktable-brown" style="width:99%"> | <pre><table class="wikitable dktable-brown" style="width:99%"> | ||
{{ | {{DK levels table section}} | ||
{{ | {{DK levels table section |game=dk64}} | ||
{{ | {{DK levels table section |game=dkc}} | ||
{{ | {{DK levels table section |game=dkc |world=[[Kongo Jungle]]}} | ||
</table></pre> | </table></pre> | ||
<table class="wikitable dktable-brown" style="width:99%"> | <table class="wikitable dktable-brown" style="width:99%"> | ||
{{ | {{DK levels table section}} | ||
{{ | {{DK levels table section |game=dk64}} | ||
{{ | {{DK levels table section |game=dkc}} | ||
{{ | {{DK levels table section |game=dkc |world=[[Kongo Jungle]]}} | ||
</table></noinclude> | </table> | ||
<!--[[Category:Formatting templates]]--></noinclude> |
Revision as of 21:17, April 22, 2018
This template is used to format table sections (corresponding to worlds) for levels tables in the Donkey Kong franchise. It currently only supports Donkey Kong Country.
Example usage:
<table class="wikitable dktable-brown" style="width:99%"> {{DK levels table section}} {{DK levels table section |game=dk64}} {{DK levels table section |game=dkc}} {{DK levels table section |game=dkc |world=[[Kongo Jungle]]}} </table>Template:DK levels table sectionTemplate:DK levels table sectionTemplate:DK levels table sectionTemplate:DK levels table section