Šablona:DisplayMember: Porovnání verzí
Z ApolloWiki
Bez shrnutí editace |
(Translated from german to english) |
||
Řádek 6: | Řádek 6: | ||
{{DisplayMember |
{{DisplayMember |
||
| Page = title of the main page where the person's data is stored |
| Page = title of the main page where the person's data is stored |
||
| |
| Academic title = title prefix |
||
| |
| Academic title2 = title suffix |
||
| Name = full name |
| Name = full name |
||
| |
| Former = 0 (current employees) or 1 (former employees) |
||
| Forschungsgruppe = list of research{{FULLPAGENAME}} group names (semicolon separated) |
| Forschungsgruppe = list of research{{FULLPAGENAME}} group names (semicolon separated) |
||
| |
| Img = Image |
||
| Stellung = Position |
| Stellung = Position |
||
| |
| Office = Room |
||
| Info = text description |
| Info = text description |
||
| |
| Consultation day = Week day of office hours |
||
| |
| Consultation start = office hour start, e.g., 11:00 |
||
| |
| Consultation end = office hour end, e.g., 12:00 |
||
| Telefon = phone number |
| Telefon = phone number |
||
| Fax = fax number |
| Fax = fax number |
||
Řádek 24: | Řádek 24: | ||
| DBLP = URL of DBLP publication page |
| DBLP = URL of DBLP publication page |
||
| Google Scholar = URL of Google Scholar page |
| Google Scholar = URL of Google Scholar page |
||
| |
| Show publications = 1 (show publications) or 0 (don't show any publications) |
||
| |
| Show theses = 1 (show supervisions) or 0 (don't show any supervisions) |
||
}} |
}} |
||
</pre> |
</pre> |
||
Řádek 33: | Řádek 33: | ||
{{DisplayMember |
{{DisplayMember |
||
| Page=Tomáš Masopust |
| Page=Tomáš Masopust |
||
| |
| Academic title = Dr. |
||
| |
| Academic title2 = Ph.D. |
||
| Name =Tomáš Masopust |
| Name =Tomáš Masopust |
||
| |
| Former = 0 |
||
| Forschungsgruppe = DES-TCS |
| Forschungsgruppe = DES-TCS |
||
| Stellung = Position |
| Stellung = Position |
||
| |
| Office = Room |
||
| Info = text description |
| Info = text description |
||
| |
| Consultation day = Mon |
||
| |
| Consultation start = 11:00 |
||
| |
| Consultation end = 12:00 |
||
| Telefon = phone number |
| Telefon = phone number |
||
| Fax = fax number |
| Fax = fax number |
||
Řádek 50: | Řádek 50: | ||
| DBLP = http://www.informatik.uni-trier.de/~ley/pers/hd/k/Knuth:Donald_E= |
| DBLP = http://www.informatik.uni-trier.de/~ley/pers/hd/k/Knuth:Donald_E= |
||
| Google Scholar = http://scholar.google.com/citations?user=S6H-0RAAAAAJ |
| Google Scholar = http://scholar.google.com/citations?user=S6H-0RAAAAAJ |
||
| |
| Show publications = 1 |
||
| |
| Show theses = 1 |
||
}} |
}} |
||
</noinclude><includeonly>__NOTOC__{{HideHeading1}}<!-- |
</noinclude><includeonly>__NOTOC__{{HideHeading1}}<!-- |
||
--><div itemscope itemtype ="http://schema.org/Person"><div style="margin-bottom: 5ex; "><!-- |
--><div itemscope itemtype ="http://schema.org/Person"><div style="margin-bottom: 5ex; "><!-- |
||
--><h1 class="firstHeading"><span itemprop="honorificPrefix">{{{ |
--><h1 class="firstHeading"><span itemprop="honorificPrefix">{{{Academic title|}}}</span> <span itemprop="name">{{{Name}}}{{#ifeq: {{{Academic title2|}}}|||,}}</span> <span itemprop="honorificSuffix">{{{Academic title2|}}}</span></h1>{{DISPLAYTITLE:{{#setmaintitle:{{{Name}}}}}}} |
||
<h5> |
<h5> |
||
{{#ifeq: {{{ |
{{#ifeq: {{{Former|}}}|1 |
||
|''{{MediaWiki:Portal_label_Ehemaliges_Mitglied}}'' |
|''{{MediaWiki:Portal_label_Ehemaliges_Mitglied}}'' |
||
|<span itemprop="jobTitle">{{{Stellung|}}}</span><!-- |
|<span itemprop="jobTitle">{{{Stellung|}}}</span><!-- |
||
Řádek 68: | Řádek 68: | ||
</h5></div><!-- |
</h5></div><!-- |
||
-->{{#ifeq: {{{ |
-->{{#ifeq: {{{Former|}}}|1|<!-- |
||
*** Display for former members *** |
*** Display for former members *** |
||
--><div class="row"> |
--><div class="row"> |
||
<!-- |
<!-- start left column (picture and links) --> |
||
<div class="col-sm-4 col-md-3"> |
<div class="col-sm-4 col-md-3"> |
||
<div style="max-width: 200px; "><!-- to avoid sticking image to the far right in single-column mode --> |
<div style="max-width: 200px; "><!-- to avoid sticking image to the far right in single-column mode --> |
||
<div style="margin-left: auto; margin-right: auto; width: 150px;">[[{{#setmainimage:{{#ifeq:{{{ |
<div style="margin-left: auto; margin-right: auto; width: 150px;">[[{{#setmainimage:{{#ifeq:{{{Img|}}}| |
||
| |
| |
||
| |
|Img:{{{Img}}} |
||
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{ |
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{Img|}}}|||<link itemprop="image" href="{{filepath:{{{Img}}}}}"/>}} |
||
<ul class="link-list" style="margin-top: 2ex; "><!-- |
<ul class="link-list" style="margin-top: 2ex; "><!-- |
||
Řádek 92: | Řádek 92: | ||
</div> |
</div> |
||
</div> |
</div> |
||
<!-- |
<!-- start right column (previous position and group) --> |
||
<div class="col-sm-8 col-md-9"> |
<div class="col-sm-8 col-md-9"> |
||
<ul class="plain-list"><!-- |
<ul class="plain-list"><!-- |
||
Řádek 109: | Řádek 109: | ||
--><div class="row"> |
--><div class="row"> |
||
<!-- |
<!-- start left column (picture and links) --> |
||
<div class="col-sm-4 col-md-3"> |
<div class="col-sm-4 col-md-3"> |
||
<div style="max-width: 200px; "><!-- to avoid sticking image to the far right in single-column mode --> |
<div style="max-width: 200px; "><!-- to avoid sticking image to the far right in single-column mode --> |
||
<div style="margin-left: auto; margin-right: auto; width: 150px;">[[{{#setmainimage:{{#ifeq:{{{ |
<div style="margin-left: auto; margin-right: auto; width: 150px;">[[{{#setmainimage:{{#ifeq:{{{Img|}}}| |
||
|Image:Missing_portrait_3-2.png |
|Image:Missing_portrait_3-2.png |
||
|Image:{{{ |
|Image:{{{Img}}} |
||
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{ |
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{Img|}}}|||<link itemprop="image" href="{{filepath:{{{Img}}}}}"/>}} |
||
<ul class="link-list" style="margin-top: 2ex; "><!-- |
<ul class="link-list" style="margin-top: 2ex; "><!-- |
||
Řádek 128: | Řádek 128: | ||
</div> |
</div> |
||
</div> |
</div> |
||
<!-- |
<!-- start right column (contact and info) --> |
||
<div class="col-sm-8 col-md-9"> |
<div class="col-sm-8 col-md-9"> |
||
<ul class="plain-list"><!-- |
<ul class="plain-list"><!-- |
||
Řádek 138: | Řádek 138: | ||
-->{{#ifeq: {{{Fax|}}}|||<li><span class="glyphicon glyphicon-file"></span> <span itemprop="faxNumber">{{{Fax|}}}</span></li>}}<!-- |
-->{{#ifeq: {{{Fax|}}}|||<li><span class="glyphicon glyphicon-file"></span> <span itemprop="faxNumber">{{{Fax|}}}</span></li>}}<!-- |
||
-->{{#ifeq: {{{ |
-->{{#ifeq: {{{Office|}}}|||<li><span class="glyphicon glyphicon-map-marker"></span> [[{{{Office}}}{{{L|}}}|{{{Office}}}]]</li>}}<!-- |
||
-->{{#ifeq: {{{ |
-->{{#ifeq: {{{Consultation day|}}}|||<li><span class="glyphicon glyphicon-question-sign"></span> {{{Consultation day}}}, {{{Consultation start}}} – {{{Consultation end}}} Hours |
||
</li>}} |
</li>}} |
||
</ul> |
</ul> |
||
Řádek 150: | Řádek 150: | ||
}}<!-- |
}}<!-- |
||
----- The rest is the same for both Member and |
----- The rest is the same for both Member and Former ----- |
||
--> |
--> |
||
<tabs>{{#tab: |
<tabs>{{#tab: |
||
{{#ifeq: {{{ |
{{#ifeq: {{{Show publications|}}}|1||Publications}}, |
||
{{#ifeq: {{{ |
{{#ifeq: {{{Show theses|}}}|1||Teaching}}, |
||
Projects |
Projects |
||
<!-- |
<!-- |
||
Řádek 161: | Řádek 161: | ||
--> |
--> |
||
|{{#ifeq: {{{ |
|{{#ifeq: {{{Show publications|}}}|1|| |
||
<h4>Newest Publications</h4> |
<h4>Newest Publications</h4> |
||
<span class="glyphicon glyphicon-chevron-right"></span> [[{{FULLPAGENAME}}/Publications|All Publications]] |
<span class="glyphicon glyphicon-chevron-right"></span> [[{{FULLPAGENAME}}/Publications|All Publications]] |
||
Řádek 179: | Řádek 179: | ||
{{PAGENAME}} |
{{PAGENAME}} |
||
|{{#ifeq: {{{ |
|{{#ifeq: {{{Show theses|}}}|1|| |
||
{{#ask: [[Category:Course]] [[Current teacher::{{PAGENAME}}]] |
{{#ask: [[Category:Course]] [[Current teacher::{{PAGENAME}}]] |
||
| ?Title |
| ?Title |
||
Řádek 223: | Řádek 223: | ||
*** Tab for activities *** |
*** Tab for activities *** |
||
|{{MediaWiki:Portal_label_Aktivaeten }}={{#ask: |
|{{MediaWiki:Portal_label_Aktivaeten }}={{#ask: |
||
[[Kategorie:Aktivität]] [[Person::{{FULLPAGENAME}}]] [[ |
[[Kategorie:Aktivität]] [[Person::{{FULLPAGENAME}}]] [[end(Jahr)::>{{CURRENTYEAR}}]] |
||
|mainlabel=- |
|mainlabel=- |
||
|{{#ifeq:{{{L|}}}||?Beschreibung DE=|?Beschreibung EN=}} |
|{{#ifeq:{{{L|}}}||?Beschreibung DE=|?Beschreibung EN=}} |
||
Řádek 230: | Řádek 230: | ||
|template=ZeigeAktivitaeten |
|template=ZeigeAktivitaeten |
||
|link=none |
|link=none |
||
|sort=Rank, |
|sort=Rank,start(Jahr) |
||
|order=descending,descending |
|order=descending,descending |
||
|intro=<ul style="min-height: 800px;"> |
|intro=<ul style="min-height: 800px;"> |
||
Řádek 237: | Řádek 237: | ||
}}--> |
}}--> |
||
<!-- |
<!-- end of schema.org itemscope--> |
||
</includeonly> |
</includeonly> |
Verze z 30. 9. 2021, 10:26
Template for displaying personal pages.
Usage:
{{DisplayMember | Page = title of the main page where the person's data is stored | Academic title = title prefix | Academic title2 = title suffix | Name = full name | Former = 0 (current employees) or 1 (former employees) | Forschungsgruppe = list of research{{FULLPAGENAME}} group names (semicolon separated) | Img = Image | Stellung = Position | Office = Room | Info = text description | Consultation day = Week day of office hours | Consultation start = office hour start, e.g., 11:00 | Consultation end = office hour end, e.g., 12:00 | Telefon = phone number | Fax = fax number | Email = email | Alternative URI = homepage | DBLP = URL of DBLP publication page | Google Scholar = URL of Google Scholar page | Show publications = 1 (show publications) or 0 (don't show any publications) | Show theses = 1 (show supervisions) or 0 (don't show any supervisions) }}
- Example output
Dr. Tomáš Masopust, Ph.D.
Position DES-TCS