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 6: Line 6:
  
 
;''first parameter''
 
;''first parameter''
: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 parameter in this template (technically the <nowiki>{{{1}}}</nowiki> field) is used as the player name. This can be even a template call like {{tl|player}}.
 
;|place=...
 
;|place=...
 
:(optional) The place number to shown. If this parameter is not set the value <code>X</code> is used.
 
:(optional) The place number to shown. If this parameter is not set the value <code>X</code> is used.
Line 27: Line 27:
 
:;|pbg=down
 
:;|pbg=down
 
::Use a light red background to indicate that this position will drop the player from the group.
 
::Use a light red background to indicate that this position will drop the player from the group.
 +
;|go=...
 +
:(optional) If present an arrow indicating the movement inside the group will shown. The following values can be used:
 +
:;|go=up
 +
::Shows the {{PlaceUp}} arrow.
 +
:;|go=same
 +
::Shows the {{PlaceSame}} arrow.
 +
:;|go=down
 +
::Shows the {{PlaceDown}} arrow.
 +
:;|go=...
 +
::Show the given content instead.
 
;|win_m=...
 
;|win_m=...
 
;|tie_m=...
 
;|tie_m=...
 
;|lose_m=...
 
;|lose_m=...
:(optional) Specify the number of '''matches''' the team has won/tied/lost. If not present the default value <code>0</code> is used.
+
:(optional) Specify the number of '''matches''' the player has won/tied/lost. If not present the default value <code>0</code> is used.
;|win_r=...
+
;|win_g=...
;|lose_r=...
+
;|lose_g=...
:(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) Specify the number of '''games''' the player has won/lost (like in a Bo3 match). If not present no games score is shown.
;|temp_p=...
 
:(optional) Additional points for the team.
 
;|points=...
 
:(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
 
  
 
== Example ==
 
== Example ==
Line 45: Line 51:
 
{{GroupTableSlot| With place |place=3}}
 
{{GroupTableSlot| With place |place=3}}
 
{{GroupTableSlot| With matches |win_m=3|lose_m=1}}
 
{{GroupTableSlot| With matches |win_m=3|lose_m=1}}
{{GroupTableSlot| With rounds |win_r=2|lose_r=1}}
+
{{GroupTableSlot| With games |win_g=2|lose_g=1}}
 +
{{GroupTableSlot| With arrow |go=up}}
 
{{GroupTableSlot| With difference |diff=-8}}
 
{{GroupTableSlot| With difference |diff=-8}}
 
{{GroupTableSlot| With proceed background|bg=proceed}}
 
{{GroupTableSlot| With proceed background|bg=proceed}}
 
{{GroupTableSlot| With drop background|bg=drop}}
 
{{GroupTableSlot| With drop background|bg=drop}}
 
{{GroupTableSlot| With pbg background|pbg=proceed}}
 
{{GroupTableSlot| With pbg background|pbg=proceed}}
{{GroupTableSlot| With everything |place=10|win_m=5|lose_m=1|win_r=10|lose_r=4}}
+
{{GroupTableSlot| With everything |place=10|go=same|win_m=5|lose_m=1|win_g=10|lose_g=4|diff=+4}}
 
{{GroupTableEnd}}</nowiki>
 
{{GroupTableEnd}}</nowiki>
  
Line 59: Line 66:
 
{{GroupTableSlot| With place |place=3}}
 
{{GroupTableSlot| With place |place=3}}
 
{{GroupTableSlot| With matches |win_m=3|lose_m=1}}
 
{{GroupTableSlot| With matches |win_m=3|lose_m=1}}
{{GroupTableSlot| With rounds |win_r=2|lose_r=1}}
+
{{GroupTableSlot| With games |win_g=2|lose_g=1}}
 +
{{GroupTableSlot| With arrow |go=up}}
 
{{GroupTableSlot| With difference |diff=-8}}
 
{{GroupTableSlot| With difference |diff=-8}}
 
{{GroupTableSlot| With proceed background|bg=proceed}}
 
{{GroupTableSlot| With proceed background|bg=proceed}}
 
{{GroupTableSlot| With drop background|bg=drop}}
 
{{GroupTableSlot| With drop background|bg=drop}}
 
{{GroupTableSlot| With pbg background|pbg=proceed}}
 
{{GroupTableSlot| With pbg background|pbg=proceed}}
{{GroupTableSlot| With everything |place=10|win_m=5|lose_m=1|win_r=10|lose_r=4}}
+
{{GroupTableSlot| With everything |place=10|go=same|win_m=5|lose_m=1|win_g=10|lose_g=4|diff=+4}}
 
{{GroupTableEnd}}
 
{{GroupTableEnd}}
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>

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)