Template:Infobox person: Difference between revisions
From Research Realm
copied from wikipedia. worth it? |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
| bodyclass = biography vcard | | bodyclass = biography vcard | ||
| above | | above = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}|<div class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}</div>}}<includeonly><div class="fn">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div></includeonly>{{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}|<div class="honorific-suffix" style="font-size: 77%; font-weight: normal;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}</div>}} | ||
| abovestyle = font-size:125%;{{{abovestyle|}}} | |||
| abovestyle = font-size:125%; {{{abovestyle|}}} | |||
| subheaderstyle = font-size:125% | | subheaderstyle = font-size:125%; | ||
| subheader = {{#switch:{{{child|{{{embed|}}}}}}|yes=<!--empty when this infobox is embedded-->|#default={{#if:{{{native_name|}}}|{{#if:{{{native_name_lang|}}}|<div class="nickname" lang="{{{native_name_lang}}}">}}{{{native_name}}}{{#if:{{{native_name_lang|}}}|</div>}} }} }} | | subheader = {{#switch:{{{child|{{{embed|}}}}}}|yes=<!--empty when this infobox is embedded-->|#default={{#if:{{{native_name|}}}|{{#if:{{{native_name_lang|}}}|<div class="nickname" lang="{{{native_name_lang}}}">}}{{{native_name}}}{{#if:{{{native_name_lang|}}}|</div>}} }} }} | ||
Line 112: | Line 108: | ||
| label37 = Style | | label37 = Style | ||
| data37 | | data37 = {{{style|}}} | ||
| class37 = category | | class37 = category | ||
Line 171: | Line 167: | ||
| data56 = {{{children|}}} | | data56 = {{{children|}}} | ||
| label57 = | | label57 = {{#if:{{{parents|}}}|Parent{{Pluralize from text|{{{parents|}}}|likely=(s)|plural=s}}|<!-- | ||
-->{{#ifexpr:{{count|{{{father|}}}|{{{mother|}}}}} > 1| | -->{{#ifexpr:{{count|{{{father|}}}|{{{mother|}}}}} > 1|Parents|{{#if:{{{father|}}}|Father|{{#if:{{{mother|}}}|Mother}}}}}}}} | ||
| data57 = {{#if:{{{parents|}}}|{{{parents}}}|{{ | | data57 = {{#if:{{{parents|}}}|{{{parents}}}|{{#ifexpr:{{count|{{{father|}}}|{{{mother|}}}}} > 1|{{Unbulleted list|{{{father}}} (father)|{{{mother}}} (mother)}}|{{{mother|}}}{{{father|}}}}}}}<!-- | ||
-->{{main other|{{Pluralize from text|{{{parents|}}}|likely=[[Category:Pages using infobox person with multiple parents]]}}}} | -->{{main other|{{Pluralize from text|{{{parents|}}}|likely=[[Category:Pages using infobox person with multiple parents]]}}}} | ||
Line 202: | Line 198: | ||
| header71 = {{#if:{{{signature|}}}|{{if empty|{{{signature_type|}}}|Signature}}}} | | header71 = {{#if:{{{signature|}}}|{{if empty|{{{signature_type|}}}|Signature}}}} | ||
| data72 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} | | data72 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|class=infobox-signature skin-invert|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} | ||
| header73 = {{#if:{{{footnotes|}}}|Notes}} | | header73 = {{#if:{{{footnotes|}}}|Notes}} | ||
Line 214: | Line 210: | ||
-->[[Category:Articles with hCards]] | -->[[Category:Articles with hCards]] | ||
}}<!-- | }}<!-- | ||
--><includeonly>{{#ifeq:{{{child|{{{embed|}}}}}}|yes|}}</includeonly><noinclude> | -->{{#invoke:Check for clobbered parameters|check | ||
{{documentation}}</noinclude> | | nested = 1 | ||
| template = [[Template:{{#if:{{{template_name|}}}|{{ucfirst:{{{template_name|}}}}}|Infobox person}}]] | |||
| cat = {{main other|Category:Pages using {{if empty|{{{template_name|}}}|infobox person}} with conflicting parameters}} | |||
| child; embed | |||
| honorific prefix; honorific_prefix; honorific-prefix; pre-nominals | |||
| honorific suffix; honorific_suffix; honorific-suffix; post-nominals | |||
| image size; image_size; imagesize | |||
| image caption; caption; image_caption | |||
| birth_name; birthname | |||
| baptized; baptised | |||
| status; disappeared_status | |||
| death cause; death_cause | |||
| body discovered; body_discovered | |||
| resting place; resting_place; restingplace | |||
| resting place coordinates; resting_place_coordinates; restingplacecoordinates | |||
| other names; other_names; othername; nickname; alias | |||
| alma mater; alma_mater | |||
| years active; years_active; yearsactive | |||
| organisation; organization; organizations | |||
| known for= known_for; known | |||
| {{#if:{{{works|}}}|works;}} {{#if:{{{credits|}}}|credits;}} {{#if:{{{label_name|}}}|label_name;}} notable works; notable_works | |||
| height_m; height_cm | |||
| office; title | |||
| criminal_charges; criminal charge; criminal_charge | |||
| criminal penalty; criminal_penalty | |||
| judicial status; judicial_status | |||
| criminal status; criminal_status | |||
| spouse; spouses; spouse(s) | |||
| partner; domesticpartner; domestic_partner; partners; partner(s) | |||
| {{#if:{{{parents|}}}||NULL_}}parents; {{#if:{{{father|}}}||NULL_}}father | |||
| {{#if:{{{parents|}}}||NULL_}}parents; {{#if:{{{mother|}}}||NULL_}}mother | |||
| relations; relatives | |||
| honours; honors | |||
| misc; module | |||
| misc2; module2 | |||
| misc3; module3 | |||
| misc4; module4 | |||
| misc5; module5 | |||
| misc6; module6 | |||
| website; homepage; URL; url | |||
}}<includeonly>{{#ifeq:{{{child|{{{embed|}}}}}}|yes|}}</includeonly><noinclude> | |||
{{documentation}} | |||
</noinclude> |