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 1: | Line 1: | ||
<includeonly> | <includeonly>{{#if:{{{name|}}} | ||
<table class="infobox" style=" | |<table class="infobox" style="border-spacing: 3px; width: 22em;"> | ||
<!-- name (mandatory) --> | <!-- name (mandatory) --> | ||
< | <caption>{{{name}}}</caption> | ||
<!-- image, if available --> | <!-- image, if available --> | ||
{{#if:{{{image | {{#if:{{{image}}} | ||
<tr> | |<tr> | ||
<td colspan="2 | <td colspan="2">{{{image}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
<!-- author(s), if available --> | <!-- author(s), if available --> | ||
{{#if:{{{author | {{#if:{{{author}}} | ||
<tr> | <tr> | ||
<th scope="row">Author(s)</th> | <th scope="row">Author(s)</th> | ||
Line 24: | Line 20: | ||
<!-- link(s), if available --> | <!-- link(s), if available --> | ||
{{#if:{{{link | {{#if:{{{link}}} | ||
<tr> | <tr> | ||
<th scope="row">Link(s)</th> | <th scope="row">Link(s)</th> | ||
Line 32: | Line 28: | ||
<!-- relasedate, if available --> | <!-- relasedate, if available --> | ||
{{#if:{{{ | {{#if:{{{link}}} | ||
<tr> | <tr> | ||
<th scope="row"> | <th scope="row">Relase date</th> | ||
<td >{{{relasedate | <td>{{{relasedate|}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
<!-- gametypes, if any --> | <!-- gametypes, if any --> | ||
{{#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 | {{#ifeq:{{{ffa|}}}|yes| | ||
}} | * [[Free For All]]}}{{#ifeq:{{{team|}}}|yes| | ||
* [[Team Free For All]]}}{{#ifeq:{{{holocron|}}}|yes| | |||
* [[Holocron]]}}{{#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 Ysalamiri]]}}{{#ifeq:{{{siege|}}}|yes| | |||
* [[Siege]]}} | |||
{{{additional_gametypes|}}} | |||
}} | |||
<noinclude> | </table> | ||
}}</includeonly><noinclude> | |||
<!-- Documentation --> | <!-- Documentation --> | ||
Line 70: | Line 66: | ||
| image = dudes_cool_map.jpg | | image = dudes_cool_map.jpg | ||
| image_caption = Look at Dude's cool map! | | image_caption = Look at Dude's cool map! | ||
| link = [http://link.to/dudes/cool.map] | | link = [http://link.to/dudes/cool.map] | ||
| ffa = yes | | ffa = yes | ||
Line 87: | Line 82: | ||
* 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]] |