Latest revision |
Your text |
Line 1: |
Line 1: |
| <includeonly>
| | <!-- I'm still experimenting with this, trying to keep Wikipedia's style but simplify its templates. --mrwonko --> |
| <table class="infobox" style="display: block;">
| |
| <!-- name (mandatory) -->
| |
| <tr>
| |
| <td colspan="2" style="text-align: center; font-size: 125%; font-weight: bold;">{{{name|}}}</td>
| |
| </tr>
| |
|
| |
|
| <!-- image, if available -->
| | <table class="infobox" cellspacing="3" style="border-spacing: 3px; width:22em;"> |
| {{#if:{{{image|}}}|
| | <tr> |
| <tr>
| | <th scope=row" style="text-align: left;"> |
| <td colspan="2" style="text-align: center;">[[File:{{{image}}}|270px|center]]</td>
| | Label 1 |
| </tr>
| | </th> |
| }}
| | <td> |
| <tr>
| | Data 1 |
| <td colspan="2" style="text-align: center; font-weight: bold; background:#bfccd9;">Details</td>
| |
| </tr>
| |
| <!-- author(s), if available --> | |
| {{#if:{{{author|}}}|
| |
| <tr>
| |
| <th scope="row">Author(s)</th>
| |
| <td>{{{author|}}}</td>
| |
| </tr>
| |
| }}
| |
| | |
| <!-- link(s), if available -->
| |
| {{#if:{{{link|}}}|
| |
| <tr>
| |
| <th scope="row">Link(s)</th>
| |
| <td>{{{link|}}}</td>
| |
| </tr>
| |
| }}
| |
| | |
| <!-- relasedate, if available -->
| |
| {{#if:{{{relasedate|}}}|
| |
| <tr>
| |
| <th scope="row">Release date</th>
| |
| <td >{{{relasedate|}}}</td>
| |
| </tr> | |
| }}
| |
| | |
| <!-- game, if available -->
| |
| {{#if:{{{game|}}}| | |
| <tr>
| |
| <th scope="row">Game(s)</th>
| |
| <td>{{{game|}}}</td>
| |
| </tr> | |
| }}
| |
| | |
| <!-- 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|}}}|
| |
| <tr>
| |
| <th scope="row">Game type(s)</th>
| |
| <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 Ysalamiri]]}}{{#ifeq:{{{siege|}}}|yes|*[[Siege]]}}{{{additional_gametypes|}}}
| |
| }}
| |
| </td> | | </td> |
| | </tr> |
| </table> | | </table> |
| </includeonly>
| |
|
| |
| <noinclude>
| |
| <!-- Documentation -->
| |
|
| |
| The Infobox for Maps is a simple way of summarizing information on a map.
| |
|
| |
| = Syntax =
| |
|
| |
| <nowiki>{{Infobox Map
| |
| | name = Dude's cool map
| |
| | author = Dude
| |
| | image = dudes_cool_map.jpg
| |
| | image_caption = Look at Dude's cool map!
| |
| | game = List the games the map is available for.
| |
| | link = [http://link.to/dudes/cool.map]
| |
| | ffa = yes
| |
| | team = yes
| |
| | holocron = yes
| |
| | jedimaster = yes
| |
| | duel = no
| |
| | powerduel = no
| |
| | ctf = no
| |
| | cty = no
| |
| | siege = no
| |
| | additional_gametypes =
| |
| * [[UberMod|UberMod MegaSlaughter]]
| |
| * [[UberMod|UberMod UberGib]]
| |
| }}</nowiki>
| |
|
| |
| * Only the name parameter is mandatory but if that's your only one you probably don't want an Infobox, just a heading.
| |
| * Only game types set to yes are listed.
| |
| * Use <code>additional_gametypes</code> for custom game types.
| |
| * The link parameter is not post-processed to allow for multiple links.
| |
|
| |
| <noinclude>
| |
|
| |
| [[Category:Templates]]
| |