Editing Template:Person-infobox
From SABR Encyclopedia
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: | + | <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 | + | {{#if: {{{nameFirst|}}}{{{name_first|}}} | [[person-name-first::{{{nameFirst}}}{{{name_first}}}]] | [[person-name-first::Unknown]] }} [[person-name-last::{{{nameLast}}}{{{name_last}}}]] |
- | | {{{name_first | + | | {{{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>] }} | ||
{{!}}- | {{!}}- | ||
- | {{ | + | {{!}} 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: {{#show: {{PAGENAME}} | ?person-infobox-image}} | | {{#if: {{#show: {{PAGENAME}} | ?person-infobox-image}} | | ||
- | {{!}} colspan=2 {{!}} [[ | + | {{!}}- |
- | {{!}}- | + | {{!}} colspan=2 {{!}} [[{{#show: {{PAGENAME}} | ?person-infobox-image}}|border|center|240px]]| }} |
- | + | {{!}}- | |
+ | ! 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 | + | {{!}} {{#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 | + | {{!}} {{#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: {{{ | + | {{#if: {{{cemeteryName|}}}{{{cemetery_name|}}} {{{cemeteryCity|}}}{{{cemetery_city|}}} {{{cemeteryState|}}}{{{cemetery_state|}}} {{{cemeteryCountry|}}}{{{cemetery_country|}}} | ! Interred: |
- | {{ | + | {{!}} {{{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: {{ | + | |}<!-- |
- | + | -->{{#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> |