Template:Infobox map: Difference between revisions

From TeamSpec Wiki
Jump to navigation Jump to search
Add an image field
Fit narrow screens
Line 1: Line 1:
<includeonly>{| style="float:right;clear:right;width:300px;margin:0 0 12px 16px;border:1px solid #a2a9b1;background:#f8f9fa;color:#202122;font-size:90%;border-collapse:collapse;"
<includeonly>{| style="float:right;clear:right;width:300px;max-width:100%;box-sizing:border-box;margin:0 0 12px 16px;border:1px solid #a2a9b1;background:#f8f9fa;color:#202122;font-size:90%;border-collapse:collapse;"
|-
|-
! colspan="2" style="background:#e6dcf3;padding:6px;font-size:115%;text-align:center;" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="background:#e6dcf3;padding:6px;font-size:115%;text-align:center;" | {{{name|{{PAGENAME}}}}}

Revision as of 05:33, 20 October 2026

The box at the top right of every map page. Each map sets its own teams, clock and numbers, so they go here rather than on the game mode page.

Usage

{{Infobox map
| name = Kraken Pier
| file = pl_krakenpier
| mode = [[Payload]]
| teams = Attackers, Defenders
| time = 20 minutes
}}

Parameters

  • name: the title. Defaults to the page name.
  • file: the map's file name, whose prefix names its mode.
  • mode: game mode
  • teams: teams
  • players: players
  • time: time limit
  • win: what ends the match on this map
  • summary: summary

Every parameter is optional; empty ones are left out. Needs the ParserFunctions extension for #if.