Template:LeaderboardRow: Difference between revisions

Content added Content deleted
(Undo revision 5289 by Phenomist-alt (talk) - temp revert to try to debug)
Tag: Undo
(at least we can put preload template here)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:
<noinclude>{{#cargo_declare:
_table = Leaderboard
_table = Leaderboard
|team = String Display name used for hunt.
|team = String <!--Display name used for hunt.-->
|alias = Page Page name of hunting team, if different from team field.
|alias = Page <!--Page name of hunting team, if different from team field.-->
|subteams = List (,) of Page List of pages of component teams. (Useful for MH-sized teams, for example.)
|subteams = List (,) of Page <!--List of pages of component teams. (Useful for MH-sized teams, for example.)-->
|hunt = Page Page name of hunt.
|hunt = Page <!--Page name of hunt.-->
|rank = Integer Source of truth for rank. Use -1 for hosting team.
|rank = Integer <!--Source of truth for rank. Use -1 for hosting team.-->
|points = Float May mean "# of puzzles solved" in certain hunts.
|points = Float <!--May mean "# of puzzles solved" in certain hunts.-->
|tiebreaker = Float May mean "penalty" in certain hunts. Used as a secondary ranking information.
|tiebreaker = Float <!--May mean "penalty" in certain hunts. Used as a secondary ranking information.-->
|finishtime = Datetime May mean "last solved", and may serve as a tiebreaker when relevant.
|finishtime = Datetime <!--May mean "last solved", and may serve as a tiebreaker when relevant.-->
|comment = Wikitext Special notes to add in hunt leaderboard, for instance alternative subrankings or special prizes.
|comment = Wikitext <!--Special notes to add in hunt leaderboard, for instance alternative subrankings or special prizes.-->
}}</noinclude><includeonly>
}}</noinclude><includeonly>{{#cargo_store:
{{#cargo_store:
_table = Leaderboard
_table = Leaderboard
|hunt = {{PAGENAME}}
|hunt = {{PAGENAME}}
}}{| class="wikitable"
}}
|-
</includeonly>
| width="300px"| {{Preload|{{#if:{{{alias|}}}|{{{alias}}}|{{{team}}}}}|{{{team}}}|preload=Wiki:Page Structure/Teams|color=#c00}}
| width="200px"| alias={{{alias|}}}
| width="200px"|subteams={{{subteams|}}}
| width="50px" | rank={{{rank|}}}
| width="50px" | pts={{{points|}}}
| width="50px" | tb={{{tiebreaker|}}}
| width="150px"| ftime={{{finishtime |}}}
| width="200px"| comment={{{comment|}}}
|}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 20:11, 5 October 2022

This template defines the table "Leaderboard". View table.