Difference between revisions of "Template:Jeopardy! row"

From QBWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly>|-
 
<includeonly>|-
| {{{2}}} || [[{{{1}}}]] || {{{3|0}}} || {{if|test={{{3|}}}|then={{if|test={{{winnings|}}}|then=${{{winnings}}} (+${{{loss|1,000}}})|else=}}|else=${{{winnings|0}}} (+${{{loss|1,000}}})}} || {{if|test={{{jarchive|}}}|then=[{{{jarchive}}} link]}} || {{{4|}}}{{{info|}}}
+
| {{{2}}} || [[{{{1}}}]] || {{{3|0}}} || {{if|test={{{3|}}}|then={{if|test={{{winnings|}}}|then=${{{winnings}}} (+${{{loss|1}}},000)|else=}}|else=${{{winnings|0}}} (+${{{loss|1,000}}})}} || {{if|test={{{jarchive|}}}|then=[{{{jarchive}}} link]}} || {{{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.
Line 12: Line 12:
 
*{{{3}}} - The number of wins in regular season play. If left empty, will default to 0.
 
*{{{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.
 
*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. Can be either 2,000 or 1,000 but defaults to 1,000. Note that this doesn't sort properly when the winnings are tied, but who cares.
+
*loss - The money they earned for losing. Can be either 2 or 1 (which are displayed as 2,000 and 1,000) but defaults to 1. Note that this doesn't sort properly when the winnings are tied, but who cares.
 
*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. If no link is provided, then it will be empty.
 
*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. If no link is provided, then it will be empty.
 
*{{{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".
 
*{{{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".
Line 20: Line 20:
 
Example table:
 
Example table:
 
{{Jeopardy! table start}}
 
{{Jeopardy! table start}}
{{Jeopardy! row|Ken Jennings|2004|74|winnings=2,522,700|loss=2,000|jarchive=https://www.j-archive.com/showplayer.php?player_id=1|[[NAQT]] member}}
+
{{Jeopardy! row|Ken Jennings|2004|74|winnings=2,522,700|loss=2|jarchive=https://www.j-archive.com/showplayer.php?player_id=1|[[NAQT]] member}}
{{Jeopardy! row|Jeff Hoppes|2004|loss=2,000|jarchive=https://www.j-archive.com/showplayer.php?player_id=95|info=Lost to Ken Jennings}}
+
{{Jeopardy! row|Jeff Hoppes|2004|loss=2|jarchive=https://www.j-archive.com/showplayer.php?player_id=95|info=Lost to Ken Jennings}}
 
{{Jeopardy! row|Leo Wolpert|2004|jarchive=https://www.j-archive.com/showplayer.php?player_id=90|info=Lost to Ken Jennings. Still extraordinarily bitter about the whole thing.}}
 
{{Jeopardy! row|Leo Wolpert|2004|jarchive=https://www.j-archive.com/showplayer.php?player_id=90|info=Lost to Ken Jennings. Still extraordinarily bitter about the whole thing.}}
{{Jeopardy! row|David Madden|2005|19|winnings=430,400|loss=2,000|Creator of [[NHBB]]}}
+
{{Jeopardy! row|David Madden|2005|19|winnings=430,400|loss=2|Creator of [[NHBB]]}}
 
{{Jeopardy! row|Mystery Contestant|1901|3}}
 
{{Jeopardy! row|Mystery Contestant|1901|3}}
 
{{Jeopardy! row|Mystery Contestant|1901}}
 
{{Jeopardy! row|Mystery Contestant|1901}}
Line 29: Line 29:
 
*All anonymous parameters provided + winnings + 2nd place finish + J! Archive link.  
 
*All anonymous parameters provided + winnings + 2nd place finish + J! Archive link.  
 
<pre>
 
<pre>
{{Jeopardy! row|Ken Jennings|2004|74|winnings=2,522,700|loss=2,000|jarchive=https://www.j-archive.com/showplayer.php?player_id=1|NAQT member}}
+
{{Jeopardy! row|Ken Jennings|2004|74|winnings=2,522,700|loss=2|jarchive=https://www.j-archive.com/showplayer.php?player_id=1|NAQT member}}
 
</pre>
 
</pre>
 
*Only first two anonymous parameters provided, because no wins. No winnings + 2nd place finish. As a result, info parameter used.
 
*Only first two anonymous parameters provided, because no wins. No winnings + 2nd place finish. As a result, info parameter used.
 
<pre>
 
<pre>
{{Jeopardy! row|Jeff Hoppes|2004|loss=2,000|jarchive=https://www.j-archive.com/showplayer.php?player_id=95|info=Lost to Ken Jennings}}
+
{{Jeopardy! row|Jeff Hoppes|2004|loss=2|jarchive=https://www.j-archive.com/showplayer.php?player_id=95|info=Lost to Ken Jennings}}
 
</pre>
 
</pre>
 
*Only first two anonymous parameters provided, because no wins, which also meant no winnings. No loss value entered because 3rd place. Info parameter also used.
 
*Only first two anonymous parameters provided, because no wins, which also meant no winnings. No loss value entered because 3rd place. Info parameter also used.
Line 41: Line 41:
 
*All anonymous parameters, winnings + 2nd place finish, but no J! Archive link.
 
*All anonymous parameters, winnings + 2nd place finish, but no J! Archive link.
 
<pre>
 
<pre>
{{Jeopardy! row|David Madden|2005|19|winnings=430,400|loss=2,000|Creator of [[NHBB]]}}
+
{{Jeopardy! row|David Madden|2005|19|winnings=430,400|loss=2|Creator of [[NHBB]]}}
 
</pre>
 
</pre>
 
*All anonymous parameters but no winnings. Thus, it shows an empty cell.
 
*All anonymous parameters but no winnings. Thus, it shows an empty cell.

Revision as of 13:30, 11 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={{{winnings|}}}|else=${{{winnings|0}}} (+${{{loss|1,000}}})}} || {{if|test={{{jarchive|}}}|then=[{{{jarchive}}} link]}} || {{{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)
  • {{{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. Can be either 2 or 1 (which are displayed as 2,000 and 1,000) but defaults to 1. Note that this doesn't sort properly when the winnings are tied, but who cares.
  • 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. If no link is provided, then it will be empty.
  • {{{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".

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) link NAQT member
2004 Jeff Hoppes 0 $0 (+$2) link Lost to Ken Jennings
2004 Leo Wolpert 0 $0 (+$1,000) link Lost to Ken Jennings. Still extraordinarily bitter about the whole thing.
2005 David Madden 19 $430,400 (+$2,000) Creator of NHBB
1901 Mystery Contestant 3
1901 Mystery Contestant 0 $0 (+$1,000)

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

  • All anonymous parameters provided + winnings + 2nd place finish + J! Archive link.
{{Jeopardy! row|Ken Jennings|2004|74|winnings=2,522,700|loss=2|jarchive=https://www.j-archive.com/showplayer.php?player_id=1|NAQT member}}
  • Only first two anonymous parameters provided, because no wins. No winnings + 2nd place finish. As a result, info parameter used.
{{Jeopardy! row|Jeff Hoppes|2004|loss=2|jarchive=https://www.j-archive.com/showplayer.php?player_id=95|info=Lost to Ken Jennings}}
  • Only first two anonymous parameters provided, because no wins, which also meant no winnings. No loss value entered because 3rd place. Info parameter also used.
{{Jeopardy! row|Leo Wolpert|2004|jarchive=https://www.j-archive.com/showplayer.php?player_id=90|info=Lost to Ken Jennings. Still extraordinarily bitter about the whole thing.}}
  • All anonymous parameters, winnings + 2nd place finish, but no J! Archive link.
{{Jeopardy! row|David Madden|2005|19|winnings=430,400|loss=2|Creator of [[NHBB]]}}
  • All anonymous parameters but no winnings. Thus, it shows an empty cell.
{{Jeopardy! row|Mystery Contestant|1901|3}}
  • No wins or winnings. Defaults to $0 (+ $1,000).
{{Jeopardy! row|Mystery Contestant|1901}}