Šablona:DisplayMember: Porovnání verzí

Z ApolloWiki
Přejít na:navigace, hledání
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
| Akademischer Titel = title prefix
| Academic title = title prefix
| Akademischer Titel2 = title suffix
| Academic title2 = title suffix
| Name = full name
| Name = full name
| Ehemaliger = 0 (current employees) or 1 (former employees)
| 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)
| Bild = Image
| Img = Image
| Stellung = Position
| Stellung = Position
| Raum = Room
| Office = Room
| Info = text description
| Info = text description
| Sprechstunde Tag = Week day of office hours
| Consultation day = Week day of office hours
| Sprechstunde Beginn = office hour start, e.g., 11:00
| Consultation start = office hour start, e.g., 11:00
| Sprechstunde Ende = office hour end, e.g., 12: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
| Publikationen anzeigen = 1 (show publications) or 0 (don't show any publications)
| Show publications = 1 (show publications) or 0 (don't show any publications)
| Abschlussarbeiten anzeigen = 1 (show supervisions) or 0 (don't show any supervisions)
| 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
| Akademischer Titel = Dr.
| Academic title = Dr.
| Akademischer Titel2 = Ph.D.
| Academic title2 = Ph.D.
| Name =Tomáš Masopust
| Name =Tomáš Masopust
| Ehemaliger = 0
| Former = 0
| Forschungsgruppe = DES-TCS
| Forschungsgruppe = DES-TCS
| Stellung = Position
| Stellung = Position
| Raum = Room
| Office = Room
| Info = text description
| Info = text description
| Sprechstunde Tag = Mon
| Consultation day = Mon
| Sprechstunde Beginn = 11:00
| Consultation start = 11:00
| Sprechstunde Ende = 12: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
| Publikationen anzeigen = 1
| Show publications = 1
| Abschlussarbeiten anzeigen = 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">{{{Akademischer Titel|}}}</span> <span itemprop="name">{{{Name}}}{{#ifeq: {{{Akademischer Titel2|}}}|||,}}</span> <span itemprop="honorificSuffix">{{{Akademischer Titel2|}}}</span></h1>{{DISPLAYTITLE:{{#setmaintitle:{{{Name}}}}}}}
--><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: {{{Ehemaliger|}}}|1
{{#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: {{{Ehemaliger|}}}|1|<!--
-->{{#ifeq: {{{Former|}}}|1|<!--


*** Display for former members ***
*** Display for former members ***


--><div class="row">
--><div class="row">
<!-- Start left column (picture and links) -->
<!-- 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:{{{Bild|}}}|
<div style="margin-left: auto; margin-right: auto; width: 150px;">[[{{#setmainimage:{{#ifeq:{{{Img|}}}|
|
|
|Bild:{{{Bild}}}
|Img:{{{Img}}}
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{Bild|}}}|||<link itemprop="image" href="{{filepath:{{{Bild}}}}}"/>}}
}}}}|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) -->
<!-- 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) -->
<!-- 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:{{{Bild|}}}|
<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:{{{Bild}}}
|Image:{{{Img}}}
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{Bild|}}}|||<link itemprop="image" href="{{filepath:{{{Bild}}}}}"/>}}
}}}}|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) -->
<!-- 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>&nbsp;&nbsp;<span itemprop="faxNumber">{{{Fax|}}}</span></li>}}<!--
-->{{#ifeq: {{{Fax|}}}|||<li><span class="glyphicon glyphicon-file"></span>&nbsp;&nbsp;<span itemprop="faxNumber">{{{Fax|}}}</span></li>}}<!--


-->{{#ifeq: {{{Raum|}}}|||<li><span class="glyphicon glyphicon-map-marker"></span>&nbsp;&nbsp;[[{{{Raum}}}{{{L|}}}|{{{Raum}}}]]</li>}}<!--
-->{{#ifeq: {{{Office|}}}|||<li><span class="glyphicon glyphicon-map-marker"></span>&nbsp;&nbsp;[[{{{Office}}}{{{L|}}}|{{{Office}}}]]</li>}}<!--


-->{{#ifeq: {{{Sprechstunde Tag|}}}|||<li><span class="glyphicon glyphicon-question-sign"></span>&nbsp;&nbsp;{{{Sprechstunde Tag}}}, {{{Sprechstunde Beginn}}} &ndash; {{{Sprechstunde Ende}}} Hours
-->{{#ifeq: {{{Consultation day|}}}|||<li><span class="glyphicon glyphicon-question-sign"></span>&nbsp;&nbsp;{{{Consultation day}}}, {{{Consultation start}}} &ndash; {{{Consultation end}}} Hours
</li>}}
</li>}}
</ul>
</ul>
Řádek 150: Řádek 150:
}}<!--
}}<!--


----- The rest is the same for both Member and Ehemaliger -----
----- The rest is the same for both Member and Former -----
-->
-->
<tabs>{{#tab:
<tabs>{{#tab:
{{#ifeq: {{{Publikationen anzeigen|}}}|1||Publications}},
{{#ifeq: {{{Show publications|}}}|1||Publications}},
{{#ifeq: {{{Abschlussarbeiten anzeigen|}}}|1||Teaching}},
{{#ifeq: {{{Show theses|}}}|1||Teaching}},
Projects
Projects
<!--
<!--
Řádek 161: Řádek 161:


-->
-->
|{{#ifeq: {{{Publikationen anzeigen|}}}|1||
|{{#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: {{{Abschlussarbeiten anzeigen|}}}|1||
|{{#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}}]] [[Ende(Jahr)::>{{CURRENTYEAR}}]]
[[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,Start(Jahr)
|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-->
<!-- 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.

PositionPalacky University in OlomoucDepartment of Computer Science DES-TCS
  •   email
  •   phone number
  •   fax number
  •   Room
  •   Mon, 11:00 – 12:00 Hours

text description

Newest Publications

All Publications

DisplayMember
Aktuálně nevyučuje žádné předměty.
No projects