Editing Template:GroupTableSlot/doc
Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.
The system administrator who locked it offered this explanation: We are currently working on upgrading comp.tf. Edits will be locked for most of March 2025, or until further notice. For questions, please contact staff on the comp.tf Discord. I apologise for the inconvenience.
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 | + | :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 | + | :(optional) Specify the number of '''matches''' the player has won/tied/lost. If not present the default value <code>0</code> is used. |
| − | ;| | + | ;|win_g=... |
| − | ;| | + | ;|lose_g=... |
| − | :(optional) Specify the number of ''' | + | :(optional) Specify the number of '''games''' the player has won/lost (like in a Bo3 match). If not present no games score is shown. |
| − | |||
| − | |||
| − | |||
| − | |||
== 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 | + | {{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| | + | {{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 | + | {{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| | + | {{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> | ||