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.'' }}
+
<includeonly>{{#ifeq: {{#ask: [[page-indexterm::{{#if: {{{nameFirst|}}}{{{name_first|}}} | {{{nameFirst|}}}{{{name_first|}}} | Unknown}} {{{nameLast|}}}{{{name_last|}}}]] | format=count}} | 1 | | :''See [[Special:Index/{{#if: {{{nameFirst|}}}{{{name_first|}}} | {{{nameFirst|}}}{{{name_first|}}} | Unknown}}_{{{nameLast|}}}{{{name_last|}}}|{{#if: {{{nameFirst|}}}{{{name_first|}}} | {{{nameFirst|}}}{{{name_first|}}} | Unknown}} {{{nameLast|}}}{{{name_last|}}}]] 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" {{!}} '''{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} |  
-
{{#if: {{{name_first|}}} | {{{name_first|}}} | Unknown }} {{{name_last|}}}  
+
{{#if: {{{nameFirst|}}}{{{name_first|}}} | [[person-name-first::{{{nameFirst|}}}{{{name_first|}}}]] | [[person-name-first::Unknown]] }} [[person-name-last::{{{nameLast|}}}{{{name_last|}}}]]
-
| {{{name_first|}}} {{{name_last|}}} }}'''
+
| {{{nameFirst|}}}{{{name_first|}}} {{{nameLast|}}}{{{name_last|}}}  
 +
}}''' {{#ifeq: {{{is_biocomm|N}}} | Y | | [{{fullurl:{{PAGENAME}}/infobox|action=edit}}<span title="Edit infobox" font="-2" style="{{{fontstyle|}}};">edit</span>] }}
{{!}}-  
{{!}}-  
-
{{#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|}}}'''
+
{{!}} colspan="2" class="infobox-name-cell" | {{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | {{#if: {{{nameGiven|}}}{{{name_given|}}} | '''[[person-name-given::{{{nameGiven|}}}{{{name_given|}}}]] {{#if: {{{nameNick|}}}{{{name_nick|}}} | ({{{nameNick|}}}{{{name_nick|}}}) | }} }}''' | {{{nameGiven|}}}{{{name_given|}}} ({{{nameNick|}}}{{{name_nick|}}})}}
-
{{!}}- }}
+
-
{{#if: {{{name_nick|}}} | {{!}} colspan="2" class="infobox-name-cell" {{!}} '''"{{{name_nick|}}}"'''
+
-
{{!}}- | }}
+
{{#if: {{#show: {{PAGENAME}} | ?person-infobox-image}} |  
{{#if: {{#show: {{PAGENAME}} | ?person-infobox-image}} |  
-
{{!}} colspan=2 {{!}} [[{{#sabr-prefix-ns:{{#show: {{PAGENAME}} | ?person-infobox-image}}}}|border|center|240px]]
+
{{!}}-
-
{{!}}- | }}
+
{{!}} colspan=2 {{!}} [[{{#show: {{PAGENAME}} | ?person-infobox-image}}|border|center|240px]]| }}
-
{{#if: {{{bats|}}}{{{throws|}}} | ! Bat/Throw:  
+
{{!}}-
 +
! Bat/Throw:  
{{!}} {{#if: {{{bats|}}} | {{{bats}}} | ? }}/{{#if: {{{throws|}}} | {{{throws}}} | ? }}
{{!}} {{#if: {{{bats|}}} | {{{bats}}} | ? }}/{{#if: {{{throws|}}} | {{{throws}}} | ? }}
-
{{!}}- | }}
+
{{!}}-
{{#if: {{{height|}}} | ! Height:  
{{#if: {{{height|}}} | ! Height:  
{{!}} {{height-ft-in | {{{height}}} }}
{{!}} {{height-ft-in | {{{height}}} }}
Line 22: Line 21:
{{!}} {{{weight}}}
{{!}} {{{weight}}}
{{!}}- | }}
{{!}}- | }}
-
{{#if: {{{birth_year|}}} {{{birth_month|}}} {{{birth_day|}}} {{{birth_city|}}} {{{birth_state|}}} {{{birth_country|}}} | ! Born:  
+
{{#if: {{{birthYear|}}}{{{birth_year|}}} {{{birthMonth|}}}{{{birth_month|}}} {{{birthDay|}}}{{{birth_day|}}} {{{birthCity|}}}{{{birth_city|}}} {{{birthState|}}}{{{birth_state|}}} {{{birthCountry|}}}{{{birth_country|}}} | ! 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|}}}) | }}
+
{{!}} {{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | {{#if: {{{birthYear|}}}{{{birth_year|}}} | [[person-birth-year::{{{birthYear|}}}{{{birth_year|}}}]] | ?}}-{{#if: {{{birthMonth|}}}{{{birth_month|}}} | [[person-birth-month::{{{birthMonth|}}}{{{birth_month|}}}]] | ?}}-{{#if: {{{birthDay|}}}{{{birth_day|}}} | [[person-birth-day::{{{birthDay|}}}{{{birth_day|}}}]] | ?}} at {{#if: {{{birthCity|}}}{{{birth_city|}}} | {{{birthCity|}}}{{{birth_city|}}} | }}{{#if: {{{birthState|}}}{{{birth_state|}}} | , {{{birthState|}}}{{{birth_state|}}} | }} {{#if: {{{birthCountry|}}}{{{birth_country|}}} | ({{{birthCountry|}}}{{{birth_country|}}}) | }} | {{{birthYear|}}}{{{birth_year|}}}-{{{birthMonth|}}}{{{birth_month|}}}-{{{birthDay|}}}{{{birth_day|}}} {{{birthCity|}}}{{{birth_city|}}}, {{{birthState|}}}{{{birth_state|}}}, {{{birthCountry|}}}{{{birth_country|}}} }}
{{!}}- | }}
{{!}}- | }}
-
{{#if: {{{death_year|}}} {{{death_month|}}} {{{death_day|}}} {{{death_city|}}} {{{death_state|}}} {{{death_country|}}} | ! Died:  
+
{{#if: {{{deathYear|}}}{{{death_year|}}} {{{deathMonth|}}}{{{death_month|}}} {{{deathDay|}}}{{{death_day|}}} {{{deathCity|}}}{{{death_city|}}} {{{deathState|}}}{{{death_state|}}} {{{deathCountry|}}}{{{death_country|}}} | ! 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|}}}) | }}
+
{{!}} {{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | {{#if: {{{deathYear|}}}{{{death_year|}}} | [[person-death-year::{{{deathYear|}}}{{{death_year|}}}]] | ?}}-{{#if: {{{deathMonth|}}}{{{death_month|}}} | [[person-death-month::{{{deathMonth|}}}{{{death_month|}}}]] | ?}}-{{#if: {{{deathDay|}}}{{{death_day|}}} | [[person-death-day::{{{deathDay|}}}{{{death_day|}}}]] | ?}} at {{#if: {{{deathCity|}}}{{{death_city|}}} | {{{deathCity|}}}{{{death_city|}}} | }}{{#if: {{{deathState|}}}{{{death_state|}}} | , {{{deathState|}}}{{{death_state|}}} | }} {{#if: {{{deathCountry|}}}{{{death_country|}}} | ({{{deathCountry|}}}{{{death_country|}}}) | }} | {{{deathYear|}}}{{{death_year|}}}-{{{deathMonth|}}}{{{death_month|}}}-{{{deathDay|}}}{{{death_day|}}} {{{deathCity|}}}{{{death_city|}}},{{{deathState|}}}{{{death_state|}}},{{{deathCountry|}}}{{{death_country|}}} }}
{{!}}- | }}
{{!}}- | }}
-
{{#if: {{{cemetery_name|}}} {{{cemetery_city|}}} {{{cemetery_state|}}} {{{cemetery_country|}}} | ! Interred:
+
{{#if: {{{cemeteryName|}}}{{{cemetery_name|}}} {{{cemeteryCity|}}}{{{cemetery_city|}}} {{{cemeteryState|}}}{{{cemetery_state|}}} {{{cemeteryCountry|}}}{{{cemetery_country|}}} | ! 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|}}}{{{cemetery_name|}}} in {{{cemeteryCity|}}}{{{cemetery_city|}}}, {{{cemeteryState|}}}{{{cemetery_state|}}} ({{{cemeteryCountry|}}}{{{cemetery_country|}}})
{{!}}- | }}
{{!}}- | }}
-
|}
+
{{#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]] }}
+
-->{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | {{#if: {{{summary|}}} | {{#set:Person-summary={{{summary|}}}}} | }} }}<!--
 +
-->{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | {{page-indexterm | {{#if: {{{nameFirst|}}}{{{name_first|}}} | {{{nameFirst|}}}{{{name_first|}}} | Unknown}} {{{nameLast|}}}{{{name_last|}}} }} {{page-indexterm | {{#if: {{{nameGiven|}}}{{{name_given|}}} | {{{nameGiven|}}}{{{name_given|}}} | Unknown}} {{{nameLast|}}}{{{name_last|}}} }} {{page-indexterm | {{{nameLast|}}}{{{name_last|}}} }} }}
 +
{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | [[Category:People|{{{nameLast|}}}{{{name_last|}}}, {{{nameFirst|}}}{{{name_first|}}}]] | [[Category:Person-infobox]] }}
</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