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|}}} | {{{nameFirst}}} | Unknown}} {{{nameLast}}}]] | format=count}} | 1 | | :''See [[Special:Index/{{#if: {{{nameFirst|}}} | {{{nameFirst}}} | Unknown}}_{{{nameLast}}}|{{#if: {{{nameFirst|}}} | {{{nameFirst}}} | Unknown}} {{{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" {{!}} '''{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | | ||
- | {{#if: {{{ | + | {{#if: {{{nameFirst|}}} | [[person-name-first::{{{nameFirst}}}]] | [[person-name-first::Unknown]] }} [[person-name-last::{{{nameLast}}}]] |
- | | {{{ | + | | {{{nameFirst}}} {{{nameLast}}} |
+ | }}''' {{#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|}}} | '''[[person-name-given::{{{nameGiven}}}]] {{#if: {{{nameNick|}}} | ({{{nameNick}}}) | }} }}''' | {{{nameGiven}}} ({{{nameNick}}})}} | |
- | {{ | + | |
- | {{#if: {{{ | + | |
- | {{ | + | |
{{#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: {{{ | + | {{#if: {{{birthYear|}}} {{{birthMonth|}}} {{{birthDay|}}} {{{birthCity|}}} {{{birthState|}}} {{{birthCountry|}}} | ! Born: |
- | {{!}} {{#if: {{{ | + | {{!}} {{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | {{#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}}}) | }} | {{{birthYear|}}}-{{{birthMonth|}}}-{{{birthDay|}}} {{{birthCity|}}}, {{{birthState|}}}, {{{birthCountry|}}} }} |
{{!}}- | }} | {{!}}- | }} | ||
- | {{#if: {{{ | + | {{#if: {{{deathYear|}}} {{{deathMonth|}}} {{{deathDay|}}} {{{deathCity|}}} {{{deathState|}}} {{{deathCountry|}}} | ! Died: |
- | {{!}} {{# | + | {{!}} {{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | {{#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}}}) | }} | {{{deathYear|}}}-{{{deathMonth|}}}-{{{deathDay|}}} {{{deathCity|}}},{{{deathState|}}},{{{deathCountry|}}} }} |
{{!}}- | }} | {{!}}- | }} | ||
- | {{#if: {{{ | + | {{#if: {{{cemeteryName|}}} {{{cemeteryCity|}}} {{{cemeteryState|}}} {{{cemeteryCountry|}}} | ! Interred: |
- | {{!}} | + | {{!}} {{{cemeteryName|?}}} in {{{cemeteryCity|?}}}, {{{cemeteryState|?}}} ({{{cemeteryCountry|?}}}) |
{{!}}- | }} | {{!}}- | }} | ||
- | + | {{#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|}}} | {{{nameFirst}}} | Unknown}} {{{nameLast}}} }} {{page-indexterm | {{#if: {{{nameGiven|}}} | {{{nameGiven}}} | Unknown}} {{{nameLast}}} }} {{page-indexterm | {{{nameLast}}} }} }} | ||
+ | {{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | [[Category:People|{{{nameLast}}}, {{{nameFirst|}}}]] | [[Category:Person-infobox]] }} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{Person-infobox/doc}} | {{Person-infobox/doc}} | ||
</noinclude> | </noinclude> |