Šablona:DisplayMember: Porovnání verzí
Z ApolloWiki
Bez shrnutí editace |
m (Editace uživatele „Prochazka vaclav“ (diskuse) vráceny do předchozího stavu, jehož autorem je „Masopust“) značka: rychlé vrácení zpět |
||
Řá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 |
||
| |
| Akademischer Titel2 = title suffix |
||
| Name = full name |
| Name = full name |
||
| |
| Ehemaliger = 0 (current employees) or 1 (former employees) |
||
| |
| Forschungsgruppe = list of research{{FULLPAGENAME}} group names (semicolon separated) |
||
| |
| Bild = Image |
||
| |
| Stellung = Position |
||
| |
| Raum = Room |
||
| Info = text description |
| Info = text description |
||
| |
| Sprechstunde Tag = Week day of office hours |
||
| |
| Sprechstunde Beginn = office hour start, e.g., 11:00 |
||
| |
| Sprechstunde Ende = 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) |
||
| |
| Abschlussarbeiten anzeigen = 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. |
||
| |
| Akademischer Titel2 = Ph.D. |
||
| Name =Tomáš Masopust |
| Name =Tomáš Masopust |
||
| |
| Ehemaliger = 0 |
||
| |
| Forschungsgruppe = DES-TCS |
||
| |
| Stellung = Position |
||
| |
| Raum = Room |
||
| Info = text description |
| Info = text description |
||
| |
| Sprechstunde Tag = Mon |
||
| |
| Sprechstunde Beginn = 11:00 |
||
| |
| Sprechstunde Ende = 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 |
||
| |
| Abschlussarbeiten anzeigen = 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">{{{Akademischer Titel|}}}</span> <span itemprop="name">{{{Name}}}{{#ifeq: {{{Akademischer Titel2|}}}|||,}}</span> <span itemprop="honorificSuffix">{{{Akademischer Titel2|}}}</span></h1>{{DISPLAYTITLE:{{#setmaintitle:{{{Name}}}}}}} |
||
<h5> |
<h5> |
||
{{#ifeq: {{{ |
{{#ifeq: {{{Ehemaliger|}}}|1 |
||
|''{{MediaWiki:Portal_label_Ehemaliges_Mitglied}}'' |
|''{{MediaWiki:Portal_label_Ehemaliges_Mitglied}}'' |
||
|<span itemprop="jobTitle">{{{ |
|<span itemprop="jobTitle">{{{Stellung|}}}</span><!-- |
||
// Only set affiliation for current members; this will include guests and we do not actually set "worksFor": // |
// Only set affiliation for current members; this will include guests and we do not actually set "worksFor": // |
||
--><span style="display: none; "><span itemprop="affiliation" itemscope itemtype="http://schema.org/Organization"><span itemprop="name">Palacky University in Olomouc</span><span itemprop="url">http://www.upol.cz</span></span><span itemprop="affiliation" itemscope itemtype="http://schema.org/Organization"><span itemprop="name">Department of Computer Science</span><span itemprop="url">https://www.inf.upol.cz</span></span></span> <!-- |
--><span style="display: none; "><span itemprop="affiliation" itemscope itemtype="http://schema.org/Organization"><span itemprop="name">Palacky University in Olomouc</span><span itemprop="url">http://www.upol.cz</span></span><span itemprop="affiliation" itemscope itemtype="http://schema.org/Organization"><span itemprop="name">Department of Computer Science</span><span itemprop="url">https://www.inf.upol.cz</span></span></span> <!-- |
||
-->{{#arraymap: {{{ |
-->{{#arraymap: {{{Forschungsgruppe}}}|;|@@@|<span itemprop="memberOf">[[@@@]]</span>|, }} |
||
}} |
}} |
||
</h5></div><!-- |
</h5></div><!-- |
||
-->{{#ifeq: {{{ |
-->{{#ifeq: {{{Ehemaliger|}}}|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:{{{Bild|}}}| |
||
| |
| |
||
| |
|Bild:{{{Bild}}} |
||
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{ |
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{Bild|}}}|||<link itemprop="image" href="{{filepath:{{{Bild}}}}}"/>}} |
||
<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"><!-- |
||
--><!-- TODO --> |
--><!-- TODO --> |
||
<li><span class="glyphicon glyphicon-info-sign"></span> {{#ifeq: {{{ |
<li><span class="glyphicon glyphicon-info-sign"></span> {{#ifeq: {{{Stellung|}}}|||{{MediaWiki:Portal_label_Ehemals}} {{{Stellung}}} }} {{#ifeq:{{{Forschungsgruppe|}}}|||{{MediaWiki:Portal_label_in_Forschungsgruppe}} |
||
{{#arraymap: {{{ |
{{#arraymap: {{{Forschungsgruppe}}}|;|@@@|[[@@@]]|, }} |
||
</li>}} |
</li>}} |
||
</ul> |
</ul> |
||
Řá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:{{{Bild|}}}| |
||
|Image:Missing_portrait_3-2.png |
|Image:Missing_portrait_3-2.png |
||
|Image:{{{ |
|Image:{{{Bild}}} |
||
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{ |
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{Bild|}}}|||<link itemprop="image" href="{{filepath:{{{Bild}}}}}"/>}} |
||
<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: {{{Raum|}}}|||<li><span class="glyphicon glyphicon-map-marker"></span> [[{{{Raum}}}{{{L|}}}|{{{Raum}}}]]</li>}}<!-- |
||
-->{{#ifeq: {{{ |
-->{{#ifeq: {{{Sprechstunde Tag|}}}|||<li><span class="glyphicon glyphicon-question-sign"></span> {{{Sprechstunde Tag}}}, {{{Sprechstunde Beginn}}} – {{{Sprechstunde Ende}}} 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 Ehemaliger ----- |
||
--> |
--> |
||
<tabs>{{#tab: |
<tabs>{{#tab: |
||
{{#ifeq: {{{ |
{{#ifeq: {{{Publikationen anzeigen|}}}|1||Publications}}, |
||
{{#ifeq: {{{ |
{{#ifeq: {{{Abschlussarbeiten anzeigen|}}}|1||Teaching}}, |
||
Projects |
Projects |
||
<!-- |
<!-- |
||
Řádek 161: | Řádek 161: | ||
--> |
--> |
||
|{{#ifeq: {{{ |
|{{#ifeq: {{{Publikationen anzeigen|}}}|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 177: | Řádek 177: | ||
--> |
--> |
||
⚫ | |||
{{PAGENAME}} |
|||
{{#ask: [[Category:Vorlesung]] <q>[[Lecturer::{{FULLPAGENAME}}]] OR [[Tutor::{{FULLPAGENAME}}]]</q> |
|||
⚫ | |||
{{#ask: [[Category:Course]] [[Current teacher::{{PAGENAME}}]] |
|||
| ?Title |
| ?Title |
||
| ?Year |
|||
| ?Term |
| ?Term |
||
| sort=Year,Term |
|||
| order=desc,desc |
|||
| intro=<h4>Courses</h4> |
| intro=<h4>Courses</h4> |
||
| format=plainlist |
| format=plainlist |
||
| template= |
| template=Lehrveranstaltung kurz |
||
| |
| link=none |
||
| limit=5 |
|||
| searchlabel=<br/><br/> |
| searchlabel=<br/><br/>show further courses |
||
| default=Aktuálně nevyučuje žádné předměty. |
|||
| default=No courses |
|||
}} |
}} |
||
{{#ask: [[Category:Projektarbeit]] [[Current::1]] [[Contact::{{FULLPAGENAME}}]] |
{{#ask: [[Category:Projektarbeit]] [[Current::1]] [[Contact::{{FULLPAGENAME}}]] |
||
Řádek 223: | Řádek 225: | ||
*** 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}}]] [[Ende(Jahr)::>{{CURRENTYEAR}}]] |
||
|mainlabel=- |
|mainlabel=- |
||
|{{#ifeq:{{{L|}}}||?Beschreibung DE=|?Beschreibung EN=}} |
|{{#ifeq:{{{L|}}}||?Beschreibung DE=|?Beschreibung EN=}} |
||
Řádek 230: | Řádek 232: | ||
|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 239: | ||
}}--> |
}}--> |
||
<!-- |
<!-- End of schema.org itemscope--> |
||
</includeonly> |
</includeonly> |
Verze z 30. 9. 2021, 10:35
Template for displaying personal pages.
Usage:
{{DisplayMember | Page = title of the main page where the person's data is stored | Akademischer Titel = title prefix | Akademischer Titel2 = title suffix | Name = full name | Ehemaliger = 0 (current employees) or 1 (former employees) | Forschungsgruppe = list of research{{FULLPAGENAME}} group names (semicolon separated) | Bild = Image | Stellung = Position | Raum = Room | Info = text description | Sprechstunde Tag = Week day of office hours | Sprechstunde Beginn = office hour start, e.g., 11:00 | Sprechstunde Ende = 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 | Publikationen anzeigen = 1 (show publications) or 0 (don't show any publications) | Abschlussarbeiten anzeigen = 1 (show supervisions) or 0 (don't show any supervisions) }}
- Example output
Dr. Tomáš Masopust, Ph.D.
Position DES-TCS