Szablon:Infobox scientist: Różnice pomiędzy wersjami

Z Historia AGH
Nie podano opisu zmian
Nie podano opisu zmian
(Nie pokazano 48 wersji utworzonych przez 2 użytkowników)
Linia 4: Linia 4:
<pre>
<pre>
{{Infobox scientist
{{Infobox scientist
| name              =
|family-name=
| family-name       =
|given-name=
| given-name       =
|honorific-prefix=
| additional-name  =
|honorAGH=
| honorific-prefix  =                                                                              
|image=
| image             = <!--(as myimage.jpg, no 'File:')-->                                         
|birth_date=
| birth_date       = <!-- {{Birth date|YYYY|MM|DD}} -->                                           
|birth_place=
| birth_place       =                                                                              
|death_date=
| death_date       = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth date) -->                                       
|death_place=
| death_place      =                                                                              
|fields=
| fields            =  
|function=
| function          =                                                                          
|faculty=
| awards           =                                                                              
|unit=
|dhc_year=
|dhc_reason=
|awards=
}}
}}
</pre>
</pre>
Edytuj stronę, aby zobaczyć tekst szablonu.
Edytuj stronę, aby zobaczyć tekst szablonu.
</noinclude><includeonly>{| class="infobox"
</noinclude><includeonly>{{#set:image={{{image|}}}|}}
{| class="infobox" style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
|-
|-
{{#if: {{{image}}} |
{{#if: {{{image}}} |
! colspan="2" {{!}} [[File:{{{image}}}|thumb|center|300px]] | }}
! colspan="2" {{!}} [[File:{{{image}}}|thumb|center|300px]] | }}
|-
|-
! Nazwisko
! Nazwisko
| {{{family-name|}}}  
| [[family-name::{{{family-name|}}}]]
 
|-
|-
! Imię
! Imię / imiona
| {{{given-name|}}}  
| [[given-name::{{{given-name|}}}]]
 
{{#if:{{{honorific-prefix|}}}|
|-
{{!}}-
{{#if: {{{additional-name}}} |
! Tytuły / stanowiska
! Drugie imię
{{!}} [[honorific-prefix::{{{honorific-prefix|}}}]]}}  
{{!}} {{{additional-name}}}
{{#if:{{{honorAGH|}}}|
| }}
{{!}}-
 
! Tytuły honorowe AGH
|-
{{!}} {{#arraymap:{{{honorAGH|}}}|,|x|[[honorAGH::x]]}} }}
{{#if: {{{honorific-prefix}}} |
{{#if:{{{birth_date|}}}|
! Tytuły
{{!}}-
{{!}} {{{honorific-prefix}}}
| }}
 
|-
{{#if: {{{honorific-suffix}}} |
! honorific-suffix
{{!}} {{{honorific-suffix}}}
| }}
 
|-
{{#if: {{{native_name}}} |
! native_name
{{!}} {{{native_name}}}
| }}
 
|-
{{#if: {{{native_name_lang}}} |
! native_name_lang
{{!}} {{{native_name_lang}}}
| }}
 
|-
{{#if: {{{alt}}} |
! alt
{{!}} {{{alt}}}
| }}
 
|-
{{#if: {{{caption}}} |
! caption
{{!}} {{{caption}}}
| }}
 
|-
{{#if: {{{birth_date}}} |
! Data urodzenia
! Data urodzenia
{{!}} {{{birth_date}}}
{{!}} [[birth_date::{{{birth_date|}}}]]}}
| }}
{{#if:{{{birth_place|}}}|
 
{{!}}-
|-
{{#if: {{{birth_place}}} |
! Miejsce urodzenia
! Miejsce urodzenia
{{!}} {{{birth_place}}}
{{!}} [[birth_place::{{{birth_place|}}}]]}}  
| }}
{{#if:{{{death_date|}}}|
 
{{!}}-
|-
{{#if: {{{death_date}}} |
! Data śmierci
! Data śmierci
{{!}} {{{death_date}}}
{{!}} [[death_date::{{{death_date|}}}]]}}
| }}
{{#if:{{{death_place|}}}|
 
{{!}}-
|-
{{#if: {{{death_place}}} |
! Miejsce śmierci
! Miejsce śmierci
{{!}} {{{death_place}}}
{{!}} [[death_place::{{{death_place|}}}]]}}  
| }}
{{#if:{{{fields|}}}|
 
{{!}}-
|-
! Dyscyplina/specjalności
{{#if: {{{resting_place}}} |
{{!}} {{#arraymap:{{{fields|}}}|,|x|[[fields::x]]}} }}
! Pochowany
{{#if:{{{function|}}}|
{{!}} {{{resting_place}}}
{{!}}-
| }}
 
|-
{{#if: {{{resting_place_coordinates}}} |
! resting_place_coordinates
{{!}} {{{resting_place_coordinates}}}
| }}
 
|-
{{#if: {{{other_names}}} |
! other_names
{{!}} {{{other_names}}}
| }}
 
|-
{{#if: {{{residence}}} |
! residence
{{!}} {{{residence}}}
| }}
 
|-
{{#if: {{{citizenship}}} |
! Obywatelstwo
{{!}} {{{citizenship}}}
| }}
 
|-
{{#if: {{{nationality}}} |
! Narodowość
{{!}} {{{nationality}}}
| }}
 
|-
{{#if: {{{fields}}} |
! Specjalności
{{!}} {{{fields}}}
| }}
 
|-
{{#if: {{{function}}} |
! Pełnione funkcje
! Pełnione funkcje
{{!}} {{{function}}}
{{!}} [[function::{{{function|}}}]]}}  
| }}
{{#if:{{{faculty|}}}|
 
{{!}}-
|-
{{#if: {{{faculty}}} |
! Wydział
! Wydział
{{!}} {{{faculty}}}
{{!}} {{#arraymap:{{{faculty|}}}|;|x|[[faculty::x]]}} }}
| }}
{{#if:{{{unit|}}}|
 
{{!}}-
|-
! Jednostka pozawydziałowa
{{#if: {{{workplaces}}} |
{{!}} {{#arraymap:{{{unit|}}}|;|x|[[unit::x]]}} }}
! Miejsca pracy
{{#if:{{{dhc_year|}}}|
{{!}} {{{workplaces}}}
{{!}}-
| }}
! Rok przyznania doktoratu h.c. AGH
 
{{!}} [[dhc_year::{{{dhc_year|}}}]]}}  
|-
{{#if:{{{dhc_reason|}}}|
{{#if: {{{alma_mater}}} |
{{!}}-
! Alma Mater
! Powód przyznania doktoratu h.c. AGH
{{!}} {{{alma_mater}}}
{{!}} [[dhc_reason::{{{dhc_reason|}}}]]}}  
| }}
{{#if:{{{awards|}}}|
 
{{!}}-
|-
! Odznaczenia i nagrody
{{#if: {{{thesis_title}}} |
{{!}} {{#arraymap:{{{awards|}}}|,|x|[[awards::x]]}} }}
! thesis_title
{{!}}-
{{!}} {{{thesis_title}}}
! colspan="2" {{!}} {{#ask:  [[FunkcjaInt::{{PAGENAME}}]]
| }}
|mainlabel=-
 
|?Stanowisko=Funkcje
|-
|?Jednostka=Gdzie
{{#if: {{{thesis_url}}} |
|?Rok_od=od
! thesis_url
|?Rok_do=do
{{!}} {{{thesis_url}}}
|sort=Rok_od
| }}
|order=ascending
 
}}
|-
{{#if: {{{thesis_year}}} |
! thesis_year
{{!}} {{{thesis_year}}}
| }}
 
|-
{{#if: {{{doctoral_advisor}}} |
! doctoral_advisor
{{!}} {{{doctoral_advisor}}}
| }}
 
|-
{{#if: {{{academic_advisors}}} |
! academic_advisors
{{!}} {{{academic_advisors}}}
| }}
 
 
|-
{{#if: {{{doctoral_students}}} |
! doctoral_students
{{!}} {{{doctoral_students}}}
| }}
 
|-
{{#if: {{{notable_students}}} |
! notable_students
{{!}} {{{notable_students}}}
| }}
 
|-
{{#if: {{{known_for}}} |
! Dokonania
{{!}} {{{known_for}}}
| }}
 
|-
{{#if: {{{varia}}} |
! Inne
{{!}} {{{varia}}}
| }}
 
|-
{{#if: {{{author_abbrev_bot}}} |
! author_abbrev_bot
{{!}} {{{author_abbrev_bot}}}
| }}
 
|-
{{#if: {{{author_abbrev_zoo}}} |
! author_abbrev_zoo
{{!}} {{{author_abbrev_zoo}}}
| }}
 
|-
{{#if: {{{influences}}} |
! influences
{{!}} {{{influences}}}
| }}
 
|-
{{#if: {{{influenced}}} |
! influenced
{{!}} {{{influenced}}}
| }}
 
|-
{{#if: {{{awards}}} |
! Nagrody i odznaczenia
{{!}} {{{awards}}}
| }}
 
|-
{{#if: {{{signature}}} |
! signature
{{!}} {{{signature}}}
| }}
 
|-
{{#if: {{{signature_alt}}} |
! signature_alt
{{!}} {{{signature_alt}}}
| }}
 
|-
{{#if: {{{website}}} |
! Strona WWW
{{!}} {{{website}}}
| }}
 
|-
{{#if: {{{footnotes}}} |
! footnotes
{{!}} {{{footnotes}}}
| }}
 
|-
{{#if: {{{spouse}}} |
! spouse
{{!}} {{{spouse}}}
| }}
 
|-
{{#if: {{{children}}} |
! children
{{!}} {{{children}}}
| }}
|}
|}
</includeonly>
</includeonly>

Wersja z 11:06, 1 lut 2019

To jest szablon „Infobox scientist”. Powinien zostać wywołany w następującym formacie:

{{Infobox scientist
|family-name=
|given-name=
|honorific-prefix=
|honorAGH=
|image=
|birth_date=
|birth_place=
|death_date=
|death_place=
|fields=
|function=
|faculty=
|unit=
|dhc_year=
|dhc_reason=
|awards=
}}

Edytuj stronę, aby zobaczyć tekst szablonu.