Editing Template:Person-infobox

From SABR Encyclopedia

Jump to: navigation, search
Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
<includeonly>{{#ifeq: {{#ask: [[page-indexterm::{{lc:{{#if: {{{name_first|}}} | {{{name_first|}}} | Unknown}} {{{name_last|}}}}}]] | format=count}} | 1 | | :''See [[Special:Index/{{#if: {{{name_first|}}} | {{{name_first|}}} | Unknown}}_{{{name_last|}}}|{{#if: {{{name_first|}}} | {{{name_first|}}} | Unknown}} {{{name_last|}}}]] in the index for other people with this or a similar name.'' }}
+
{{#ifeq: {{#ask: [[page-indexterm::{{{nameFirst}}} {{{nameLast}}}]] | format=count}} | 1 | | :''See [[Special:Index/{{{nameFirst}}}_{{{nameLast}}}|{{{nameFirst}}} {{{nameLast}}}]] in the index for other people with this or a similar name.'' }}
{| class="infobox person-infobox" style="width: 25em; text-align: left; font-size: 90%; float:right; clear:right;"
{| class="infobox person-infobox" style="width: 25em; text-align: left; font-size: 90%; float:right; clear:right;"
-
{{!}}- class="infobox-header"
+
|- class="infobox-header"
-
{{!}} colspan="2" class="infobox-name-cell" {{!}} '''{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} |
+
| colspan="2" class="infobox-name-cell" | '''{{#if: {{{nameFirst|}}} | [[person-name-first::{{{nameFirst}}}]] | [[person-name-first::Unknown]] }} [[person-name-last::{{{nameLast}}}]]''' {{#ifeq: {{{is_biocomm|N}}} | Y | | [{{fullurl:{{PAGENAME}}/infobox|action=edit}}<span title="Edit infobox" font="-2" style="{{{fontstyle|}}};">edit</span>] }}
-
{{#if: {{{name_first|}}} | {{{name_first|}}} | Unknown }} {{{name_last|}}}
+
|-
-
| {{{name_first|}}} {{{name_last|}}} }}'''
+
| colspan="2" class="infobox-name-cell" | {{#if: {{{nameGiven|}}} | '''[[person-name-given::{{{nameGiven}}}]] {{#if: {{{nameNick|}}} | ({{{nameNick}}}) | }}''' |}}
-
{{!}}-
+
|-
-
{{#ifeq: {{#if: {{{name_first|}}} | {{{name_first|}}} | Unknown }} {{{name_last|}}} | {{{name_given|}}} {{{name_last|}}} {{{name_matrilineal|}}} {{{name_suffix|}}} | | {{!}} colspan="2" class="infobox-name-cell" {{!}} '''{{{name_given|}}} {{{name_last|}}} {{{name_matrilineal|}}} {{{name_suffix|}}}'''
+
{{#if: {{{image|}}} |  
-
{{!}}- }}
+
{{!}} colspan=2 {{!}} [[{{{image}}}|border|center|225px]]
-
{{#if: {{{name_nick|}}} | {{!}} colspan="2" class="infobox-name-cell" {{!}} '''"{{{name_nick|}}}"'''
+
-
{{!}}- | }}
+
-
{{#if: {{#show: {{PAGENAME}} | ?person-infobox-image}} |  
+
-
{{!}} colspan=2 {{!}} [[{{#sabr-prefix-ns:{{#show: {{PAGENAME}} | ?person-infobox-image}}}}|border|center|240px]]
+
-
{{!}}- | }}
+
-
{{#if: {{{bats|}}}{{{throws|}}} | ! Bat/Throw:
+
-
{{!}} {{#if: {{{bats|}}} | {{{bats}}} | ? }}/{{#if: {{{throws|}}} | {{{throws}}} | ? }}
+
{{!}}- | }}
{{!}}- | }}
 +
|-
 +
! Bat/Throw:
 +
| {{#if: {{{bats|}}} | {{{bats}}} | ? }}/{{#if: {{{throws|}}} | {{{throws}}} | ? }}
 +
|-
{{#if: {{{height|}}} | ! Height:  
{{#if: {{{height|}}} | ! Height:  
{{!}} {{height-ft-in | {{{height}}} }}
{{!}} {{height-ft-in | {{{height}}} }}
Line 22: Line 19:
{{!}} {{{weight}}}
{{!}} {{{weight}}}
{{!}}- | }}
{{!}}- | }}
-
{{#if: {{{birth_year|}}} {{{birth_month|}}} {{{birth_day|}}} {{{birth_city|}}} {{{birth_state|}}} {{{birth_country|}}} | ! Born:  
+
{{#if: {{{birthYear|}}} {{{birthMonth|}}} {{{birthDay|}}} {{{birthCity|}}} {{{birthState|}}} {{{birthCountry|}}} | ! Born:  
-
{{!}} {{#if: {{{birth_year|}}} | {{{birth_year|}}} | ?}}-{{#if: {{{birth_month|}}} | {{{birth_month|}}} | ?}}-{{#if: {{{birth_day|}}} | {{{birth_day|}}} | ?}} {{#if: {{{birth_city|}}} {{{birth_state|}}} {{{birth_country|}}} | at | }} {{#if: {{{birth_city|}}} | {{{birth_city|}}}{{#if: {{{birth_state|}}} |, | }} | }} {{#if: {{{birth_state|}}} | {{{birth_state|}}} | }} {{#if: {{{birth_country|}}} | ({{{birth_country|}}}) | }}
+
{{!}} {{#if: {{{birthYear|}}} | [[person-birth-year::{{{birthYear}}}]] | ?}}-{{#if: {{{birthMonth|}}} | [[person-birth-month::{{{birthMonth}}}]] | ?}}-{{#if: {{{birthDay|}}} | [[person-birth-day::{{{birthDay}}}]] | ?}} at {{#if: {{{birthCity|}}} | {{{birthCity}}} | }}{{#if: {{{birthState|}}} | , {{{birthState}}} | }} {{#if: {{{birthCountry|}}} | ({{{birthCountry}}}) | }}  
{{!}}- | }}
{{!}}- | }}
-
{{#if: {{{death_year|}}} {{{death_month|}}} {{{death_day|}}} {{{death_city|}}} {{{death_state|}}} {{{death_country|}}} | ! Died:  
+
{{#if: {{{deathYear|}}} {{{deathMonth|}}} {{{deathDay|}}} {{{deathCity|}}} {{{deathState|}}} {{{deathCountry|}}} | ! Died:  
-
{{!}} {{#if: {{{death_year|}}} | {{{death_year|}}} | ?}}-{{#if: {{{death_month|}}} | {{{death_month|}}} | ?}}-{{#if: {{{death_day|}}} | {{{death_day|}}} | ?}} {{#if: {{{death_city|}}} {{{death_state|}}} {{{death_country|}}} | at | }} {{#if: {{{death_city|}}} | {{{death_city|}}}{{#if: {{{death_state|}}} |, | }} | }} {{#if: {{{death_state|}}} | {{{death_state|}}} | }} {{#if: {{{death_country|}}} | ({{{death_country|}}}) | }}
+
{{!}} {{#if: {{{deathYear}}} | [[person-death-year::{{{deathYear}}}]] | ?}}-{{#if: {{{deathMonth|}}} | [[person-death-month::{{{deathMonth}}}]] | ?}}-{{#if: {{{deathDay|}}} | [[person-death-day::{{{deathDay}}}]] | ?}} at {{#if: {{{deathCity|}}} | {{{deathCity}}} | }}{{#if: {{{deathState|}}} | , {{{deathState}}} | }} {{#if: {{{deathCountry|}}} | ({{{deathCountry}}}) | }}  
{{!}}- | }}
{{!}}- | }}
-
{{#if: {{{cemetery_name|}}} {{{cemetery_city|}}} {{{cemetery_state|}}} {{{cemetery_country|}}} | ! Interred:
+
{{#if: {{{cemeteryName|}}} {{{cemeteryCity|}}} {{{cemeteryState|}}} {{{cemeteryCountry|}}} | ! Interred:
-
{{!}} {{#if: {{{cemetery_name|}}} | {{{cemetery_name|}}} {{#if: {{{cemetery_city|}}} {{{cemetery_state|}}} {{{cemetery_country|}}} | in }} }} {{#if:{{{cemetery_city|}}}| {{{cemetery_city|}}}{{#if:{{{cemetery_state|}}}|, | }} }} {{{cemetery_state|}}} {{#if: {{{cemetery_country|}}} | ({{{cemetery_country|}}}) | }}
+
{{!}} {{{cemeteryName|?}}} in {{{cemeteryCity|?}}}, {{{cemeteryState|?}}} ({{{cemeteryCountry|?}}})
{{!}}- | }}
{{!}}- | }}
-
|}
+
{{#ifeq: {{{is_biocomm|N}}} | Y | {{!}} class="infobox-caption-cell" colspan="2" {{!}} SABR Biographical Research Committee | }}
-
{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} |  {{#if: {{{name_first|}}} | {{#set:person-name-first={{{name_first|}}} }} | {{#set:person-name-first=Unknown }} }} {{#set:person-name-last={{{name_last|}}} }} {{#if: {{{name_nick|}}} | {{#set:person-name-nick={{{name_nick|}}}}} | }} {{#if: {{{name_given|}}} | {{#set:person-name-given={{{name_given|}}}}} | }} {{#if: {{{name_suffix|}}} | {{#set:person-name-suffix={{{name_suffix|}}}}} | }} {{#if: {{{name_matrilineal|}}} | {{#set:person-name-matrilineal={{{name_matrilineal|}}}}} | }}  {{#if: {{{bats|}}} | {{#set:person-bats={{{bats|}}}}} | }}{{#if: {{{throws|}}} | {{#set:person-throws={{{throws|}}}}} | }} {{#if: {{{height|}}} | {{#set:person-height={{{height|}}}}} | }} {{#if: {{{weight|}}} | {{#set:person-weight={{{weight|}}}}} | }} {{#if: {{{birth_city|}}} | {{#set:person-birth-city={{{birth_city|}}}}} | }} {{#if: {{{birth_state|}}} | {{#set:person-birth-state={{{birth_state|}}}}} | }} {{#if: {{{birth_country|}}} | {{#set:person-birth-country={{{birth_country|}}}}} | }} {{#if: {{{birth_year|}}} | {{#set:person-birth-year={{{birth_year|}}}}} | }} {{#if: {{{birth_month|}}} | {{#set:person-birth-month={{{birth_month|}}}}} | }} {{#if: {{{birth_day|}}} | {{#set:person-birth-day={{{birth_day|}}}}} | }} {{#if: {{{death_city|}}} | {{#set:person-death-city={{{death_city|}}}}} | }} {{#if: {{{death_state|}}} | {{#set:person-death-state={{{death_state|}}}}} | }} {{#if: {{{death_country|}}} | {{#set:person-death-country={{{death_country|}}}}} | }} {{#if: {{{death_year|}}} | {{#set:person-death-year={{{death_year|}}}}} | }} {{#if: {{{death_month|}}} | {{#set:person-death-month={{{death_month|}}}}} | }} {{#if: {{{death_day|}}} | {{#set:person-death-day={{{death_day|}}}}} | }} {{#if: {{{cemetery_name|}}} | {{#set:person-cemetery-name={{{cemetery_name|}}}}} | }} {{#if: {{{cemetery_city|}}} | {{#set:person-cemetery-city={{{cemetery_city|}}}}} | }} {{#if: {{{cemetery_state|}}} | {{#set:person-cemetery-state={{{cemetery_state|}}}}} | }} {{#if: {{{cemetery_country|}}} | {{#set:person-cemetery-country={{{cemetery_country|}}}}} | }} {{#if: {{{bioproj_url|}}} | {{#set:person-bioproj-url={{{bioproj_url|}}}}} | }} {{#if: {{{bioproj_author|}}} | {{#set:person-bioproj-author={{{bioproj_author|}}}}} | }} {{page-indexterm | {{#if: {{{name_first|}}} | {{{name_first|}}} | Unknown}} {{{name_last|}}} }} {{page-indexterm | {{#if: {{{name_given|}}} | {{{name_given|}}} | Unknown}} {{{name_last|}}} }} {{page-indexterm | {{{name_last|}}} }} {{#if: {{{indexterms|}}} | {{page-indexterm|{{{indexterms|}}} }} | }} | }}<!--
+
|}<!--
-
--> {{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | [[Category:People|{{{name_last|}}}, {{{name_first|}}}]] | [[Category:Person-infobox]] }}
+
-->{{#if: {{{summary|}}} | [[person-summary::{{{summary}}}| ]] | }}<!--
 +
-->{{page-indexterm | {{{nameFirst|Unknown}}} {{{nameLast}}} }} {{page-indexterm | {{{nameGiven|Unknown}}} {{{nameLast}}} }}
 +
 
 +
<includeonly>
 +
[[Category:People|{{{nameLast}}}, {{{nameFirst|}}}]]
</includeonly>
</includeonly>
<noinclude>
<noinclude>
{{Person-infobox/doc}}
{{Person-infobox/doc}}
</noinclude>
</noinclude>

Encyclopedic content must be verifiable, and should be properly sourced. You irrevocably agree to release your contributions under the CC-BY-SA License. You agree to be credited, at minimum through a hyperlink or URL, when your contributions are reused in any form.


Cancel | Editing help (opens in new window)

Templates used on this page:

Personal tools