NewsUnrealEdForumsFilesModsFragBU

Skin

BeyondUnreal


Personal tools

Difference between revisions of "Template:Infobox Map/doc"

From Liandri Archives

Jump to: navigation, search
 
m (description parameter)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Infobox Map
 
{{Infobox Map
| title   =  
+
| title       =
| mapimage =  
+
| description =  
| author   =  
+
| mapimage   =  
| players =  
+
| author     =  
| music   =  
+
| players     =  
| game     =  
+
| music       =  
| games   =  
+
| game       =  
| gametype =  
+
| games       =  
 +
| gametype   =  
 
}}
 
}}
 
</pre>
 
</pre>
  
All parameters are optional, but it's recommended to specify <tt>title</tt>, <tt>mapimage</tt>, <tt>players</tt>, <tt>game</tt> or <tt>games</tt>, and <tt>gametype</tt>.
+
All parameters are optional, but it's recommended to specify <tt>title</tt>, <tt>description</tt>, <tt>mapimage</tt>, <tt>players</tt>, <tt>game</tt> or <tt>games</tt>, and <tt>gametype</tt>.
  
 
The <tt>title</tt> parameter will fall back to the page name if not specified, <tt>mapimage</tt> falls back to a placeholder image. The <tt>author</tt>, <tt>players</tt> and <tt>music</tt> fields will not be displayed if left out.
 
The <tt>title</tt> parameter will fall back to the page name if not specified, <tt>mapimage</tt> falls back to a placeholder image. The <tt>author</tt>, <tt>players</tt> and <tt>music</tt> fields will not be displayed if left out.
Line 25: Line 26:
 
<pre>
 
<pre>
 
{{Infobox Map
 
{{Infobox Map
| title   = Facing Worlds
+
| title       = Facing Worlds
| mapimage = CTF-Face.jpg
+
| description = This ancient asteroid has been converted to an Arena for the Tournament. It is highly dangerous due to aberrant gravitational properties and, of course, the snipers from the other team.
| author   = Cedric 'Inoxx' Fiorentino
+
| mapimage   = CTF-Face.jpg
| players = 4-10
+
| author     = Cedric 'Inoxx' Fiorentino
| music   = Forgone
+
| players     = 4-10
| game     = Unreal Tournament
+
| music       = Forgone
| gametype = Capture the Flag
+
| game       = Unreal Tournament
 +
| gametype   = Capture the Flag
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 12:17, 2 January 2008

This is the documentation for Template:Infobox Map.

The general syntax for this template is as follows:

{{Infobox Map
| title       = 
| description = 
| mapimage    = 
| author      = 
| players     = 
| music       = 
| game        = 
| games       = 
| gametype    = 
}}

All parameters are optional, but it's recommended to specify title, description, mapimage, players, game or games, and gametype.

The title parameter will fall back to the page name if not specified, mapimage falls back to a placeholder image. The author, players and music fields will not be displayed if left out.

The fields game and gametype should specify names of (not links to) the corresponding game and gametype the map was created for. The map will automatically be added to the corresponding game and gametype map categories. The games parameter can be used instead of game to specify more than one game for a map, but won't automatically like the games or add the map to the corresponding game map categories. It takes precedence over the game parameter in the map info table.

Example Usage

The following syntax would be used for the UT version of CTF-Face:

{{Infobox Map
| title       = Facing Worlds
| description = This ancient asteroid has been converted to an Arena for the Tournament. It is highly dangerous due to aberrant gravitational properties and, of course, the snipers from the other team.
| mapimage    = CTF-Face.jpg
| author      = Cedric 'Inoxx' Fiorentino
| players     = 4-10
| music       = Forgone
| game        = Unreal Tournament
| gametype    = Capture the Flag
}}