Difference between revisions of "Template:NewInfobox Map"
Jump to navigation
Jump to search
m |
m |
||
Line 132: | Line 132: | ||
<div class="infobox-cell-2 infobox-description">Official Map:</div> | <div class="infobox-cell-2 infobox-description">Official Map:</div> | ||
<div class="infobox-cell-2">{{#switch:{{lc:{{{official|}}}}} | <div class="infobox-cell-2">{{#switch:{{lc:{{{official|}}}}} | ||
− | |1=[[File:CorrectIcon.png| | + | |1=[[File:CorrectIcon.png|19px|link=]] |
− | |#default=[[File:IncorrectIcon.png| | + | |#default=[[File:IncorrectIcon.png|19px|link=]] |
}}</div> | }}</div> | ||
</div><!-- | </div><!-- | ||
Line 196: | Line 196: | ||
<div class="infobox-cell-2"><!-- | <div class="infobox-cell-2"><!-- | ||
− | -->{{#ifeq:{{Current Rotations/ugc4s|{{PAGENAME}}}}|1|<div style="width:23px; display:inline-block; font-size:12px;">4v4:</div> [[File:UGC-Icon2.png| | + | -->{{#ifeq:{{Current Rotations/ugc4s|{{PAGENAME}}}}|1|<div style="width:23px; display:inline-block; font-size:12px;">4v4:</div> [[File:UGC-Icon2.png|19px|link=UGC 4v4 Season {{Current Seasons|ugc4s}}]]}}<!-- |
-->{{#ifeq:{{#expr:{{Current Rotations/ugc6s|{{PAGENAME}}}}+{{Current Rotations/etf2l6s|{{PAGENAME}}}}+{{Current Rotations/esea6s|{{PAGENAME}}}}+{{Current Rotations/ozf6s|{{PAGENAME}}}}+{{Current Rotations/af6s|{{PAGENAME}}}}>0}}|1|{{#ifeq:{{Current Rotations/ugc4s|{{PAGENAME}}}}|1|<br />}}<div style="width:23px; display:inline-block; font-size:12px;">6v6:</div>}}<!-- | -->{{#ifeq:{{#expr:{{Current Rotations/ugc6s|{{PAGENAME}}}}+{{Current Rotations/etf2l6s|{{PAGENAME}}}}+{{Current Rotations/esea6s|{{PAGENAME}}}}+{{Current Rotations/ozf6s|{{PAGENAME}}}}+{{Current Rotations/af6s|{{PAGENAME}}}}>0}}|1|{{#ifeq:{{Current Rotations/ugc4s|{{PAGENAME}}}}|1|<br />}}<div style="width:23px; display:inline-block; font-size:12px;">6v6:</div>}}<!-- | ||
− | -->{{#ifeq:{{Current Rotations/ugc6s|{{PAGENAME}}}}|1| [[File:UGC-Icon2.png| | + | -->{{#ifeq:{{Current Rotations/ugc6s|{{PAGENAME}}}}|1| [[File:UGC-Icon2.png|19px|link=UGC 6v6 Season {{Current Seasons|ugc6s}}]]}}<!-- |
− | -->{{#ifeq:{{Current Rotations/etf2l6s|{{PAGENAME}}}}|1| [[File:ETF2L-Icon2.png| | + | -->{{#ifeq:{{Current Rotations/etf2l6s|{{PAGENAME}}}}|1| [[File:ETF2L-Icon2.png|19px|link=ETF2L 6v6 Season {{Current Seasons|etf2l6s}}]]}}<!-- |
− | -->{{#ifeq:{{Current Rotations/esea6s|{{PAGENAME}}}}|1| [[File:EseaLogo.png| | + | -->{{#ifeq:{{Current Rotations/esea6s|{{PAGENAME}}}}|1| [[File:EseaLogo.png|19px|link=ESEA Season {{Current Seasons|esea6s}}]]}}<!-- |
− | -->{{#ifeq:{{Current Rotations/ozf6s|{{PAGENAME}}}}|1| [[File:Ozfortress Icon.png| | + | -->{{#ifeq:{{Current Rotations/ozf6s|{{PAGENAME}}}}|1| [[File:Ozfortress Icon.png|19px|link=ozfortress Season {{Current Seasons|ozf6s}}]]}}<!-- |
− | -->{{#ifeq:{{Current Rotations/af6s|{{PAGENAME}}}}|1| [[File:AsiaFortress-Icon.png| | + | -->{{#ifeq:{{Current Rotations/af6s|{{PAGENAME}}}}|1| [[File:AsiaFortress-Icon.png|19px|link=AsiaFortress Cup {{Current Seasons|af6s}}]]}}<!-- |
-->{{#ifeq:{{#expr:{{Current Rotations/ugchl|{{PAGENAME}}}}+{{Current Rotations/etf2lhl|{{PAGENAME}}}}>0}}|1|{{#ifeq:{{#expr:{{Current Rotations/ugc4s|{{PAGENAME}}}}+{{Current Rotations/ugc6s|{{PAGENAME}}}}+{{Current Rotations/etf2l6s|{{PAGENAME}}}}+{{Current Rotations/esea6s|{{PAGENAME}}}}+{{Current Rotations/ozf6s|{{PAGENAME}}}}+{{Current Rotations/af6s|{{PAGENAME}}}}>0}}|1|<br />}}<div style="width:23px; display:inline-block; font-size:12px;">HL:</div>}}<!-- | -->{{#ifeq:{{#expr:{{Current Rotations/ugchl|{{PAGENAME}}}}+{{Current Rotations/etf2lhl|{{PAGENAME}}}}>0}}|1|{{#ifeq:{{#expr:{{Current Rotations/ugc4s|{{PAGENAME}}}}+{{Current Rotations/ugc6s|{{PAGENAME}}}}+{{Current Rotations/etf2l6s|{{PAGENAME}}}}+{{Current Rotations/esea6s|{{PAGENAME}}}}+{{Current Rotations/ozf6s|{{PAGENAME}}}}+{{Current Rotations/af6s|{{PAGENAME}}}}>0}}|1|<br />}}<div style="width:23px; display:inline-block; font-size:12px;">HL:</div>}}<!-- | ||
− | -->{{#ifeq:{{Current Rotations/ugchl|{{PAGENAME}}}}|1| [[File:UGC-Icon2.png| | + | -->{{#ifeq:{{Current Rotations/ugchl|{{PAGENAME}}}}|1| [[File:UGC-Icon2.png|19px|link=UGC HL Season {{Current Seasons|ugchl}}]]}}<!-- |
− | -->{{#ifeq:{{Current Rotations/etf2lhl|{{PAGENAME}}}}|1| [[File:ETF2L-Icon2.png| | + | -->{{#ifeq:{{Current Rotations/etf2lhl|{{PAGENAME}}}}|1| [[File:ETF2L-Icon2.png|19px|link=ETF2L Highlander Season {{Current Seasons|etf2lhl}}]]}}<!-- |
-->{{#if:{{Current Rotations/ugc4s|{{PAGENAME}}}}{{Current Rotations/ugc6s|{{PAGENAME}}}}{{Current Rotations/etf2l6s|{{PAGENAME}}}}{{Current Rotations/esea6s|{{PAGENAME}}}}{{Current Rotations/ozf6s|{{PAGENAME}}}}{{Current Rotations/af6s|{{PAGENAME}}}}{{Current Rotations/ugchl|{{PAGENAME}}}}{{Current Rotations/etf2lhl|{{PAGENAME}}}}||None}} | -->{{#if:{{Current Rotations/ugc4s|{{PAGENAME}}}}{{Current Rotations/ugc6s|{{PAGENAME}}}}{{Current Rotations/etf2l6s|{{PAGENAME}}}}{{Current Rotations/esea6s|{{PAGENAME}}}}{{Current Rotations/ozf6s|{{PAGENAME}}}}{{Current Rotations/af6s|{{PAGENAME}}}}{{Current Rotations/ugchl|{{PAGENAME}}}}{{Current Rotations/etf2lhl|{{PAGENAME}}}}||None}} | ||
Line 219: | Line 219: | ||
<div class="infobox-cell-2 infobox-description">Last Played:</div> | <div class="infobox-cell-2 infobox-description">Last Played:</div> | ||
<div class="infobox-cell-2">{{#switch:{{lc:{{{lpleague|}}}}} | <div class="infobox-cell-2">{{#switch:{{lc:{{{lpleague|}}}}} | ||
− | | ugc4s = [[File:UGC-Icon2.png| | + | | ugc4s = [[File:UGC-Icon2.png|19px|link=UGC 4v4 Season {{{lpseason|}}}]] [[UGC 4v4 Season {{{lpseason|}}}|4v4 Season {{{lpseason|}}}]] |
− | | ugc6s = [[File:UGC-Icon2.png| | + | | ugc6s = [[File:UGC-Icon2.png|19px|link=UGC 6v6 Season {{{lpseason|}}}]] [[UGC 6v6 Season {{{lpseason|}}}|6v6 Season {{{lpseason|}}}]] |
− | | etf2l6s = [[File:ETF2L-Icon2.png| | + | | etf2l6s = [[File:ETF2L-Icon2.png|19px|link=ETF2L 6v6 Season {{{lpseason|}}}]] [[ETF2L 6v6 Season {{{lpseason|}}}|6v6 Season {{{lpseason|}}}]] |
− | | esea6s = [[File:EseaLogo.png| | + | | esea6s = [[File:EseaLogo.png|19px|link={{#ifeq:{{#expr:{{{lpseason|}}}>19}}|1|ESEA Season {{{lpseason|}}}|ESEA-I Season {{{lpseason|}}}}}]] [[{{#ifeq:{{#expr:{{{lpseason|}}}>19}}|1|ESEA Season {{{lpseason|}}}|ESEA-I Season {{{lpseason|}}}}}|6v6 Season {{{lpseason|}}}]] |
− | | ozf6s = [[File:Ozfortress Icon.png| | + | | ozf6s = [[File:Ozfortress Icon.png|19px|link={{#ifeq:{{#expr:{{{lpseason|}}}>14}}|1|Ozfortress Season {{{lpseason|}}}|OWL {{{lpseason|}}}}}]] [[{{#ifeq:{{#expr:{{{lpseason|}}}>14}}|1|Ozfortress Season {{{lpseason|}}}|OWL {{{lpseason|}}}}}|6v6 Season {{{lpseason|}}}]] |
− | | af6s = [[File:AsiaFortress-Icon.png| | + | | af6s = [[File:AsiaFortress-Icon.png|19px|link=AsiaFortress Cup {{{lpseason|}}}]] [[AsiaFortress Cup {{{lpseason|}}}|6v6 Season {{{lpseason|}}}]] |
− | | ugchl = [[File:UGC-Icon2.png| | + | | ugchl = [[File:UGC-Icon2.png|19px|link=UGC HL Season {{{lpseason|}}}]] [[UGC HL Season {{{lpseason|}}}|HL Season {{{lpseason|}}}]] |
− | | etf2lhl = [[File:ETF2L-Icon2.png| | + | | etf2lhl = [[File:ETF2L-Icon2.png|19px|link=ETF2L Highlander Season {{{lpseason|}}}]] [[ETF2L Highlander Season {{{lpseason|}}}|HL Season {{{lpseason|}}}]] |
}} | }} | ||
<br />''({{{lpdate|}}})''</div> | <br />''({{{lpdate|}}})''</div> |
Revision as of 00:34, 13 May 2016
(view - edit) Documentation
NewInfobox Map
Map Information
Map Type:
File Name:
cp_badlands
Version:
Official Release
Official Map:
Competitive Information
Game Modes:
League Popularity:
Staple
In League Rotations:
None
Total Inclusions:
None
Links
Cannot find HTML file infobox.html
This template produces an Infobox on a map page. Credit to Liquipedia for the template.
Example
The code:
{{NewInfobox Map |name= |image= |caption= |maptype=5cp |filename=cp_badlands |version=Official Release |author1=valve |author1steam= |author2= |author2steam= |author3= |author3steam= |released=14 February 2008 |updated=8 July 2016 |official=1 |gamemode1=6v6 |gamemode2= |gamemode3= |adapted= |pro= |popularity=staple |lpleague= |lpseason= |download=http://www.sodahappy.com/fastdl/tf2/maps/cp_badlands.bsp.bz2 |workshop= |tf2maps= |gamebanana= |tftv= |etf2l= |ugc= |officialwiki=Badlands_(Control_Point) |officialwiki2=Badlands_(competitive) |footnotes= }}
Parameters
These are the variables in the Map template:
- name = Map name. You can leave it blank if it's the same name of the page
- image = Don't use it for the main one since the template automatically searches for <map_name>.jpg. Use it rarely for secondary images.
- caption = caption
- maptype = Game mode ( 5cp, 3cp, ad, arena, bball, ctf, dom, koth, pl, plr, sd, ultiduo )
- filename = Name of the last map version
- version = Leave blank if official. "Alpha", "Beta", "Final", "Official Release" or "Release Candidate" otherwise
- author1 = Author name with the format <Name> "nickname" <Surname> ( Es. Rebecca "Phi" Ailes )
- author1steam = Author steam link. Better if it's used the 17 digit long ( Es. 76561198039117675 )
- released = First date of release ( Es. 17 November 2015)
- updated = Last update date
- official = 1 if official. Leave blank if not
- gamemode1 = In which competitive game modes it is used (4 v4, 6v6, BBall, Highlander, Ultiduo )
- adapted = Map from which it has been taken from ( Es. Product is an adapted version of Viaduct )
- pro = Official map from which it was perfected ( Es. Granary for cp_granary_pro_rc4 )
- popularity = How often the map is used by leagues ( moderate, never played, obsolete, stample, trial )
- lpleague = Last played league ( af6s, etf2l6s, etf2lhl, esea, ozf6s, ugc4s, ugc6s, ugchl )
- lpseason = Number of the last season played
- download = Reliable download link (better if from http://fakkelbrigade.eu/maps/ )
- workshop = Steam workshop link
- tf2maps = TF2Maps.net thread
- tftv = teamfortress.tv thread
- etf2l = etf2l.org thread
- ugc = ugcleague.com thread
- officialwiki = wiki.teamfortress.com official page ( Es. Badlands_(Control_Point) )
- officialwiki2 = wiki.teamfortress.com official competitive page ( Es. Badlands_(competitive) )
- footnotes = Foot notes
- portal = Don't use it yet!
Copy / Paste
{{NewInfobox Map |name= |image= |caption= |maptype= |filename= |version= |author1= |author1steam= |author2= |author2steam= |author3= |author3steam= |released= |updated= |official= |gamemode1= |gamemode2= |gamemode3= |adapted= |pro= |popularity= |lpleague= |lpseason= |download= |workshop= |tf2maps= |gamebanana= |tftv= |etf2l= |ugc= |officialwiki= |officialwiki2= |footnotes= |portal= }}