Difference between revisions of "Template:MapLeagueInclusionTable/Header/doc"

From comp.tf
Jump to navigation Jump to search
m (Fix)
 
(20 intermediate revisions by 2 users not shown)
Line 11: Line 11:
 
== General info ==
 
== General info ==
 
* All parameters are in lowercase characters
 
* All parameters are in lowercase characters
* The current leagues available to include are UGC (4v4), UGC (6v6), ETF2L (6v6), ESEA (6v6), ozfortress (6v6), UGC (HL) and ETF2L (HL)
+
* The current leagues available to include are UGC (4v4), UGC (6v6), ETF2L (6v6), ESEA (6v6), ozfortress (6v6), AsiaFortress (6v6), UGC (HL) and ETF2L (HL)
 
* A full table example is listed at the bottom of this page
 
* A full table example is listed at the bottom of this page
  
Line 20: Line 20:
 
'''<font color="#CEE0F2">Blue</font>''' sections are controlled by [[Template:MapLeagueInclusionTable/Footer]]<br />
 
'''<font color="#CEE0F2">Blue</font>''' sections are controlled by [[Template:MapLeagueInclusionTable/Footer]]<br />
 
{| class="wikitable" style="text-align: center;"
 
{| class="wikitable" style="text-align: center;"
  ! rowspan="2" colspan="3" style="color: white; background-color: #CEF2E0; width: 22px;" | Map name
+
|+ <font color="#E0CEF2">Seasonal Inclusions by League</font>
 +
  ! rowspan="2" colspan="3" style="color: white; background-color: #E0CEF2; width: 22px;" | Map name
 
  ! style="color: white; background-color: #E0CEF2;" colspan="1 | 4v4
 
  ! style="color: white; background-color: #E0CEF2;" colspan="1 | 4v4
  ! style="color: white; background-color: #E0CEF2;" colspan="4" | 6v6
+
  ! style="color: white; background-color: #E0CEF2;" colspan="6" | 6v6
  ! style="color: white; background-color: #E0CEF2;" colspan="2" | Highlander
+
  ! style="color: white; background-color: #E0CEF2;" colspan="1" | 7v7
 +
! style="color: white; background-color: #E0CEF2;" colspan="3" | Highlander
 
|-
 
|-
  ! style="background-color: #E0CEF2; width:100px;" | [[File:UGC-Icon.png | 20px | link=]] [[UGC]]
+
  ! style="background-color: #E0CEF2; width:110px;" | [[File:UGC-Icon.png | 20px | link=]] [[UGC]]
  ! style="background-color: #E0CEF2; width:100px;" | [[File:UGC-Icon.png | 20px | link=]] [[UGC]]
+
  ! style="background-color: #E0CEF2; width:110px;" | [[File:UGC-Icon.png | 20px | link=]] [[UGC]]
  ! style="background-color: #E0CEF2; width:100px;" | [[File:ETF2L-Icon.png | 20px | link=]] [[ETF2L]]
+
  ! style="background-color: #E0CEF2; width:110px;" | [[File:ETF2L-Icon.png | 20px | link=]] [[ETF2L]]
  ! style="background-color: #E0CEF2; width:100px;" | [[File:EseaLogo.png | 20px | link=]] [[ESEA]]
+
  ! style="background-color: #E0CEF2; width:110px;" | [[File:EseaLogo.png | 20px | link=]] [[ESEA]]
  ! style="background-color: #E0CEF2; width:100px;" | [[File:Ozfortress icon.png | 20px | link=]] [[ozfortress]]
+
  ! style="background-color: #E0CEF2; width:110px;" | [[File:Ozfortress Icon.png | 20px | link=]] [[Ozfortress|ozfortress]]
  ! style="background-color: #E0CEF2; width:100px;" | [[File:UGC-Icon.png | 20px | link=]] [[UGC]]
+
  ! style="background-color: #E0CEF2; width:110px;" | [[File:RGL Icon.png | 20px | link=]] [[RGL]]
  ! style="background-color: #E0CEF2; width:100px;" | [[File:ETF2L-Icon.png | 20px | link=]] [[ETF2L]]
+
! style="background-color: #E0CEF2; width:110px;" | [[File:AsiaFortress-Icon.png | 20px | link=]] [[AsiaFortress]]
 +
! style="background-color: #E0CEF2; width:110px;" | [[File:RGL Icon.png | 20px | link=]] [[RGL]]
 +
! style="background-color: #E0CEF2; width:110px;" | [[File:UGC-Icon.png | 20px | link=]] [[UGC]]
 +
  ! style="background-color: #E0CEF2; width:110px;" | [[File:ETF2L-Icon.png | 20px | link=]] [[ETF2L]]
 +
! style="background-color: #E0CEF2; width:110px;" | [[File:RGL Icon.png | 20px | link=]] [[RGL]]
 
|-
 
|-
 
  ! style="border-right: hidden; background-color: #F2E0CE; width: 12px; " rowspan="2" |  
 
  ! style="border-right: hidden; background-color: #F2E0CE; width: 12px; " rowspan="2" |  
  ! style="background-color: #F2E0CE;" rowspan="2" | [[File:Downloadicon.png | 12px | link=comp.tf]] cp_cheeseburger
+
  ! style="background-color: #F2E0CE;" rowspan="2" | [[File:DownloadIcon.png | 12px | link=comp.tf]] cp_cheeseburger
 
  ! style="border-left: hidden; background-color: #F2E0CE; width: 12px;" rowspan="2" |  
 
  ! style="border-left: hidden; background-color: #F2E0CE; width: 12px;" rowspan="2" |  
 
  | style="background-color:#F2CEE0" | Season 1
 
  | style="background-color:#F2CEE0" | Season 1
Line 43: Line 49:
 
  | style="background-color:#F2CEE0" | Season 6
 
  | style="background-color:#F2CEE0" | Season 6
 
  | style="background-color:#F2CEE0" | Season 7
 
  | style="background-color:#F2CEE0" | Season 7
 +
| style="background-color:#F2CEE0" | Season 8
 +
| style="background-color:#F2CEE0" | Season 9
 +
| style="background-color:#F2CEE0" | Season 10
 +
| style="background-color:#F2CEE0" | Season 11
 
|-
 
|-
 
  | style="background-color: #F2CEE0" |  
 
  | style="background-color: #F2CEE0" |  
 
  | style="background-color:#F2CEE0" | Season 1
 
  | style="background-color:#F2CEE0" | Season 1
 +
| style="background-color:#F2CEE0" |
 +
| style="background-color:#F2CEE0" |
 +
| style="background-color:#F2CEE0" |
 
  | style="background-color:#F2CEE0" |  
 
  | style="background-color:#F2CEE0" |  
 
  | style="background-color:#F2CEE0" |  
 
  | style="background-color:#F2CEE0" |  
Line 51: Line 64:
 
  | style="background-color:#F2CEE0" | Season 2
 
  | style="background-color:#F2CEE0" | Season 2
 
  | style="background-color:#F2CEE0" | Season 3
 
  | style="background-color:#F2CEE0" | Season 3
 +
| style="background-color:#F2CEE0" |
 
|-
 
|-
 
  ! style="background-color:#CEE0F2; color: white;" colspan="3" | Total inclusions
 
  ! style="background-color:#CEE0F2; color: white;" colspan="3" | Total inclusions
Line 58: Line 72:
 
  ! style="background-color:#CEE0F2" | 1 <small>out of</small> 4
 
  ! style="background-color:#CEE0F2" | 1 <small>out of</small> 4
 
  ! style="background-color:#CEE0F2" | 1 <small>out of</small> 5
 
  ! style="background-color:#CEE0F2" | 1 <small>out of</small> 5
  ! style="background-color:#CEE0F2" | 2 <small>out of</small> 6
+
  ! style="background-color:#CEE0F2" | 1 <small>out of</small> 6
 
  ! style="background-color:#CEE0F2" | 2 <small>out of</small> 7
 
  ! style="background-color:#CEE0F2" | 2 <small>out of</small> 7
 +
! style="background-color:#CEE0F2" | 2 <small>out of</small> 8
 +
! style="background-color:#CEE0F2" | 1 <small>out of</small> 9
 +
! style="background-color:#CEE0F2" | 1 <small>out of</small> 10
 +
! style="background-color:#CEE0F2" | 1 <small>out of</small> 11
 
|}
 
|}
 
<font color="#CEE0F2">'''''Italic bold''''' denotes the current or latest season</font>
 
<font color="#CEE0F2">'''''Italic bold''''' denotes the current or latest season</font>
 
{| class="wikitable" style="text-align: left;"  
 
{| class="wikitable" style="text-align: left;"  
 
  | style="width: 20px; height: 20px; background-color: #CEE0F2" |
 
  | style="width: 20px; height: 20px; background-color: #CEE0F2" |
| style="border-right: hidden; background-color: #CEE0F2; width: 1px;" |
 
 
  | style="background-color:#CEE0F2" | Official map
 
  | style="background-color:#CEE0F2" | Official map
| style="border-left: hidden; background-color: #CEE0F2; width: 1px;" |
 
 
|-
 
|-
 
  | style="width: 20px; height: 20px; background-color: #CEE0F2;" |
 
  | style="width: 20px; height: 20px; background-color: #CEE0F2;" |
| style="border-right: hidden; background-color: #CEE0F2; width: 1px;" |
 
 
  | style="background-color: #CEE0F2" | Adapted or 'pro' version
 
  | style="background-color: #CEE0F2" | Adapted or 'pro' version
| style="border-left: hidden; background-color: #CEE0F2; width: 1px;" |
 
 
|}
 
|}
  
Line 77: Line 91:
 
The header defines what leagues will be included in the table.<br />
 
The header defines what leagues will be included in the table.<br />
 
Setting any of the below parameters to '1' will display the parameter's league as a column.<br />
 
Setting any of the below parameters to '1' will display the parameter's league as a column.<br />
<code>|ugc4s</code>, <code>|ugc6s</code>, <code>|etf2l6s</code>, <code>|esea6s</code>, <code>|ozf6s</code>, <code>|ugchl</code>, and <code>|etf2lhl</code><br />
+
<code>|ugc4s</code>, <code>|ugc6s</code>, <code>|etf2l6s</code>, <code>|esea6s</code>, <code>|ozf6s</code>, <code>|rgl6s</code>, <code>|af6s</code>, <code>|rgl7s</code>, <code>|ugchl</code><code>|etf2lhl</code> and <code>|rglhl</code>, <br />
 
=== Example ===
 
=== Example ===
 
<pre>{{MapLeagueInclusionTable/Header
 
<pre>{{MapLeagueInclusionTable/Header
Line 285: Line 299:
 
{{MapLeagueInclusionTable/Row/Map
 
{{MapLeagueInclusionTable/Row/Map
 
  | maptype = pro
 
  | maptype = pro
  | mapdownload = comp.tf
+
  | mapdownload = Main Page
 
  | mapname = cp_cheeseburger_pro_v42
 
  | mapname = cp_cheeseburger_pro_v42
 
  | maprowspan = 1
 
  | maprowspan = 1
Line 323: Line 337:
 
{{MapLeagueInclusionTable/Row/Map
 
{{MapLeagueInclusionTable/Row/Map
 
  | maptype = pro
 
  | maptype = pro
  | mapdownload = comp.tf
+
  | mapdownload = Main Page
 
  | mapname = cp_cheeseburger_pro_v42
 
  | mapname = cp_cheeseburger_pro_v42
 
  | maprowspan = 1
 
  | maprowspan = 1

Latest revision as of 13:17, 18 September 2020

This table was made to show a map's inclusions in the map pool of various leagues and in various seasons. The current templates used to make a table are:

These templates can be found here: Category:MapLeagueInclusionTable Base Templates
Each individual map's table templates can be found here: Category:MapLeagueInclusionTable Map Templates
All templates can be found here: Category:MapLeagueInclusionTable Templates

General info[edit]

  • All parameters are in lowercase characters
  • The current leagues available to include are UGC (4v4), UGC (6v6), ETF2L (6v6), ESEA (6v6), ozfortress (6v6), AsiaFortress (6v6), UGC (HL) and ETF2L (HL)
  • A full table example is listed at the bottom of this page

Table cross-section[edit]

Purple sections are controlled by Template:MapLeagueInclusionTable/Header
Orange sections are controlled by Template:MapLeagueInclusionTable/Row/Map
Hot Pink sections are controlled by Template:MapLeagueInclusionTable/Row/Info
Blue sections are controlled by Template:MapLeagueInclusionTable/Footer

Seasonal Inclusions by League
Map name 4v4 6v6 7v7 Highlander
UGC-Icon2.png UGC UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L EseaLogo.png ESEA Ozfortress Icon.png ozfortress RGL Icon.png RGL AsiaFortress-Icon.png AsiaFortress RGL Icon.png RGL UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L RGL Icon.png RGL
DownloadIcon.png cp_cheeseburger Season 1 Season 2 Season 3 Season 4 Season 5 Season 6 Season 7 Season 8 Season 9 Season 10 Season 11
Season 1 Season 2 Season 3
Total inclusions 1 out of 1 2 out of 2 1 out of 3 1 out of 4 1 out of 5 1 out of 6 2 out of 7 2 out of 8 1 out of 9 1 out of 10 1 out of 11

Italic bold denotes the current or latest season

Official map
Adapted or 'pro' version

Template:MapLeagueInclusionTable/Header[edit]

The header defines what leagues will be included in the table.
Setting any of the below parameters to '1' will display the parameter's league as a column.
|ugc4s, |ugc6s, |etf2l6s, |esea6s, |ozf6s, |rgl6s, |af6s, |rgl7s, |ugchl|etf2lhl and |rglhl,

Example[edit]

{{MapLeagueInclusionTable/Header
 | ugc6s = 1
 | etf2l6s = 1
 | esea6s = 1
 | ozf6s = 1
 | ugchl = 1
}}
|}

Will yield:

Seasonal Inclusions by League
[view] Map version 4v4 6v6 Prolander Highlander
UGC-Icon2.png UGC UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L EseaLogo.png ESEA Ozfortress Icon.png ozfortress RGL Icon.png RGL AsiaFortress-Icon.png AsiaFortress RGL Icon.png RGL UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L RGL Icon.png RGL

Template:MapLeagueInclusionTable/Row/Map[edit]

This controls everything inside the first cell of a single row.
|maptype - The coloured ribbon which indicates the map's type. Must be set to any of the following values:

  • official - For official maps, sets the ribbon colour to grey (#4F4F4F)
  • pro - For maps that have been adapted/re-created from another, or 'pro' maps (e.g. koth_product_rc8). Sets the ribbon colour to green (#F2F2F2)
  • normal - For maps that don't pertain to the above, makes the ribbon invisible

Parameters:
|mapname - The file name for the map version.
|mapdownload - The download link (URL) for the map version. Tips for how to find a map download are listed below.
|maplink - The wiki page the map name will link to. Should only be used for similar maps that are used in the same Inclusion Table (e.g. cp_granary and cp_granary_pro)
|maprowspan - The rowspan for the entire row, must be set to a value (can be set to 1). If set to more than 1, the same amount of /Row/Info rows will need to follow before another /Row/Map template can be used (e.g. if rowspan is set to 3, three /Row/Info templates will follow).

Finding a map download link[edit]

The preferable download is a direct link with the map in .bsp.bz2 format. Searching for the map's .bsp.bz2 file name (e.g. koth_product_rc8.bsp.bz2) can often find a website with a download link, make sure that the download is indeed .bsp.bz2 format and is trustworthy. Copying the website's download link address will give you the URL for the |mapdownload parameter.

There are 6 maps with no download links:

  • koth_lakeside.bsp.bz2
  • cp_logjam.bsp.bz2*
  • cp_obscure_remake.bsp.bz2
  • cp_obscure.bsp.bz2
  • cp_standin_rc5.bsp.bz2
  • cp_yukon.bsp.bz2

*This could be due to an archiving error by ETF2L, meaning a different map version is the correct map at hand

Template:MapLeagueInclusionTable/Row/Info[edit]

This controls the cells of the row that contain each seasonal inclusion.

  • Only parameters that are defined with the /Header template should be used
  • Parameters should be set to the season number of the parameter's league in which the map is included (e.g. |ugc4s = 2 if the map is included in Season 2 of the UGC 4s League)
  • Inclusions should of course be chronologically ordered
  • Parameters must be set to a value. If there is no seasonal inclusion, setting the parameter to 0 will leave it blank (#BABABA)
  • Inclusions for a map version with multiple rows should always be pushed to the top. For example:
Seasonal Inclusions by League
[view] Map version 4v4 6v6 Prolander Highlander
UGC-Icon2.png UGC UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L EseaLogo.png ESEA Ozfortress Icon.png ozfortress RGL Icon.png RGL AsiaFortress-Icon.png AsiaFortress RGL Icon.png RGL UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L RGL Icon.png RGL
cp_cheeseburger_pro_v42 Season Season 5 Season 17 Season Season Season Season Season Season Season
Season 4 Season Season 20 Season Season Season Season Season Season Season
Season 3 Season Season 16 Season Season Season Season Season Season Season

The above table is incorrect, as the ETF2L and ESEA columns have inclusions that are not at the top of the row. The following is a correct version:

Seasonal Inclusions by League
[view] Map version 4v4 6v6 Prolander Highlander
UGC-Icon2.png UGC UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L EseaLogo.png ESEA Ozfortress Icon.png ozfortress RGL Icon.png RGL AsiaFortress-Icon.png AsiaFortress RGL Icon.png RGL UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L RGL Icon.png RGL
cp_cheeseburger_pro_v42 Season Season 5 Season 20 Season 17 Season Season Season Season Season Season Season
Season 4 Season Season 16 Season Season Season Season Season Season Season
Season 3 Season Season Season Season Season Season Season Season

Full row example[edit]

{{MapLeagueInclusionTable/Header |ugc4s = 1 |esea6s = 1 |ozf6s = 1 |etf2lhl = 1}}
{{MapLeagueInclusionTable/Row/Map
 | maptype = pro
 | mapdownload = comp.tf
 | mapname = cp_cheeseburger_pro_v42
 | maprowspan = 1
}}
{{MapLeagueInclusionTable/Row/Info
 | ugc4s = 5
 | esea6s = 0
 | ozf6s = 14
 | etf2lhl = 7
}}
{{MapLeagueInclusionTable/Row/Map
 | maptype = official
 | mapname = cp_cheeseburger
 | maplink = Main Page
 | maprowspan = 2
}}
{{MapLeagueInclusionTable/Row/Info
 | ugc4s = 4
 | esea6s = 17
 | ozf6s = 13
 | etf2lhl = 0
}}
{{MapLeagueInclusionTable/Row/Info
 | ugc4s = 0
 | esea6s = 16
 | ozf6s = 0
 | etf2lhl = 0
}}

Will yield:

Seasonal Inclusions by League
[view] Map version 4v4 6v6 Prolander Highlander
UGC-Icon2.png UGC UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L EseaLogo.png ESEA Ozfortress Icon.png ozfortress RGL Icon.png RGL AsiaFortress-Icon.png AsiaFortress RGL Icon.png RGL UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L RGL Icon.png RGL
Download Link cp_cheeseburger_pro_v42 Season 5 Season Season Season 14 Season Season Season Season Season 7 Season
cp_cheeseburger Season 4 Season Season Season 17 Season 13 Season Season Season Season Season
Season Season Season 16 Season Season Season Season Season

Template:MapLeagueInclusionTable/Footer[edit]

The footer shows the total inclusions of a map in each individual league.

  • Only parameters that are defined with the /Header template (and therefore the /Row/Info template) should be used
  • Parameters should be set to the total number of seasonal inclusions that the parameter's league has displayed in the table (e.g. |esea6s = 2 if there are 6 inclusions under the ESEA column)
  • The total number of seasons (second part of each cell) is automatically calculated

There is also a 'key' section to the footer which is used as a legend to explain colours/text formatting used in the table.

Parameters:
|official - Displays a table explaining the grey (official) ribbon
|pro - Displays a table explaining the green (pro) ribbon

  • Parameters should only be included if the respective attribute is included in the table (e.g. only include the |pro parameter if there is a pro map in the table)
  • Set a parameter to '1' to display it
  • The caption (saying "Italic bold denotes the current or latest season") is controlled by Template:Current Rotations and is updated in conjunction with that template.

Example[edit]

{{MapLeagueInclusionTable/Header |ugc6s = 1 |etf2l6s = 1 |esea6s = 1 |ozf6s = 1 }}
{{MapLeagueInclusionTable/Footer
 | ugc6s = 1
 | etf2l6s = 2
 | esea6s = 3
 | ozf6s = 4
 | official = 1
 | pro = 1
}}

Will yield:

Seasonal Inclusions by League
[view] Map version 4v4 6v6 Prolander Highlander
UGC-Icon2.png UGC UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L EseaLogo.png ESEA Ozfortress Icon.png ozfortress RGL Icon.png RGL AsiaFortress-Icon.png AsiaFortress RGL Icon.png RGL UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L RGL Icon.png RGL
Total inclusions out of 28 1 out of 41 2 out of 46 3 out of 30 4 out of 38 out of 21 out of 13 out of 10 out of 39 out of 30 out of 16
Official map
Pro version

Full table example[edit]

{{MapLeagueInclusionTable/Header
 | ugc4s = 1
 | esea6s = 1
 | ozf6s = 1
 | etf2lhl = 1
}}
{{MapLeagueInclusionTable/Row/Map
 | maptype = pro
 | mapdownload = Main Page
 | mapname = cp_cheeseburger_pro_v42
 | maprowspan = 1
}}
{{MapLeagueInclusionTable/Row/Info
 | ugc4s = 5
 | esea6s = 0
 | ozf6s = 14
 | etf2lhl = 7
}}
{{MapLeagueInclusionTable/Row/Map
 | maptype = official
 | mapname = cp_cheeseburger
 | maplink = Main Page
 | maprowspan = 1
}}
{{MapLeagueInclusionTable/Row/Info
 | ugc4s = 4
 | esea6s = 17
 | ozf6s = 0
 | etf2lhl = 0
}}
{{MapLeagueInclusionTable/Footer
 | ugc4s = 2
 | esea6s = 1
 | ozf6s = 1
 | etf2lhl = 1
 | official = 1
 | pro = 1
}}

Will yield:

Seasonal Inclusions by League
[view] Map version 4v4 6v6 Prolander Highlander
UGC-Icon2.png UGC UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L EseaLogo.png ESEA Ozfortress Icon.png ozfortress RGL Icon.png RGL AsiaFortress-Icon.png AsiaFortress RGL Icon.png RGL UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L RGL Icon.png RGL
Download Link cp_cheeseburger_pro_v42 Season 5 Season Season Season 14 Season Season Season Season Season 7 Season
cp_cheeseburger Season 4 Season Season Season 17 Season Season Season Season Season
Total inclusions 2 out of 28 out of 41 out of 46 1 out of 30 1 out of 38 out of 21 out of 13 out of 10 out of 39 1 out of 30 out of 16
Official map
Pro version