Editing Template:GroupTableSlot/doc

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.

Latest revision Your text
Line 1: Line 1:
This template is for a row inside a group table. It is used together with the templates <nowiki>{{</nowiki>[[Template:GroupTableStart|GroupTableStart]]<nowiki>}}</nowiki> and <nowiki>{{</nowiki>[[Template:GroupTableEnd|GroupTableEnd]]<nowiki>}}</nowiki>
+
Begins a group table. This template is used together with the templates <nowiki>{{</nowiki>GroupTableSlot<nowiki>}}</nowiki> and <nowiki>{{</nowiki>GroupTableEnd<nowiki>}}</nowiki>
  
 
== Parameters ==
 
== Parameters ==
  
The following parameters can be used in this template
+
The following parameters can be used for this template
  
;''first parameter''
+
;''first unnamed argument''
:The first parameter in this template (technically the <nowiki>{{{1}}}</nowiki> field) is used as the team name. This can be even a template call like {{team/Epsilon}}.
+
:The first unnamed argument of the parameter list is used as the caption of the group table. Examples could be <code>Group D</code> or <code>Week 3</code>.
;|place=...
+
;width=...
:(optional) The place number to shown. If this parameter is not set the value <code>X</code> is used.
+
:(optional) This argument specify the width of the table. The value can be any CSS width value.
;|bg=...
+
;hide=...
:(optional) The background color for the slot. This can be every CSS color values, but the following color names has been added to the template for easy use:
+
:(optional)
:;|bg=proceed
+
:;hide=false
:;|bg=up
+
::makes table collapsible, shows it.
::Use a light green background to indicate that this position is a proceeding place inside the group.
+
:;hide=true
:;|bg=staydown
+
::makes table collapsible, hides it.
::Use a light yellow background to indicate that this player will stay at the same stage in the tournament or advance through a longer bracket or group stage.
+
;preview
:;|bg=drop
+
:(Optional) Put a link to a preview here.
:;|bg=down
+
;lrthread
::Use a light red background to indicate that this position will drop the player from the group.
+
:(Optional) Put a link to the live report thread here.
;|pbg=...
+
;vod
:(optional) The background color for the place column. This can be every CSS color, but the following color names has been added to the template for easy use:
+
:(Optional) Put a link to the VOD(s) here.
:;|pbg=proceed
+
:For secondary (tertiary, etc) VOD sources use '''vod2''', '''vod3''' etc.
:;|pbg=up
+
;interview
::Use a light green background to indicate that this position is a proceeding place inside the group.
+
:(Optional) Put a link to the interview(s) here.
:;|pbg=drop
+
;recap
:;|pbg=down
+
:(Optional) Put a link to the recap here.
::Use a light red background to indicate that this position will drop the player from the group.
+
;date
;|win_m=...
+
:(Optional) Put the date here. It will display between the title row and the first [[Template:GroupTableSlot|group slot]].
;|tie_m=...
+
;finished
;|lose_m=...
+
:(Optional) Put in "true" if the group has already finished.
:(optional) Specify the number of '''matches''' the team has won/tied/lost. If not present the default value <code>0</code> is used.
+
;stream
;|win_r=...
+
:(Optional) Put in the TL stream name or - if not on TL - the URL to the stream.
;|lose_r=...
+
;location
:(optional) Specify the number of '''rounds''' the team has won/lost (like in a Bo3 match). If not present no games score is shown.
+
:(Optional) Put in the location where the group is being played.
;|temp_p=...
+
== Examples ==
:(optional) Additional points for the team.
+
=== #1 ===
;|points=...
+
<nowiki>{{Template:GroupTableStart|Group D|width=300px}}</nowiki>
:(optional) Manual number of '''points''' the team has. Does not depend to win_r and tie_r. If you want it to depend it to win_r and tie_r use |show_p= in GroupTableStart
+
<nowiki>{{Template:GroupTableEnd}}</nowiki>
  
== Example ==
+
This will result in the following table
  
<nowiki>{{GroupTableStart| Group B }}
+
{{GroupTableStart|Group D|width=300px}}
{{GroupTableSlot| No arguments at all}}
+
{{GroupTableEnd}}
{{GroupTableSlot| With place |place=3}}
+
 
{{GroupTableSlot| With matches |win_m=3|lose_m=1}}
+
=== #2 ===
{{GroupTableSlot| With rounds |win_r=2|lose_r=1}}
+
<nowiki>{{GroupTableStart|Group A|width=300px
{{GroupTableSlot| With difference |diff=-8}}
+
|date=April 23, 2013 18:10 {{Abbr/KST}}
{{GroupTableSlot| With proceed background|bg=proceed}}
+
|preview=http://www.teamliquid.net/forum/viewmessage.php?topic_id=301734#three
{{GroupTableSlot| With drop background|bg=drop}}
+
|lrthread=http://www.teamliquid.net/forum/viewmessage.php?topic_id=308196
{{GroupTableSlot| With pbg background|pbg=proceed}}
+
|vod=http://www.gomtv.net/2012gsls1/vod/66754
{{GroupTableSlot| With everything |place=10|win_m=5|lose_m=1|win_r=10|lose_r=4}}
+
|interview=http://www.teamliquid.net/forum/viewmessage.php?topic_id=302021
 +
|recap=http://www.teamliquid.net/forum/viewmessage.php?topic_id=301952#one
 +
}}
 
{{GroupTableEnd}}</nowiki>
 
{{GroupTableEnd}}</nowiki>
  
This will result in the following group table (showing all possibilities, only one scheme should be used through the whole group table).
+
This will result in the following table
  
{{GroupTableStart| Group B }}
+
{{GroupTableStart|Group A|width=300px
{{GroupTableSlot| No arguments at all}}
+
|date=April 23, 2013 18:10 {{Abbr/KST}}
{{GroupTableSlot| With place |place=3}}
+
|preview=http://www.teamliquid.net/forum/viewmessage.php?topic_id=301734#three
{{GroupTableSlot| With matches |win_m=3|lose_m=1}}
+
|lrthread=http://www.teamliquid.net/forum/viewmessage.php?topic_id=308196
{{GroupTableSlot| With rounds |win_r=2|lose_r=1}}
+
|vod=http://www.gomtv.net/2012gsls1/vod/66754
{{GroupTableSlot| With difference |diff=-8}}
+
|interview=http://www.teamliquid.net/forum/viewmessage.php?topic_id=302021
{{GroupTableSlot| With proceed background|bg=proceed}}
+
|recap=http://www.teamliquid.net/forum/viewmessage.php?topic_id=301952#one
{{GroupTableSlot| With drop background|bg=drop}}
+
}}
{{GroupTableSlot| With pbg background|pbg=proceed}}
+
{{GroupTableEnd}}
{{GroupTableSlot| With everything |place=10|win_m=5|lose_m=1|win_r=10|lose_r=4}}
+
== Copy/Paste ==
 +
<nowiki>
 +
{{GroupTableStart|Group A|width=415px|date=}}
 +
{{GroupTableSlot|{{team/}} |place=1|win_m=|draw_m=|lose_m=|win_r=|lose_r=|diff=|pbg=up}}
 +
{{GroupTableSlot|{{team/}} |place=2|win_m=|draw_m=|lose_m=|win_r=|lose_r=|diff=|pbg=up}}
 +
{{GroupTableSlot|{{team/}} |place=3|win_m=|draw_m=|lose_m=|win_r=|lose_r=|diff=|pbg=down}}
 +
{{GroupTableSlot|{{team/}} |place=4|win_m=|draw_m=|lose_m=|win_r=|lose_r=|diff=|pbg=down}}
 
{{GroupTableEnd}}
 
{{GroupTableEnd}}
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
+
{{MatchList|width=415px|title=Group A Matches
 +
|match1={{MatchMaps
 +
|team1= |team2=
 +
|date= |finished=
 +
|hltv=
 +
|cevo=
 +
|winner=
 +
|games1= |games2=
 +
|map1= |map1win=
 +
|walkover=
 +
}}
 +
|match2={{MatchMaps
 +
|team1= |team2=
 +
|date= |finished=
 +
|hltv=
 +
|cevo=
 +
|winner=
 +
|games1= |games2=
 +
|map1= |map1win=
 +
|walkover=
 +
}}
 +
|match3={{MatchMaps
 +
|team1= |team2=
 +
|date= |finished=
 +
|hltv=
 +
|cevo=
 +
|winner=
 +
|games1= |games2=
 +
|map1= |map1win=
 +
|walkover=
 +
}}
 +
|match4={{MatchMaps
 +
|team1= |team2=
 +
|date= |finished=
 +
|hltv=
 +
|cevo=
 +
|winner=
 +
|games1= |games2=
 +
|map1= |map1win=
 +
|walkover=
 +
}}
 +
|match5={{MatchMaps
 +
|team1= |team2=
 +
|date= |finished=
 +
|hltv=
 +
|cevo=
 +
|winner=
 +
|games1= |games2=
 +
|map1= |map1win=
 +
|walkover=
 +
}}
 +
|match6={{MatchMaps
 +
|team1= |team2=
 +
|date= |finished=
 +
|hltv=
 +
|cevo=
 +
|winner=
 +
|games1= |games2=
 +
|map1= |map1win=
 +
|walkover=
 +
}}
 +
}}
 +
</nowiki>

Please note that all contributions to comp.tf may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see comp.tf:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)