NewsUnrealEdForumsFilesModsFragBU

Skin

BeyondUnreal


Personal tools

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

From Liandri Archives

Jump to: navigation, search
m (description parameter)
m (added imagedesc description)
Line 7: Line 7:
 
| description =  
 
| description =  
 
| mapimage    =  
 
| mapimage    =  
 +
| imagedesc  =
 
| author      =  
 
| author      =  
 
| players    =  
 
| players    =  
Line 18: Line 19:
 
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>.
 
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, and <tt>imagedesc</tt> falls back to the map's title or the page name. The <tt>author</tt>, <tt>players</tt> and <tt>music</tt> fields will not be displayed if left out.
  
 
The fields <tt>game</tt> and <tt>gametype</tt> 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 <tt>games</tt> parameter can be used instead of <tt>game</tt> 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 <tt>game</tt> parameter in the map info table.
 
The fields <tt>game</tt> and <tt>gametype</tt> 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 <tt>games</tt> parameter can be used instead of <tt>game</tt> 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 <tt>game</tt> parameter in the map info table.

Revision as of 16:20, 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    = 
| imagedesc   = 
| 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, and imagedesc falls back to the map's title or the page name. 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
}}