Template:Infobox Map: Difference between revisions
(line breaks) |
(Re-ordered so gametype comes last) |
||
Line 8: | Line 8: | ||
|<tr> | |<tr> | ||
<td colspan="2">[[File:{{{image|}}}|200px|center|thumb{{#if:{{{image_caption|}}}|{{!}}{{{image_caption|}}}}}]]</td> | <td colspan="2">[[File:{{{image|}}}|200px|center|thumb{{#if:{{{image_caption|}}}|{{!}}{{{image_caption|}}}}}]]</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> | </tr> | ||
}} | }} | ||
Line 27: | Line 43: | ||
; [[Siege]]}} | ; [[Siege]]}} | ||
{{{additional_gametypes|}}} | {{{additional_gametypes|}}} | ||
}} | }} | ||
</table> | </table> | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> |
Revision as of 18:13, 3 December 2013
The Infobox for Maps is a simple way of summarizing information on a map.
Syntax
{{Infobox Map | name = Dude's cool map | author = Dude | image = dudes_cool_map.jpg | image_caption = Look at Dude's cool map! | 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]] }}
- Only the name parameter is mandatory but if that's your only one you probably don't want an Infobox, just a heading.
- Only gametypes set to yes are listed.
- Use
additional_gametypes
for custom gametypes. - The link parameter is not post-processed to allow for multiple links.