Difference between revisions of "Template:Person"

From Wikispooks
Jump to navigation Jump to search
(Created page with "{{Infobox | bodyclass = biography vcard | bodystyle = {{#if:{{{box_width|}}}|width:{{{box_width}}};}} | above = {{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span ...")
 
m (1 revision)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Infobox
+
{{Infobox|child={{{child|}}}
 
| bodyclass  = biography vcard
 
| bodyclass  = biography vcard
 
| bodystyle  = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
 
| bodystyle  = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
 
| above      = {{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br />}}<includeonly><span class="fn">{{{name|{{PAGENAME}}}}}</span></includeonly>{{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<br /><span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}
 
| above      = {{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br />}}<includeonly><span class="fn">{{{name|{{PAGENAME}}}}}</span></includeonly>{{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<br /><span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|{{px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|frameless}}|alt={{{alt|}}}]]}}
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
| imageclass = {{image class names|{{{image}}}}}
+
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
| caption    = {{{caption|{{{image_caption|}}}}}}
+
 
 
| label1    = Native name
 
| label1    = Native name
 
| data1      = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }}
 
| data1      = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }}
  
 
| label11    = Born
 
| label11    = Born
| data11      = {{br separated entries|{{#if:{{{birth_name|{{{birthname|}}}}}}|<span class="nickname">{{{birth_name|{{{birthname|}}}}}}</span>}}|{{{birth_date|}}}|{{{birth_place|}}}}}
+
| data11      = {{br separated entries|1={{#if:{{{birth_name|{{{birthname|}}}}}}|<span class="nickname">{{{birth_name|{{{birthname|}}}}}}</span>}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}}}}
  
 
| label12    = Disappeared
 
| label12    = Disappeared
Line 19: Line 19:
  
 
| label14    = Died
 
| label14    = Died
| data14      = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
+
| data14      = {{br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}}
  
 
| label15    = Cause&nbsp;of death
 
| label15    = Cause&nbsp;of death
Line 82: Line 82:
 
| data31    = {{{known for|{{{known_for|{{{known|}}}}}}}}}
 
| data31    = {{{known for|{{{known_for|{{{known|}}}}}}}}}
  
| label32    = Notable works
+
| label32    = {{#if:{{{credits|}}}|Notable credit(s)|Notable work(s)}}
| data32    = {{{notable works|{{{notable_works|}}}}}}
+
| data32    = {{#if:{{{credits|}}}|{{{credits}}}|{{{notable works|{{{notable_works|}}}}}}}}
  
 
| label33    = Style
 
| label33    = Style
Line 158: Line 158:
 
| class54    = category
 
| class54    = category
  
| label55    = Spouse
+
| label55    = Spouse(s)
 
| data55    = {{{spouse|}}}
 
| data55    = {{{spouse|}}}
  
| label56    = Partner
+
| label56    = Partner(s)
| data56    = {{{partner|{{{domesticpartner|}}}}}}
+
| data56    = {{{partner|{{{domesticpartner|{{{domestic_partner|}}}}}}}}}
  
 
| label57    = Children
 
| label57    = Children
Line 173: Line 173:
 
| data59    = {{{relations|{{{relatives|}}}}}}
 
| data59    = {{{relations|{{{relatives|}}}}}}
  
| label60    = Call-sign
+
| label60   = Family
| data60     = {{{callsign|}}}
+
| data60    = {{{family|}}}
 +
 
 +
| label61   = Call-sign
 +
| data61     = {{{callsign|}}}
  
| label61   = Awards
+
| label62   = Awards
| data61     = {{{awards|}}}
+
| data62     = {{{awards|}}}
  
| data62     = {{{misc|{{{module|}}}}}}
+
| data64     = {{{misc|{{{module|}}}}}}
| data63     = {{{misc2|{{{module2|}}}}}}
+
| data65     = {{{misc2|{{{module2|}}}}}}
| data64     = {{{misc3|{{{module3|}}}}}}
+
| data66     = {{{misc3|{{{module3|}}}}}}
| data65     = {{{misc4|{{{module4|}}}}}}
+
| data67     = {{{misc4|{{{module4|}}}}}}
| data66     = {{{misc5|{{{module5|}}}}}}
+
| data68     = {{{misc5|{{{module5|}}}}}}
| data67     = {{{misc6|{{{module6|}}}}}}
+
| data69     = {{{misc6|{{{module6|}}}}}}
  
| label63   = Signature
+
| label63   = Signature
| data63    = {{#if:{{{signature|}}}|[[File:{{{signature}}}|{{px|{{{signature_size|}}}|150px}}|alt={{{signature alt|{{{signature_alt|}}}}}}]]}}
+
| data63    = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} }}
  
 
| header70  = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
 
| header70  = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
Line 195: Line 198:
 
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
 
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
  
}}{{#switch:{{ucfirst:{{{image|}}}}}
 
|Replace this image male.svg
 
|Replace_this_image_male.svg
 
|Replace this image female.svg
 
|Replace_this_image_female.svg=[[Category:Infobox person using placeholder image]]
 
 
}}<!--
 
}}<!--
  
Line 206: Line 204:
 
-->{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Infobox person using numbered parameter]]}}}}<!--
 
-->{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Infobox person using numbered parameter]]}}}}<!--
 
-->{{#if:{{{box_width|}}}|[[Category:Infobox person using boxwidth parameter]]}}<!--
 
-->{{#if:{{{box_width|}}}|[[Category:Infobox person using boxwidth parameter]]}}<!--
 +
-->{{#if:{{{death_date|}}}{{{death_place|}}}|{{#if:{{{salary|}}}{{{net worth|{{{net_worth|{{{networth|}}}}}}}}}|[[Category:Infobox person using certain parameters when dead]]}}}}<!--
  
-->}}<!--
+
-->}}{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!--
  
 
--><includeonly>{{ns0|{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}[[Category:Articles with hCards]]}}</includeonly><noinclude>
 
--><includeonly>{{ns0|{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}[[Category:Articles with hCards]]}}</includeonly><noinclude>

Revision as of 05:18, 7 May 2013

Template documentation[create]