Difference between revisions of "Template:Jeopardy! row"

From QBWiki
Jump to navigation Jump to search
m
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>|-
 
<includeonly>|-
| {{{1}}} || {{{2}}} || {{{wins|0}}} || ${{{winnings|1000}}} || {{{jarchive|}}} || {{{3|}}}
+
| {{{2}}} || [[{{{1}}}]] || {{{3|0}}} || {{if|test={{{3|}}}|then={{if|test={{{winnings|}}}|then=${{{winnings}}} {{if|test={{{loss|}}}|then=(+${{{loss}}},000)}} }}|else=${{{winnings|0}}} {{if|test={{{loss|}}}|then=(+${{{loss}}},000)}} }} || {{{4|}}}{{{info|}}}
 
|-</includeonly>
 
|-</includeonly>
 
<noinclude>A row of the table listing quizbowlers who have appeared on Jeopardy!. For use in the [[Jeopardy!]] page.
 
<noinclude>A row of the table listing quizbowlers who have appeared on Jeopardy!. For use in the [[Jeopardy!]] page.
  
*{{{1}}} - The year the player competed.
+
<pre>|-
*{{{2}}} - The name of the player, ideally a link to their page on the wiki. This is an anonymous parameter, so it will take the first unnamed parameter.
+
| {{{2}}} || [[{{{1}}}]] || {{{3|0}}} || {{if|test={{{3|}}}|then={{if|test={{{winnings|}}}|then=${{{winnings}}} {{if|test={{{loss|}}}|then=(+${{{loss}}},000)}} }}|else=${{{winnings|0}}} {{if|test={{{loss|}}}|then=(+${{{loss}}},000)}} }} || {{{4|}}}{{{info|}}}
*wins - The number of wins in regular season play. If left empty, will default to 0.
+
|-</pre>
*winnings - Their total cash winnings. if left empty, will default to 1000 (the third place prize).
+
 
*jarchive - A link to the player's J! Archive page. The archive does not use player name as part of its URLs, so this has to be manually searched.
+
*{{{1}}} - The name of the player - will be made a link to their page on the wiki. This is an anonymous parameter, so it will take the first unnamed parameter.
*{{{3}}} - Additional information about the player.
+
*{{{2}}} - The year the player competed. In parentheses, the tournament (e.g. Teen, Teachers, College). If year is unknown, a question mark is recommended.
 +
*{{{3}}} - The number of wins in regular season play. If left empty, will default to 0.
 +
*winnings - Their total cash winnings. If a number of wins is entered, winnings will take not take default value, so it'll appear empty if nothing is entered. This is not a valid state, but will avoid showing incorrect data. If a number of wins is ''not'' entered (i.e. 0 wins), it will default to 0.
 +
*loss - The money they earned for losing. Should typically be either 2 or 1 (which are displayed as 2,000 and 1,000). No default, because tournament participants receive money based on overall placement and thus do not receive separate money for getting 2nd/3rd, and because sufficiently old tournaments gave non-cash prizes for 2nd and 3rd. Note that this doesn't sort properly when the winnings are tied, but who cares.
 +
*{{{4}}}/info - Additional information about the player. This is the 4th anonymous parameter, so will only work without a name if all previous parameters are provided (name, year, wins). If this is not the case, it can be manually specified using "info". It is a known bug that, if you embed a link into the info, it will need to explicitly be given the name "info" - it will not be displayed if left anonymous.
  
 
To view the column names for this table, see [[Template:Jeopardy! table start]].
 
To view the column names for this table, see [[Template:Jeopardy! table start]].
  
<pre>|-
+
Example table:
| {{{1}}} || {{{2}}} || {{{wins|0}}} || ${{{winnings|1000}}} || {{{jarchive|}}} || {{{3|}}}
+
{{Jeopardy! table start}}
|-</pre></noinclude>
+
{{Jeopardy! row|Ken Jennings|2004|74|winnings=2,522,700|loss=2|[[NAQT]] member}}
 +
{{Jeopardy! row|Jeff Hoppes|2004|loss=2|info=Lost to Ken Jennings}}
 +
{{Jeopardy! row|Mystery Contestant|1901|3}}
 +
{{Jeopardy! row|Regular-season Loser|1901|loss=1}}
 +
{{Jeopardy! row|(Old) Loser|1901|info=Won a set of steak knives.}}
 +
{{Jeopardy! row|Tournament Participant|1901 (Teen)|3|winnings=30,000}}
 +
{{Jeopardy! table end}}
 +
*Year, wins, winnings, and final placement known. Additional info provided with anonymous parameter, as all previous anonymous parameters were used.
 +
<pre>
 +
{{Jeopardy! row|Ken Jennings|2004|74|winnings=2,522,700|loss=2|NAQT member}}
 +
</pre>
 +
*Year, wins, winnings, and final placement known. However, wins known to be 0 so 3rd anonymous parameter left blank and "info" parameter used explicitly.
 +
<pre>
 +
{{Jeopardy! row|Jeff Hoppes|2004|loss=2|info=Lost to Ken Jennings}}
 +
</pre>
 +
*Known year and number of wins, but unknown winnings/final placement. Thus, it shows an empty cell.
 +
<pre>
 +
{{Jeopardy! row|Mystery Regular-season Contestant|1901|3}}
 +
</pre>
 +
*Known wins and winnings (0 and $0) with 3rd place finish.
 +
<pre>
 +
{{Jeopardy! row|Regular-season Loser|1901|loss=1}}
 +
</pre>
 +
*Known wins and winnings (0 and $0) with non-cash prize for losing.
 +
<pre>
 +
{{Jeopardy! row|(Old) Loser|1901 (Teen)|info=Won a set of steak knives.}}
 +
</pre>
 +
*Known wins and winnings and no cash prize for losing because it was a tournament.
 +
<pre>
 +
{{Jeopardy! row|Tournament Participant|1901 (Teen)|4|winnings=30,000}}
 +
</pre>
 +
</noinclude>

Latest revision as of 09:09, 12 March 2021

A row of the table listing quizbowlers who have appeared on Jeopardy!. For use in the Jeopardy! page.

|-
| {{{2}}} || [[{{{1}}}]] || {{{3|0}}} || {{if|test={{{3|}}}|then={{if|test={{{winnings|}}}|then=${{{winnings}}} {{if|test={{{loss|}}}|then=(+${{{loss}}},000)}} }}|else=${{{winnings|0}}} {{if|test={{{loss|}}}|then=(+${{{loss}}},000)}} }} || {{{4|}}}{{{info|}}}
|-
  • {{{1}}} - The name of the player - will be made a link to their page on the wiki. This is an anonymous parameter, so it will take the first unnamed parameter.
  • {{{2}}} - The year the player competed. In parentheses, the tournament (e.g. Teen, Teachers, College). If year is unknown, a question mark is recommended.
  • {{{3}}} - The number of wins in regular season play. If left empty, will default to 0.
  • winnings - Their total cash winnings. If a number of wins is entered, winnings will take not take default value, so it'll appear empty if nothing is entered. This is not a valid state, but will avoid showing incorrect data. If a number of wins is not entered (i.e. 0 wins), it will default to 0.
  • loss - The money they earned for losing. Should typically be either 2 or 1 (which are displayed as 2,000 and 1,000). No default, because tournament participants receive money based on overall placement and thus do not receive separate money for getting 2nd/3rd, and because sufficiently old tournaments gave non-cash prizes for 2nd and 3rd. Note that this doesn't sort properly when the winnings are tied, but who cares.
  • {{{4}}}/info - Additional information about the player. This is the 4th anonymous parameter, so will only work without a name if all previous parameters are provided (name, year, wins). If this is not the case, it can be manually specified using "info". It is a known bug that, if you embed a link into the info, it will need to explicitly be given the name "info" - it will not be displayed if left anonymous.

To view the column names for this table, see Template:Jeopardy! table start.

Example table:

Year Player Season wins Winnings Additional information
2004 Ken Jennings 74 $2,522,700 (+$2,000) NAQT member
2004 Jeff Hoppes 0 $0 (+$2,000) Lost to Ken Jennings
1901 Mystery Contestant 3
1901 Regular-season Loser 0 $0 (+$1,000)
1901 (Old) Loser 0 $0 Won a set of steak knives.
1901 (Teen) Tournament Participant 3 $30,000

For more information about any of these players, please use the search feature on the J! Archive.

  • Year, wins, winnings, and final placement known. Additional info provided with anonymous parameter, as all previous anonymous parameters were used.
{{Jeopardy! row|Ken Jennings|2004|74|winnings=2,522,700|loss=2|NAQT member}}
  • Year, wins, winnings, and final placement known. However, wins known to be 0 so 3rd anonymous parameter left blank and "info" parameter used explicitly.
{{Jeopardy! row|Jeff Hoppes|2004|loss=2|info=Lost to Ken Jennings}}
  • Known year and number of wins, but unknown winnings/final placement. Thus, it shows an empty cell.
{{Jeopardy! row|Mystery Regular-season Contestant|1901|3}}
  • Known wins and winnings (0 and $0) with 3rd place finish.
{{Jeopardy! row|Regular-season Loser|1901|loss=1}}
  • Known wins and winnings (0 and $0) with non-cash prize for losing.
{{Jeopardy! row|(Old) Loser|1901 (Teen)|info=Won a set of steak knives.}}
  • Known wins and winnings and no cash prize for losing because it was a tournament.
{{Jeopardy! row|Tournament Participant|1901 (Teen)|4|winnings=30,000}}