Šablona:DisplayMember: Porovnání verzí
Z ApolloWiki
(Translated from german to english) |
Bez shrnutí editace |
||
(Není zobrazeno 176 mezilehlých verzí od 2 dalších uživatelů.) | |||
Řádek 1: | Řádek 1: | ||
{{Layout with infobox |
|||
<noinclude> |
|||
| Heading=<!-- |
|||
Template for displaying personal pages. |
|||
--><span>{{{Title|}}} </span><!-- |
|||
--><span>{{{Full name|}}}{{#ifeq: {{{Title2|}}}|||, }}</span><!-- |
|||
Usage: |
|||
--><span>{{{Title2|}}}</span> |
|||
<pre> |
|||
| Main text= |
|||
{{DisplayMember |
|||
{{{Info|}}} |
|||
| Page = title of the main page where the person's data is stored |
|||
<!-- |
|||
| Academic title = title prefix |
|||
*** Publications panel *** |
|||
| Academic title2 = title suffix |
|||
--> |
|||
| Name = full name |
|||
{{Publication query |
|||
| Former = 0 (current employees) or 1 (former employees) |
|||
| Query=[[Category:Publication]] [[Author::{{PAGENAME}}]] |
|||
| Forschungsgruppe = list of research{{FULLPAGENAME}} group names (semicolon separated) |
|||
| Searchlabel= |
|||
| Img = Image |
|||
| Intro= <h1>Publications</h1> |
|||
| Stellung = Position |
|||
| Outro={{#bootstrap_button: {{PAGENAME}}/Publications | color=primary | size=md | text=All publications | class=float-right}} |
|||
| 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) |
|||
}} |
}} |
||
<!-- |
|||
</pre> |
|||
*** Projects panel *** |
|||
; Example output: |
|||
-->{{Project query |
|||
{{DisplayMember |
|||
|Query= [[Category:Project]][[Team member::{{PAGENAME}}]] |
|||
| Page=Tomáš Masopust |
|||
OR |
|||
| Academic title = Dr. |
|||
[[Category:Project]][[Principal investigator::{{PAGENAME}}]] |
|||
| Academic title2 = Ph.D. |
|||
OR |
|||
| Name =Tomáš Masopust |
|||
[[Category:Project]][[Co-investigator::{{PAGENAME}}]] |
|||
| Former = 0 |
|||
|Intro=<h1>Projects</h1> |
|||
| Forschungsgruppe = DES-TCS |
|||
|Outro={{#bootstrap_button: {{PAGENAME}}/Projects | color=primary | size=md | text=All projects | class=float-right}} |
|||
| Stellung = Position |
|||
|Searchlabel= |
|||
| Office = Room |
|||
}}<!-- |
|||
| Info = text description |
|||
| Consultation day = Mon |
|||
| Consultation start = 11:00 |
|||
| Consultation end = 12:00 |
|||
| Telefon = phone number |
|||
| Fax = fax number |
|||
| Email = email |
|||
| Alternative URI = http://example.com/john.doe |
|||
| DBLP = http://www.informatik.uni-trier.de/~ley/pers/hd/k/Knuth:Donald_E= |
|||
| Google Scholar = http://scholar.google.com/citations?user=S6H-0RAAAAAJ |
|||
| Show publications = 1 |
|||
| Show theses = 1 |
|||
}} |
|||
*** Research group *** Each person should belong just to one so this is unnecessary |
|||
</noinclude><includeonly>__NOTOC__{{HideHeading1}}<!-- |
|||
--><div itemscope itemtype ="http://schema.org/Person"><div style="margin-bottom: 5ex; "><!-- |
|||
--><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> |
|||
{{#ifeq: {{{Former|}}}|1 |
|||
|''{{MediaWiki:Portal_label_Ehemaliges_Mitglied}}'' |
|||
|<span itemprop="jobTitle">{{{Stellung|}}}</span><!-- |
|||
// 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> <!-- |
|||
--><!-- |
|||
-->{{#arraymap: {{{Forschungsgruppe}}}|;|@@@|<span itemprop="memberOf">[[@@@]]</span>|, }} |
|||
{{Research group query |
|||
}} |
|||
| Query=[[Category:Research group]] [[Research group member::{{PAGENAME}}]] |
|||
</h5></div><!-- |
|||
| Intro= <h1>Research groups</h1> |
|||
}}--><!-- |
|||
*** teaching *** |
|||
-->{{#ifeq: {{{Former|}}}|1|<!-- |
|||
--><!-- |
|||
*** Display for former members *** |
|||
-->{{Course query |
|||
|Query=[[Category:Course]][[Current teacher::{{PAGENAME}}]] |
|||
|Intro=<h1>Courses</h1> |
|||
|Outro={{#bootstrap_button: {{PAGENAME}}/Courses | color=primary | size=md | text=All courses | class=float-right}} |
|||
|Searchlabel= |
|||
}}<!-- |
|||
*** Theses panel *** |
|||
--><div class="row"> |
|||
<!-- start left column (picture and links) --> |
|||
<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="margin-left: auto; margin-right: auto; width: 150px;">[[{{#setmainimage:{{#ifeq:{{{Img|}}}| |
|||
| |
|||
|Img:{{{Img}}} |
|||
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{Img|}}}|||<link itemprop="image" href="{{filepath:{{{Img}}}}}"/>}} |
|||
-->{{Thesis query |
|||
<ul class="link-list" style="margin-top: 2ex; "><!-- |
|||
| Query=[[Category:Thesis]] [[Thesis committee::{{PAGENAME}}]] |
|||
| Intro= <h1>Theses</h1> |
|||
| Outro={{#bootstrap_button: {{PAGENAME}}/Theses | color=primary | size=md | text=All theses | class=float-right}} |
|||
|Searchlabel= |
|||
}}<!-- |
|||
*** CV panel *** |
|||
-->{{#ifeq: {{{Alternative URI|}}}|||<li><link itemprop="sameAs" href="{{{Alternative URI}}}"/>[{{{Alternative URI}}} {{MediaWiki:Portal_label_PrivatePage}}]</li>}}<!-- |
|||
-->{{CV component queries |
|||
-->{{#ifeq: {{{DBLP|}}}|||<li><link itemprop="sameAs" href="{{{DBLP}}}"/>[{{{DBLP}}} DBLP]</li>}}<!-- |
|||
| Query=[[CV component belongs to::{{PAGENAME}}]] |
|||
| Intro=<h1>CV</h1> |
|||
|Searchlabel= |
|||
}}<!-- |
|||
-->{{#ifeq:{{{Member tools|}}}||| |
|||
-->{{#ifeq: {{{Google Scholar|}}}|||<li><link itemprop="sameAs" href="{{{Google Scholar}}}"/>[{{{Google Scholar}}} Google Scholar]</li>}} |
|||
{{Tool query |
|||
</ul> |
|||
| Query={{#arraymap:{{{Member tools|}}}|,|x|[[x]]|OR}} |
|||
</div> |
|||
| Intro=<h1>Tools</h1> |
|||
</div> |
|||
}} |
|||
</div> |
|||
}}<!-- |
|||
<!-- start right column (previous position and group) --> |
|||
--><headertabs/> |
|||
<div class="col-sm-8 col-md-9"> |
|||
|Infobox= |
|||
<ul class="plain-list"><!-- |
|||
{{#ifeq: {{{Alternative URI|}}}|||{{#fas: globe}} [{{{Alternative URI}}} Homepage]<br>}}<!-- |
|||
--><!-- TODO --> |
|||
<li><span class="glyphicon glyphicon-info-sign"></span> {{#ifeq: {{{Stellung|}}}|||{{MediaWiki:Portal_label_Ehemals}} {{{Stellung}}} }} {{#ifeq:{{{Forschungsgruppe|}}}|||{{MediaWiki:Portal_label_in_Forschungsgruppe}} |
|||
-->{{#ifeq: {{{DBLP|}}}|||{{#fas: book-open}} [{{{DBLP}}} DBLP]<br>}}<!-- |
|||
{{#arraymap: {{{Forschungsgruppe}}}|;|@@@|[[@@@]]|, }} |
|||
</li>}} |
|||
</ul> |
|||
</div> |
|||
</div> |
|||
|<!-- |
|||
-->{{#ifeq: {{{Google Scholar|}}}|||{{#fas: graduation-cap}} [{{{Google Scholar}}} Google Scholar]<br>}}<!-- |
|||
*** Display for current members *** |
|||
--><!-- contact |
|||
--><div class="row"> |
|||
--><!-- |
|||
<!-- start left column (picture and links) --> |
|||
-->{{#ifeq: {{{Email|}}}|||{{#fas:envelope}} <span>[mailto:{{{Email}}} {{{Email}}}]</span><br>}}<!-- |
|||
<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="margin-left: auto; margin-right: auto; width: 150px;">[[{{#setmainimage:{{#ifeq:{{{Img|}}}| |
|||
|Image:Missing_portrait_3-2.png |
|||
|Image:{{{Img}}} |
|||
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{Img|}}}|||<link itemprop="image" href="{{filepath:{{{Img}}}}}"/>}} |
|||
-->{{#ifeq: {{{Telephone number|}}}|||{{#fas:phone}} <span>{{{Telephone number}}}</span><br>}}<!-- |
|||
<ul class="link-list" style="margin-top: 2ex; "><!-- |
|||
-->{{#ifeq: {{{ |
-->{{#ifeq: {{{Fax|}}}|||{{#fas: fax}} <span>{{{Fax|}}}</span><br>}}<!-- |
||
-->{{#ifeq: {{{ |
-->{{#ifeq: {{{Room|}}}|||{{#fas: home}} {{#formredlink:target={{{Room|}}}|form=Office}}<br>}}<!-- |
||
-->{{#ifeq: {{{ |
-->{{#ifeq: {{{Office hours day|}}}|||{{#fas: comment}} {{{Office hours day}}}, {{{Office hours start}}} – {{{Office hours end}}} Hours<br>}}<!-- |
||
</ul> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- start right column (contact and info) --> |
|||
<div class="col-sm-8 col-md-9"> |
|||
<ul class="plain-list"><!-- |
|||
-->{{#ifeq: {{{ |
-->{{#ifeq: {{{Room|}}}|||{{#ifexist:{{{Room|}}}|{{#fas:map-marker-alt}} {{Address|Building={{#show:{{{Room|}}}|?Located in building|link=none}}}}<br>}}}}<!-- |
||
-->{{#ifeq:{{{Research groups|}}}|||{{#fas: flask}} {{#arraymap:{{{Research groups|}}}|,|x|[[x]]<br>|}}}} |
|||
-->{{#ifeq: {{{Telefon|}}}|||<li><span class="glyphicon glyphicon-phone-alt"></span> <span itemprop="telephone">{{{Telefon}}}</span></li>}}<!-- |
|||
|Image={{{Image|}}} |
|||
-->{{#ifeq: {{{Fax|}}}|||<li><span class="glyphicon glyphicon-file"></span> <span itemprop="faxNumber">{{{Fax|}}}</span></li>}}<!-- |
|||
-->{{#ifeq: {{{Office|}}}|||<li><span class="glyphicon glyphicon-map-marker"></span> [[{{{Office}}}{{{L|}}}|{{{Office}}}]]</li>}}<!-- |
|||
-->{{#ifeq: {{{Consultation day|}}}|||<li><span class="glyphicon glyphicon-question-sign"></span> {{{Consultation day}}}, {{{Consultation start}}} – {{{Consultation end}}} Hours |
|||
</li>}} |
|||
</ul> |
|||
<div style="margin-top: 4ex; " itemprop="description"> |
|||
{{{Info|}}} |
|||
</div> |
|||
</div> |
|||
</div> |
|||
}}<!-- |
|||
----- The rest is the same for both Member and Former ----- |
|||
--> |
|||
<tabs>{{#tab: |
|||
{{#ifeq: {{{Show publications|}}}|1||Publications}}, |
|||
{{#ifeq: {{{Show theses|}}}|1||Teaching}}, |
|||
Projects |
|||
<!-- |
|||
*** Tab for Publications*** |
|||
--> |
|||
|{{#ifeq: {{{Show publications|}}}|1|| |
|||
<h4>Newest Publications</h4> |
|||
<span class="glyphicon glyphicon-chevron-right"></span> [[{{FULLPAGENAME}}/Publications|All Publications]] |
|||
{{Publikationen |
|||
|Autor={{FULLPAGENAME}} |
|||
|sort=year,Zuletzt geändert |
|||
|order=descending,descending |
|||
|limit=10 |
|||
|outro=<span class="glyphicon glyphicon-chevron-right"></span> [[{{FULLPAGENAME}}/Publications|All Publicatioins]] |
|||
}} |
}} |
||
}} |
|||
<!-- |
|||
*** Tab for teaching *** |
|||
--> |
|||
{{PAGENAME}} |
|||
|{{#ifeq: {{{Show theses|}}}|1|| |
|||
{{#ask: [[Category:Course]] [[Current teacher::{{PAGENAME}}]] |
|||
| ?Title |
|||
| ?Term |
|||
| intro=<h4>Courses</h4> |
|||
| format=plainlist |
|||
| template=Display course in query |
|||
| limit=10 |
|||
| searchlabel=<br/><br/>více předmětů |
|||
| default=Aktuálně nevyučuje žádné předměty. |
|||
}} |
|||
{{#ask: [[Category:Projektarbeit]] [[Current::1]] [[Contact::{{FULLPAGENAME}}]] |
|||
| ?Titel DE=page |
|||
| format=plainlist |
|||
| template=Projektarbeit Listing kurz |
|||
| intro=<h4>Student projects</h4> |
|||
| link=none |
|||
| sort=Titel DE |
|||
| order=desc |
|||
}} |
|||
{{Thesis list |
|||
| status=Offen |
|||
| query=[[Betreuer::{{FULLPAGENAME}}]] |
|||
}} |
|||
{{Thesis list |
|||
| status=Abgeschlossen |
|||
| query=[[Betreuer::{{FULLPAGENAME}}]] |
|||
}} |
|||
}} |
|||
<!-- |
|||
*** Tab for Projects *** |
|||
--> |
|||
|{{List projects |
|||
| query = [[Projektstatus::active]] [[Kontaktperson::{{FULLPAGENAME}}]] |
|||
| fortab=1 |
|||
}} |
|||
</div> |
|||
}}</tabs> |
|||
<!-- |
|||
*** Tab for activities *** |
|||
|{{MediaWiki:Portal_label_Aktivaeten }}={{#ask: |
|||
[[Kategorie:Aktivität]] [[Person::{{FULLPAGENAME}}]] [[end(Jahr)::>{{CURRENTYEAR}}]] |
|||
|mainlabel=- |
|||
|{{#ifeq:{{{L|}}}||?Beschreibung DE=|?Beschreibung EN=}} |
|||
|?URL= |
|||
|format=plainlist |
|||
|template=ZeigeAktivitaeten |
|||
|link=none |
|||
|sort=Rank,start(Jahr) |
|||
|order=descending,descending |
|||
|intro=<ul style="min-height: 800px;"> |
|||
|outro=</ul> |
|||
|default=HIDETHISTAB |
|||
}}--> |
|||
<!-- end of schema.org itemscope--> |
|||
</includeonly> |
Aktuální verze z 25. 5. 2022, 19:33