Difference between revisions of "Template:Infobox poker player"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>WOSlinker (belowclass = noprint) |
imported>Zyxw (Allow use as child or subbox (see Template:Infobox#Embedding and Template:Infobox#Subboxes). When using {{PAGENAME}} remove any disambigation. Tested first with /sandbox and /testcases.) |
||
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| + | | child = {{{child|}}}{{{embed|}}} | ||
| + | | subbox = {{{subbox|}}} | ||
| bodyclass = vcard | | bodyclass = vcard | ||
| − | |||
| aboveclass = fn | | aboveclass = fn | ||
| − | | | + | | belowclass = noprint |
| − | |||
| headerstyle = background: #ed8; | | headerstyle = background: #ed8; | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | header5 = {{#if: {{{wsop bracelet count|}}} {{{wsop final tables|}}} {{{wsop money finishes|}}} {{{wsop main event best finish rank|}}} | [[World Series of Poker]] }} | + | | above = {{#if:{{{child|}}}{{{embed|}}}{{{subbox|}}}|| {{#if: {{{name|}}} | {{{name}}} | {{PAGENAMEBASE}} }}}} |
| − | | label6 = [[World Series of Poker bracelet|Bracelet(s)]] | + | |
| − | | data6 = {{#switch: {{{wsop bracelet count|}}}|0=''None''|None=''None''|{{{wsop bracelet count|}}}}} | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}} |
| − | | label7 = Final table(s) | + | | caption = {{{caption|}}} |
| − | | data7 = {{#switch: {{{wsop final tables|}}}|0=''None''|None=''None''|{{{wsop final tables|}}}}} | + | |
| − | | label8 = Money finish(es) | + | | label1 = Nickname(s) |
| − | | data8 = {{#switch: {{{wsop money finishes|}}}|0=''None''|None=''None''|{{{wsop money finishes|}}}}} | + | | data1 = {{{nickname|}}} |
| − | | label9 = Highest [[Glossary of poker terms#in_the_money|ITM]]<br />Main Event finish | + | | class1 = nickname |
| − | | data9 = {{#if: {{{wsop main event best finish rank|}}} |{{{wsop main event best finish rank|}}}{{#if: {{{wsop main event best finish year|}}} | , [[{{{wsop main event best finish year}}} World Series of Poker|{{{wsop main event best finish year}}}]]}}{{#if: {{{wsop main event best finish year 2|}}} | , [[{{{wsop main event best finish year 2}}} World Series of Poker|{{{wsop main event best finish year 2}}}]]}}{{#if: {{{wsop main event best finish year 3|}}} | , [[{{{wsop main event best finish year 3}}} World Series of Poker|{{{wsop main event best finish year 3}}}]]}}{{#if: {{{wsop main event best finish year 4|}}} | , [[{{{wsop main event best finish year 4}}} World Series of Poker|{{{wsop main event best finish year 4}}}]]}}}} | + | | label2 = Residence |
| + | | data2 = {{{residence|{{{hometown|}}}}}} | ||
| + | | label3 = Born | ||
| + | | data3 = {{br separated entries|{{{birth_name|}}}|{{{birth_date|}}}|{{{birth_place|}}}}} | ||
| + | | label4 = Died | ||
| + | | data4 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}} | ||
| + | |||
| + | | header5 = {{#if: {{{wsop bracelet count|}}} {{{wsop final tables|}}} {{{wsop money finishes|}}} {{{wsop main event best finish rank|}}} | [[World Series of Poker]] }} | ||
| + | | label6 = [[World Series of Poker bracelet|Bracelet(s)]] | ||
| + | | data6 = {{#switch: {{{wsop bracelet count|}}}|0=''None''|None=''None''|{{{wsop bracelet count|}}}}} | ||
| + | | label7 = Final table(s) | ||
| + | | data7 = {{#switch: {{{wsop final tables|}}}|0=''None''|None=''None''|{{{wsop final tables|}}}}} | ||
| + | | label8 = Money finish(es) | ||
| + | | data8 = {{#switch: {{{wsop money finishes|}}}|0=''None''|None=''None''|{{{wsop money finishes|}}}}} | ||
| + | | label9 = Highest [[Glossary of poker terms#in_the_money|ITM]]<br />Main Event finish | ||
| + | | data9 = {{#if: {{{wsop main event best finish rank|}}} |{{{wsop main event best finish rank|}}}{{#if: {{{wsop main event best finish year|}}} | , [[{{{wsop main event best finish year}}} World Series of Poker|{{{wsop main event best finish year}}}]]}}{{#if: {{{wsop main event best finish year 2|}}} | , [[{{{wsop main event best finish year 2}}} World Series of Poker|{{{wsop main event best finish year 2}}}]]}}{{#if: {{{wsop main event best finish year 3|}}} | , [[{{{wsop main event best finish year 3}}} World Series of Poker|{{{wsop main event best finish year 3}}}]]}}{{#if: {{{wsop main event best finish year 4|}}} | , [[{{{wsop main event best finish year 4}}} World Series of Poker|{{{wsop main event best finish year 4}}}]]}}}} | ||
| header10 = {{#if: {{{wpt titles|}}} {{{wpt final tables|}}} {{{wpt money finishes|}}} | [[World Poker Tour]] }} | | header10 = {{#if: {{{wpt titles|}}} {{{wpt final tables|}}} {{{wpt money finishes|}}} | [[World Poker Tour]] }} | ||
| − | | label11 = Title(s) | + | | label11 = Title(s) |
| − | | data11 = {{#switch: {{{wpt titles|}}}|0=''None''|None=''None''|{{{wpt titles|}}}}} | + | | data11 = {{#switch: {{{wpt titles|}}}|0=''None''|None=''None''|{{{wpt titles|}}}}} |
| − | | label12 = Final table(s) | + | | label12 = Final table(s) |
| − | | data12 = {{#switch: {{{wpt final tables|}}}|0=''None''|None=''None''|{{{wpt final tables|}}}}} | + | | data12 = {{#switch: {{{wpt final tables|}}}|0=''None''|None=''None''|{{{wpt final tables|}}}}} |
| − | | label13 = Money finish(es) | + | | label13 = Money finish(es) |
| − | | data13 = {{#switch: {{{wpt money finishes|}}}|0=''None''|None=''None''|{{{wpt money finishes|}}}}} | + | | data13 = {{#switch: {{{wpt money finishes|}}}|0=''None''|None=''None''|{{{wpt money finishes|}}}}} |
| header14 = {{#if: {{{ept titles|}}} {{{ept final tables|}}} {{{ept money finishes|}}} | [[European Poker Tour]] }} | | header14 = {{#if: {{{ept titles|}}} {{{ept final tables|}}} {{{ept money finishes|}}} | [[European Poker Tour]] }} | ||
| − | | label15 = Title(s) | + | | label15 = Title(s) |
| − | | data15 = {{#switch: {{{ept titles|}}}|0=''None''|None=''None''|{{{ept titles|}}}}} | + | | data15 = {{#switch: {{{ept titles|}}}|0=''None''|None=''None''|{{{ept titles|}}}}} |
| − | | label16 = Final table(s) | + | | label16 = Final table(s) |
| − | | data16 = {{#switch: {{{ept final tables|}}}|0=''None''|None=''None''|{{{ept final tables|}}}}} | + | | data16 = {{#switch: {{{ept final tables|}}}|0=''None''|None=''None''|{{{ept final tables|}}}}} |
| − | | label17 = Money finish(es) | + | | label17 = Money finish(es) |
| − | | data17 = {{#switch: {{{ept money finishes|}}}|0=''None''|None=''None''|{{{ept money finishes|}}}}} | + | | data17 = {{#switch: {{{ept money finishes|}}}|0=''None''|None=''None''|{{{ept money finishes|}}}}} |
| − | + | | below = {{#if: {{{updated|{{{last updated|}}}}}} |''Information accurate as of '''{{date|{{{updated|{{{last updated|}}}}}}}}'''.''}} | |
| − | | below = {{#if: {{{updated|{{{last updated|}}}}}} |''Information accurate as of '''{{date|{{{updated|{{{last updated|}}}}}}}}'''.''}} | + | |
| − | }}</includeonly><noinclude>{{ | + | }}</includeonly><noinclude> |
| + | {{Documentation}} | ||
| + | </noinclude> | ||
Latest revision as of 06:25, 19 December 2014
{{Infobox poker player}} may be used to summarize information about a person who is a poker player.
Statistics can be filled out for the following tournaments:
- World Series of Poker (WSOPl(official player database)
- World Poker Tour (WPT(player database)
- European Poker Tour (EPT) (official player database)
Contents
Usage (blank template)
- redirect Template:Parameter names example
{{Infobox poker player
| name =
| image =
| image_size =
| alt =
| caption =
| nickname =
| residence =
| birth_name = <!-- only if different -->
| birth_date = <!-- {{birth date and age|YYYY|MM|DD}} -->
| birth_place =
| death_date = <!-- {{death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
| death_place =
| wsop bracelet count =
| wsop final tables =
| wsop money finishes =
| wsop main event best finish rank =
| wsop main event best finish year =
| wsop main event best finish year 2 =
| wsop main event best finish year 3 =
| wsop main event best finish year 4 =
| wpt titles =
| wpt final tables =
| wpt money finishes =
| ept titles =
| ept final tables =
| ept money finishes =
| updated =
}}
Parameter descriptions
General information
- name
- Player's common name (given name and surname). Uses the Wikipedia article title if left blank (exception: the name is not displayed if
|child=yesor|subbox=yes). - image
- Portrait image file name (
Example.png, not[[File:Example.png]]) - image_size
- alt
- caption
- Description for the portrait image
- nickname
- residence
- Where does the player reside; equivalent parameter: "hometown"
- birth_name
- birth_date
{{birth date and age|YYYY|MM|DD}}; if the player is dead, use{{birth date|YYYY|MM|DD}}and fill in the death_date line- birth_place
- death_date
{{death date and age|YYYY|MM|DD|YYYY|MM|DD}}- death_place
If a player has no results or has never participated in a tournaments series, you may leave ALL relevant lines blank, so the tournaments series' section will not be shown
WSOP
- wsop bracelet count
- If you leave one line blank, the information for this line will not be shown; If you fill in with "0" or "None", it'll show an italic None
- wsop final tables
- wsop money finishes
- wsop main event best finish rank
- "Winner", or "2nd", "3rd", "4th", ...; note that it is best "ITM", or cashed finish
- wsop main event best finish year
- wsop main event best finish year 2
- If the player reaches their highest ITM Main Event finish rank more than one time, you may use this line and below ones
- wsop main event best finish year 3
- wsop main event best finish year 4
WPT
- wpt titles
- wpt final tables
- wpt money finishes
EPT
- ept titles
- ept final tables
- ept money finishes
Date updated
- updated
- Equivalent parameter: last updated; The date you update the information or the information is accurate as of; any reasonable date format is allowed (see: Template:Date) (e.g.
{{subst:Date}}or{{subst:Date|2=mdy}}); note that if the player is dead, and the information is updated after their death as the final result, you probably don't need to fill in this line.
Use as an embedded template
- child or embed
- Set to "yes" (or any value) if embedded inside another infobox (column widths will be the same as the parent infobox).
- subbox
- Set to "yes" (or any value) if embedded inside another infobox (column widths will be independent of the parent infobox).
This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.
{{Infobox person
| name =
| image =
| caption =
| birth_date =
| birth_place =
| <!-- etc. -->
| module =
{{Infobox poker player | child=yes <!-- or embed=yes or subbox=yes -->
| parameter-1 =
| parameter-2 =
| parameter-3 =
| parameter-4 =
| <!-- etc. -->
}}
}}
Example
| Example Brunson | |
|---|---|
| Nickname(s) | The Poker Brat |
| Residence | Las Vegas, Nevada, U.S. |
| Born | December 25, 1950 Palo Alto, California, U.S. |
| World Series of Poker | |
| Bracelet(s) | None |
| Final table(s) | 11 |
| Money finish(es) | 68(+1) |
| Highest ITM Main Event finish | 2nd, 1989 |
| World Poker Tour | |
| Title(s) | None |
| Final table(s) | 3(+2) |
| Money finish(es) | 10 |
{{Infobox poker player
| name = Example Brunson
| image = Silver - replace this image male.svg
| nickname = The Poker Brat
| residence = [[Las Vegas, Nevada]], U.S.
| birth_date = {{birth date and age|1950|12|25}}
| birth_place = [[Palo Alto, California]], U.S.
| wsop bracelet count = 0
| wsop final tables = 11
| wsop money finishes = 68(+1)
| wsop main event best finish rank = 2nd
| wsop main event best finish year = 1989
| wpt titles = 0
| wpt final tables = 3(+2)
| wpt money finishes = 10
| updated = January 1, 2009
}}
Microformat
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
| The above documentation is transcluded from Template:Infobox poker player/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |