User:Shalley303/Sandbox/Final standings/doc
Appearance
This is a documentation subpage for User:Shalley303/Sandbox/Final standings. It may contain usage information, categories and other content that is not part of the original user template page. |
Description
[edit]This is a variable length final standing template. You can use this template to add a final standings table to a page. This template currently supports up to 100 places. This is intended as a substitute for the static tables used for final standings throughout Wikipedia.
- Parameters
- sortable - Set this to any value to make the table sortable.
- medals - If this variable is set to a number then medal icons will be displayed instead of numbers.
- Use the following table to determine which value to use for medals.
- place-width - Set the width of the place column. Default = 3em
- place-title - Set the menu title for the place column. Default = "Place"
- team-width - Set the width of the team name column. Default = 11em
- team-title - Set the menu title for the team column. Default = "Team"
- colX-width - Set the width for addition column X. You can set up to five additional columns.
- colX-title - Set the menu title for addition column X. You can set up to five additional columns.
- teamX - Set a team position. X will be the final position. The value should be equal to the team name.
- teamXcY - Set the data for column Y for the team X. For use in multicolumn tables.
- teamXbg - Set the background color for the table row for team X.
Examples
[edit]Single Column
[edit]
With Medals |
Without Medals |
With Medals |
Without Medals |
With Medals |
|
|
|
|
|
{{Final standings | medals=1 | team-width=10em | team1bg=gold | team2bg=silver | team3bg=#C96 | team1=Team A | team2=Team B | team3=Team C | team4=Team D | team5=Team E | team6=Team F }} |
{{Final standings | medals=0 | team-width=10em | team1=Team A | team1bg=#CFC | team2=Team B | team2bg=#CFC | team3=Team C | team3bg=#CFC | team4=Team D | team4bg=#CFC | team5=Team E | team6=Team F }} |
{{Final standings | medals=2 | team-width=10em | team1= | team2= | team3= | team4= | team5=Team E | team6=Team F }} |
{{Final standings | place-width=3em | place-title=# | team-width=10em | team-title=Runner | team1=Player A | team2=Player B | team3=Player C | team4= | team5= | team6= }} |
{{Final standings | medals=3 | team-width=10em | team1=Team A | team2=Team B | team32=Team C | team64=Team D | team55=Team E | team100=Team F }} Note: Out of order okay. |
Multiple Columns
[edit]
With Medals |
Without Medals |
With Medals |
|
|
|
{{Final standings | medals=2 | place-title=Finish | team-width=10em | team-title=Runner | col1-title=Time | team1=Player A | team1c1=11:00.00 | team2=Player B | team2c1=11:00.25 | team3=Player C | team3c1=11:01.00 | team4=Player D | team4c1=11:02.50 | team5=Player E | team5c1=11:02.52 | team6=Player F | team6c1=11:05.00 }} |
{{Final standings | medals=2 | sortable=1 | place-title=Finish | team-width=10em | team-title=Runner | col1-title=Time | col2-title=Back | col2-width=4em | team1=Player A | team1c1=11:00.00 | team1c2=0.00 | team2=Player B | team2c1=11:00.25 | team2c2=0.25 | team3=Player C | team3c1=11:01.00 | team3c2=1.00 | team4=Player D | team4c1=11:02.50 | team4c2=2.50 | team5=Player E | team5c1=11:02.52 | team5c2=2.52 | team6=Player F | team6c1=11:05.00 | team6c2=5.00 }} |
{{Final standings | medals=2 | place-title=Finish | team-width=10em | team-title=Runner | col1-title=Time | col2-title=Back | col2-width=4em | col3-title=Diff | col3-width=4em | team1=Player A | team1bg=gold | team1c1=11:00.00 | team1c2=0.00 | team1c3=0.00 | team2=Player B | team2bg=silver | team2c1=11:00.25 | team2c2=0.25 | team2c3=0.25 | team3=Player C | team3bg=#C96 | team3c1=11:01.00 | team3c2=1.00 | team3c3=0.75 | team4=Player D | team4c1=11:02.50 | team4c2=2.50 | team4c3=1.50 | team5=Player E | team5c1=11:02.52 | team5c2=2.52 | team5c3=0.02 | team6=Player F | team6c1=11:05.00 | team6c2=5.00 | team6c3=2.48 }}
|
Infobox
[edit]{{Final standings | sortable= | medals= | place-title= | place-width= | team-title= | team-width= | col1-title= | col1-width= | team1= | team1c1= | team1c2= | team1c3= | team1c4= | team1c5= | team1bg= }}
See also
[edit]- User:Shalley303/Sandbox/Final standings/tr — Used for table row data