Difference between revisions of "Template:Infobox shogi professional"
Jump to navigation
Jump to search
Template documentation
imported>Primefac (adding stuff based on points 1, 3, 4, 5 from talk page) |
|||
| Line 1: | Line 1: | ||
| − | {{Infobox | + | <onlyinclude>{{Infobox |
| bodyclass = vcard | | bodyclass = vcard | ||
| above = {{{name<includeonly>|{{PAGENAMEBASE}}</includeonly>}}} | | above = {{{name<includeonly>|{{PAGENAMEBASE}}</includeonly>}}} | ||
| Line 7: | Line 7: | ||
| caption = {{{caption|{{#invoke:Wikidata |getImageLegend|FETCH_WIKIDATA}}}}} | | caption = {{{caption|{{#invoke:Wikidata |getImageLegend|FETCH_WIKIDATA}}}}} | ||
| − | | label1 = | + | | label1 = Native name |
| − | | data1 = {{{ | + | | data1 = {{#if:{{{native_name|}}}|{{nowrap|{{{native_name}}}}}}} |
| − | | label2 = | + | | label2 = Maiden name |
| − | | data2 = {{{ | + | | data2 = {{{maiden_name|}}} |
| − | | label3 = | + | | label3 = Born |
| − | | data3 = {{{ | + | | data3 = {{{born|}}} |
| − | | label4 = | + | | label4 = Home town |
| − | | data4 = {{{ | + | | data4 = {{{hometown|}}} |
| − | | label5 = Died | + | | label5 = Nationality |
| − | | | + | | data5 = {{{nationality|}}} |
| + | |||
| + | | label6 = Died | ||
| + | | data6 = {{{died|}}} | ||
| header10 = Career | | header10 = Career | ||
| Line 34: | Line 37: | ||
| label14 = {{#if:{{{sponsor|}}}|Sponsor|Teacher}} | | label14 = {{#if:{{{sponsor|}}}|Sponsor|Teacher}} | ||
| − | | data14 = {{#if:{{{sponsor|}}}|{{{sponsor}}}|{{{teacher|}}}}} | + | | data14 = {{#if:{{{sponsor|}}}|{{nowrap|{{{sponsor}}}}}|{{#if:{{{teacher|}}}|{{nowrap|{{{teacher}}}}}}}}}{{#if:{{{teacher_rank|}}}|{{small| ({{{teacher_rank}}})}}}} |
| label15 = Current titles held | | label15 = Current titles held | ||
| Line 52: | Line 55: | ||
| label20 = Career record | | label20 = Career record | ||
| − | | data20 = {{#if:{{{wins|}}}| | + | | data20 = {{#if:{{{wins|}}}|{{Win-loss record|w={{{wins|}}}|l={{{losses|}}}}}}} |
| label21 = [[Ryu-oh|Ryu-Oh]] class | | label21 = [[Ryu-oh|Ryu-Oh]] class | ||
| Line 59: | Line 62: | ||
| label22 = [[Meijin (shogi)|Meijin]] class | | label22 = [[Meijin (shogi)|Meijin]] class | ||
| data22 = {{{meijinclass|}}} | | data22 = {{{meijinclass|}}} | ||
| − | }}<noinclude> | + | |
| + | | label30 = [[Japan Shogi Association|JSA]] profile | ||
| + | | data30 = {{{jsa|}}} | ||
| + | |||
| + | | label31 = Official website | ||
| + | | data31 = {{{website|{{{url|}}}}}} | ||
| + | }}</onlyinclude><noinclude> | ||
{{Template draft}} | {{Template draft}} | ||
| + | <!-- Note, I'm leaving the documentation on the template until it's ready to go live, for ease of moving things. Primefac--> | ||
{{documentation|content= | {{documentation|content= | ||
==Syntax== | ==Syntax== | ||
{{Draft:Template:Infobox shogi professional | {{Draft:Template:Infobox shogi professional | ||
| name = {{{name}}} | | name = {{{name}}} | ||
| + | | native_name = {{{native_name}}} | ||
| maiden_name = {{{maiden_name}}} | | maiden_name = {{{maiden_name}}} | ||
| image = {{{image}}} | | image = {{{image}}} | ||
| Line 75: | Line 86: | ||
| pro_date = {{{pro_date}}} | | pro_date = {{{pro_date}}} | ||
| badge_no = {{{badge_no}}} | | badge_no = {{{badge_no}}} | ||
| − | | teacher = {{{teacher}}} | + | | teacher = {{{teacher}}} |
| + | | teacher_rank = {{{teacher_rank}}} | ||
| rank = {{{rank}}} | | rank = {{{rank}}} | ||
| lifetime_titles = {{{lifetime_titles}}} | | lifetime_titles = {{{lifetime_titles}}} | ||
| Line 84: | Line 96: | ||
| losses = {{{losses}}} | | losses = {{{losses}}} | ||
| ryuoclass = {{{ryuoclass}}} | | ryuoclass = {{{ryuoclass}}} | ||
| − | | meijinclass = {{{meijinclass}}} | + | | meijinclass = {{{meijinclass}}} |
| + | | jsa = {{{jsa}}} | ||
| + | | website = {{{website}}} | ||
}} | }} | ||
<pre> | <pre> | ||
{{Infobox shogi professional | {{Infobox shogi professional | ||
| name = | | name = | ||
| + | | native_name = | ||
| maiden_name = <!--Only applicable to female professionals who married after turning pro--> | | maiden_name = <!--Only applicable to female professionals who married after turning pro--> | ||
| image = | | image = | ||
| Line 100: | Line 115: | ||
| badge_no = <!-- For women professionals use "W-#" format --> | | badge_no = <!-- For women professionals use "W-#" format --> | ||
| teacher = <!-- can also use "sponsor" --> | | teacher = <!-- can also use "sponsor" --> | ||
| + | | teacher_rank = <!-- Rank of the teacher--> | ||
| lifetime_titles = <!--List lifetime titles qualified for--> | | lifetime_titles = <!--List lifetime titles qualified for--> | ||
| title = <!--List major tiles currently held--> | | title = <!--List major tiles currently held--> | ||
| Line 109: | Line 125: | ||
| ryuoclass = <!--not needed for retired professionals--> | | ryuoclass = <!--not needed for retired professionals--> | ||
| meijinclass = <!--not needed for retired professionals--> | | meijinclass = <!--not needed for retired professionals--> | ||
| + | | jsa = <!--Japan Shogi Association profile link--> | ||
| + | | website = <!--Official website--> | ||
}} | }} | ||
</pre> | </pre> | ||
| − | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
Revision as of 23:25, 13 September 2017
| {{{name}}} | |
|---|---|
| Career |
[[Category:Infobox templates|Template:Remove first word]]
Syntax
Template:Draft:Template:Infobox shogi professional
{{Infobox shogi professional
| name =
| native_name =
| maiden_name = <!--Only applicable to female professionals who married after turning pro-->
| image =
| image_size =
| caption =
| born = <!--use {{birth date and age|yyyy|mm|dd|mf=yes}}-->
| hometown =
| nationality =
| died = <!-- {{Death date and age|yyyy|mm|dd|mf=yes}}-->
| pro_date = <!--use {{date|yyyy|mm|dd|myd}} ((<!--use {{Age|yyyy|mm|dd}} for age when became a professional-->)
| badge_no = <!-- For women professionals use "W-#" format -->
| teacher = <!-- can also use "sponsor" -->
| teacher_rank = <!-- Rank of the teacher-->
| lifetime_titles = <!--List lifetime titles qualified for-->
| title = <!--List major tiles currently held-->
| rank = <!-- Use # [[dan (rank)#Modern usage in shogi|dan]]; for women professionals use "Women-# [[dan (rank)#Modern usage in shogi|dan]]" or "W-# [[kyū]|])
| no_titles = <!--total number of major titles won-->
| tournaments = <!--number of official tournaments won; excludes major titles-->
| wins = <!-- should be primarily used for retired professional so as to not require frequent uploading -->
| losses = <!-- should be primarily used for retired professional so as to not require frequent uploading -->
| ryuoclass = <!--not needed for retired professionals-->
| meijinclass = <!--not needed for retired professionals-->
| jsa = <!--Japan Shogi Association profile link-->
| website = <!--Official website-->
}}
| The above documentation is transcluded from Template:Infobox shogi professional/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |