Editing Template:Infobox Map
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
<table class="infobox" style="display: block;"> | <table class="infobox" style="display: block;"> | ||
<!-- name (mandatory) --> | <!-- name (mandatory) --> | ||
{{#if:{{{name|}}}| | |||
<tr> | <tr> | ||
<td colspan="2" style="text-align: center; font-size: 125%; font-weight: bold;">{{{name|}}}</td> | <td colspan="2" style="text-align: center; font-size: 125%; font-weight: bold;">{{{name|}}}</td> | ||
Line 50: | Line 51: | ||
{{#if:{{#ifeq:{{{ffa|}}}|yes|x}}{{#ifeq:{{{team|}}}|yes|x}}{{#ifeq:{{{holocron|}}}|yes|x}}{{#ifeq:{{{jedimaster|}}}|yes|x}}{{#ifeq:{{{duel|}}}|yes|x}}{{#ifeq:{{{powerduel|}}}|yes|x}}{{#ifeq:{{{ctf|}}}|yes|x}}{{#ifeq:{{{cty|}}}|yes|x}}{{#ifeq:{{{siege|}}}|yes|x}}{{{additional_gametypes|}}}| | {{#if:{{#ifeq:{{{ffa|}}}|yes|x}}{{#ifeq:{{{team|}}}|yes|x}}{{#ifeq:{{{holocron|}}}|yes|x}}{{#ifeq:{{{jedimaster|}}}|yes|x}}{{#ifeq:{{{duel|}}}|yes|x}}{{#ifeq:{{{powerduel|}}}|yes|x}}{{#ifeq:{{{ctf|}}}|yes|x}}{{#ifeq:{{{cty|}}}|yes|x}}{{#ifeq:{{{siege|}}}|yes|x}}{{{additional_gametypes|}}}| | ||
<tr> | <tr> | ||
<th scope="row"> | <th scope="row">Gametype(s)</th> | ||
<td> | <td> | ||
{{#ifeq:{{{ffa|}}}|yes|*[[Free For All]]}}{{#ifeq:{{{team|}}}|yes|*[[Team Free For All]]}}{{#ifeq:{{{holocron|}}}|yes|*[[Holocron FFA]]}}{{#ifeq:{{{jedimaster|}}}|yes|*[[Jedi Master]]}}{{#ifeq:{{{duel|}}}|yes|*[[Duel]]}}{{#ifeq:{{{powerduel|}}}|yes|*[[Power Duel]]}}{{#ifeq:{{{ctf|}}}|yes|*[[Capture The Flag]]}}{{#ifeq:{{{cty|}}}|yes|*[[Capture The | {{#ifeq:{{{ffa|}}}|yes|* [[Free For All]]}} | ||
}} | {{#ifeq:{{{team|}}}|yes|* [[Team Free For All]]}} | ||
{{#ifeq:{{{holocron|}}}|yes|* [[Holocron FFA]]}} | |||
{{#ifeq:{{{jedimaster|}}}|yes|* [[Jedi Master]]}} | |||
{{#ifeq:{{{duel|}}}|yes|* [[Duel]]}} | |||
{{#ifeq:{{{powerduel|}}}|yes|* [[Power Duel]]}} | |||
{{#ifeq:{{{ctf|}}}|yes|* [[Capture The Flag]]}} | |||
{{#ifeq:{{{cty|}}}|yes|* [[Capture The Ysalimari]]}} | |||
{{#ifeq:{{{siege|}}}|yes|* [[Siege]]}} | |||
{{{additional_gametypes|}}} | |||
}} | |||
</td> | </td> | ||
</table> | </table> | ||
</includeonly> | |||
}}</includeonly> | |||
<noinclude> | <noinclude> | ||
Line 87: | Line 98: | ||
* Only the name parameter is mandatory but if that's your only one you probably don't want an Infobox, just a heading. | * Only the name parameter is mandatory but if that's your only one you probably don't want an Infobox, just a heading. | ||
* Only | * Only gametypes set to yes are listed. | ||
* Use <code>additional_gametypes</code> for custom | * Use <code>additional_gametypes</code> for custom gametypes. | ||
* The link parameter is not post-processed to allow for multiple links. | * The link parameter is not post-processed to allow for multiple links. | ||
<noinclude> | <noinclude> | ||
[[Category:Templates]] | [[Category:Templates]] |