Difference between revisions of "Template:Infobox dancer/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>PC78
imported>PC78
({{infobox}} overhaul)
Line 1: Line 1:
{| class="infobox vcard" style="width: 22em; font-size: 88%; line-height: 1.5em"
+
{{Infobox
|-
+
| bodyclass  = vcard
| colspan="3" style="text-align:center; font-size: 125%" | '''<span class="fn">{{{name|{{{dancername|{{PAGENAME}}}}}}}}</span>'''<br /><span class="role">dancer</span>
+
| aboveclass = fn
|-
+
 
{{#if: {{{image|<noinclude>-</noinclude>}}} |
+
| above      = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
{{!}} colspan="3" align="center" {{!}} {{{image}}}
+
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|}}}]]}}
{{!}}-
+
| caption    = {{{caption|}}}
}}
+
 
! style="background: #b0c4de; text-align: center" colspan="3" | Personal information
+
| class1    = nickname
|-
+
| label1    = Full name
{{#if: {{{full_name|{{{fullname|<noinclude>-</noinclude>}}}}}} |
+
| data1      = {{{full_name|}}}
{{!}}'''Full&nbsp;name'''
+
 
{{!}} colspan="2" {{!}} {{{full_name|{{{fullname|}}}}}}
+
| label2    = Born
{{!}}-
+
| data2      = {{br separated entries|{{#if:{{{birth_name|}}}|<span class="nickname">{{{birth_name}}}</span>}}|{{{birth_date|}}}|{{{birth_place|}}} }}
}}
+
 
| '''Date&nbsp;of&nbsp;birth'''
+
| label3    = Died
|colspan="2"|{{{birth_date}}}
+
| data3      = {{br separated entries|{{{death_date|}}}|{{{death_place|}}} }}
|-
+
 
|'''Place&nbsp;of&nbsp;birth'''{{spaces|3}}
+
| label4    = Occupation
|colspan="2"|{{#if:{{{birth_place|}}}|{{{birth_place|}}}|{{#if:{{{cityofbirth|<noinclude>-</noinclude>}}}|{{{cityofbirth}}},}} {{{countryofbirth}}}}}
+
| data4      = {{{occupation|{{{rank|{{{position|}}}}}}}}}
|-
+
 
{{#if: {{{death_date|<noinclude>-</noinclude>}}} |
+
| label5    = Years active
{{!}}'''Date&nbsp;of&nbsp;death'''{{spaces|3}}
+
| data5      = {{{years_active|{{{years|}}}}}}
{{!}} colspan="2" {{!}} {{{death_date}}}
+
 
{{!}}-
+
| label6    = Current group
}}
+
| data6      = {{{current_group|}}}
{{#if: {{{death_place|<noinclude>-</noinclude>}}}{{{cityofdeath|<noinclude>-</noinclude>}}}{{{countryofdeath|<noinclude>-</noinclude>}}} |
+
 
{{!}}'''Place&nbsp;of&nbsp;death'''{{spaces|3}}
+
| label7    = Former groups
{{!}} colspan="2" {{!}} {{#if:{{{death_place|}}}|{{{death_place|}}}|{{#if:{{{cityofdeath|<noinclude>-</noinclude>}}}|{{{cityofdeath}}},}} {{{countryofdeath}}}}}
+
| data7      = {{{former_groups|{{{groups|{{{clubs|}}}}}}}}}
{{!}}-
+
 
}}
+
| label8    = Dances
{{#if: {{{height|<noinclude>-</noinclude>}}} |
+
| data8      = {{{dances|}}}
{{!}}'''Height'''
+
 
{{!}} colspan="2" {{!}} {{{height}}}
+
| label9    = Height
{{!}}-
+
| data9      = {{{height|}}}
}}
+
 
{{#if: {{{position|{{{rank|<noinclude>-</noinclude>}}}}}} |
+
| header10  = {{#if:{{{website|}}}|Website}}
{{!}} '''rank'''
+
| data11    = {{{website|}}}
{{!}} colspan="2" {{!}} <span class="role">{{{position|{{{rank}}}}}}</span>
+
}}<noinclude>
{{!}}-
+
 
}}
+
{{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! -->
{{#if: {{{current_group|{{{currentgroup|<noinclude>-</noinclude>}}}}}} |
 
! style="background: #b0c4de;" colspan="3" {{!}} Group information
 
{{!}}-
 
{{!}}'''Current&nbsp;group'''
 
{{!}} colspan="2" {{!}} <span class="org">{{{current_group|{{{currentgroup|}}}}}}</span>
 
{{!}}-
 
{{#if: {{{club_number|{{{clubnumber|<noinclude>-</noinclude>}}}}}} |
 
{{!}}'''Number'''
 
{{!}} colspan="2" {{!}} {{{club_number|{{{clubnumber|}}}}}}
 
{{!}}-
 
}}
 
}}
 
{{#if: {{{youth_groups|{{{youth groups|{{{youthgroups|<noinclude>-</noinclude>}}}}}}}}} |
 
! style="background: #b0c4de;" colspan="3" {{!}} Youth groups
 
{{!}}-
 
{{!}} {{{youth_years|{{{youthyears|}}}}}}
 
{{!}} colspan="2" {{!}} {{{youth_groups|{{{youth groups|{{{youthgroups|}}}}}}}}}
 
{{!}}-
 
}}
 
{{#if: {{{clubs|<noinclude>-</noinclude>}}}{{{years|<noinclude>-</noinclude>}}}{{{groups|<noinclude>-</noinclude>}}}{{{dances|<noinclude>-</noinclude>}}} |
 
! style="background: #b0c4de;" colspan="3" {{!}} Senior groups
 
{{!}}- style="line-height:9pt;"
 
{{!}} '''Years'''
 
{{!}} '''Group'''
 
{{!}} '''dances'''
 
{{!}}-
 
{{!}}style="padding-right:3em;"{{!}} {{{years}}}
 
{{!}}style="padding-right:3em;"{{!}} {{{groups}}}
 
{{!}} {{{dances}}}{{spaces|3}}
 
{{!}}-
 
}}
 
{{!}}colspan="3" style="color: #555555; font-size:80%; text-align:center;"{{!}}
 
|}<noinclude>
 
  
<div style="clear:both;"></div>
 
{{template doc}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Revision as of 22:24, 20 September 2010

Template documentation[view] [edit] [history] [purge]

Template:Uses Infobox person

Template:Tracks Wikidata

{{Infobox dancer}} is the standard infobox for dancer articles, and is within the purview of WikiProject Dance.

Usage

Template:Parameter names example

{{Infobox dancer
| honorific_prefix = 
| name          = 
| honorific_suffix = 
| image         = 
| alt	        = 
| caption       = 
| birth_name    = 
| birth_date    = <!-- {{birth date and age|yyyy|mm|dd}} or {{birth date|yyyy|mm|dd}} For living people supply only the year unless the exact date is already WIDELY published, as per [[WP:DOB]]. --> 
| birth_place   = 
| death_date    = <!-- {{death date and age|deathyear|mm|dd|birthyear|mm|dd}} -->
| death_place   = 
| nationality   = 
| citizenship   = 
| education     = 
| occupation    = 
| years_active  = 
| home_town     = 
| height        = 
| spouse        = 
| partner       = 
| children      = 
| website       = <!-- {{URL|website}} -->
| current_group = 
| former_groups = 
| dances        = 
| module        = 
}}

Microformat

Template:UF-hcard-person

Tracking categories

See also