Due to persistent vandalism, account creation has been suspended. If you would like an account, please contact Charlie Reams on Apterous.

Difference between revisions of "Template:Octostats"

From Countdown
(add cat)
 
(20 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<onlyinclude><table class="infobox" cellspacing="5" style="width: 21em; font-size: 90%; float: right; text-align: left;">
+
<includeonly>{| class="infobox" cellspacing="5" style="width: 21em; font-size: 90%; float: right; text-align: left; margin: 0pt 0pt 4pt 4pt"
<tr><td colspan="2" style="text-align: center; font-size: 130%; font-weight: bold;">{{PAGENAME}}</td></tr>
+
!colspan="2" style="text-align: center; font-size: 140%"|{{{5|{{PAGENAME}}}}}<br />octochamp statistics
<tr><th>Final position</th><td>{{{1}}}</td></tr>
+
|-
<tr><th>Seeding</th><td>{{{2}}}</td></tr>
+
|'''Final position'''
<tr><th>Points total</th><td>{{{3}}}</td></tr>
+
|{{#ifeq:{{{1}}}|Champion|'''{{{1}}}'''|{{{1}}}}}
<tr><th>Conundrums solved</th><td>{{{4}}}</td></tr>
+
|-
</table>[[Category:Octochamps]]</onlyinclude>
+
|'''Seeding'''
 +
|{{{2}}}
 +
|-
 +
|'''Points total'''
 +
|{{{3}}}
 +
|-
 +
|'''Conundrums solved'''
 +
|{{#ifeq:{{{4}}}|'''8'''|{{{4}}}[[Category:Contestants with eight consecutive prelim conundrum solves]]|{{{4}}}}}
 +
|}{{#ifexpr:{{formatnum:{{{3}}}|R}}>799|[[Category:800 club members]]}}</includeonly><noinclude>
  
[[Category:Templates|Octostats]]
+
==Usage==
 +
Infobox for [[octochamp]]s.
 +
 
 +
==Parameters==
 +
#Final position
 +
#Seeding
 +
#Points total
 +
#[[Conundrum]]s solved
 +
 
 +
==Example==
 +
On [[William Bradford]]'s page, typing:
 +
 
 +
<pre>{{octostats|Semi-finalist|2|399|2}}</pre>
 +
 
 +
produces:
 +
 
 +
{{octostats|Semi-finalist|2|399|2|William Bradford}}
 +
 
 +
[[Category:Templates]]</noinclude>

Latest revision as of 21:32, 1 June 2024


Usage

Infobox for octochamps.

Parameters

  1. Final position
  2. Seeding
  3. Points total
  4. Conundrums solved

Example

On William Bradford's page, typing:

{{octostats|Semi-finalist|2|399|2}}

produces:

William Bradford
octochamp statistics
Final position Semi-finalist
Seeding 2
Points total 399
Conundrums solved 2