Template:Infobox Map: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
|<table class="infobox" style="border-spacing: 3px; width: 22em; style="text-align:center;""> | |<table class="infobox" style="border-spacing: 3px; width: 22em; style="text-align:center;""> | ||
<!-- name (mandatory) --> | <!-- name (mandatory) --> | ||
< | {{#if:{{{name|}}} | ||
|<tr> | |||
<td colspan="2" style="text-align: center; font-size: 125%; font-weight: bold;">{{{name}}}</td> | |||
</tr> | |||
}} | |||
<!-- image, if available --> | <!-- image, if available --> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
|<tr> | |<tr> | ||
<td colspan="2" style="text-align:center;">[[File:{{{image}}}|240px|center]]</td> | <td colspan="2" style="text-align: center;">[[File:{{{image}}}|240px|center]]</td> | ||
</tr> | </tr> | ||
}} | }} | ||
Line 96: | Line 99: | ||
<noinclude> | <noinclude> | ||
{{Infobox Map | |||
| name = Gas Mine | |||
| author = [[Raven Software]] | |||
| image = Ffa bonus1.png | |||
| game = [[Jedi Academy]] | |||
| link = [https://jkhub.org/files/file/242-jedi-academy-bonus-maps/ Jedi Academy Bonus Maps] | |||
| relasedate = December 10, 2003 | |||
| ffa = yes | |||
| team = yes | |||
| holocron = no | |||
| jedimaster = no | |||
| duel = no | |||
| powerduel = no | |||
| ctf = no | |||
| cty = no | |||
| siege = no | |||
| additional_gametypes = | |||
}} | |||
[[Category:Templates]] | [[Category:Templates]] |
Revision as of 12:17, 3 March 2020
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! | 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]] }}
- 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.
|
Gas Mine | |
Author(s) | Raven Software |
---|---|
Link(s) | Jedi Academy Bonus Maps |
Relase date | December 10, 2003 |
Game(s) | Jedi Academy |
Gametype(s) |
}}