Template:Infobox map: Difference between revisions

From comp.tf
Jump to navigation Jump to search
m Fixed ad to be inside infobox
m Small header cell fix?
Line 27: Line 27:
{{!}} [[Image:Downloadicon.png|link={{{download}}}]] | }}
{{!}} [[Image:Downloadicon.png|link={{{download}}}]] | }}
|-
|-
|{{#if:{{{extrainfo|}}} |
{{#if:{{{extrainfo|}}} |
! colspan=2 {{!}} Extra Info
! colspan=2 {{!}} Extra Info
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} {{{extrainfo}}} |}}
{{!}} colspan=2 {{!}} {{{extrainfo}}} |}}
|
{| class="infoboxad"
{| class="infoboxad"
|-
|-

Revision as of 20:51, 15 December 2015

{{{mapname}}}
Basic Information
<htmlet>infobox</htmlet>

Usage

  • Just copy this code below to the page and edit the values after the "="
    • Important: If you don't know a value just let it be with a null value (blank) or delete the line.
    • Please input current version in full and type everything carefully as it will be linked automatically.
  • After the code you can write and format text as you normally would to expand the rest of the content.

Example

{{Map infobox
| mapname = Badlands
| image = cp_badlands.png
| maptype = Control Point
| currentversion = cp_badlands
| developer = Valve
| default = Yes
| download = http://comp.tf/
| extrainfo = test
}}

Will Yeld

Template:Map infobox