Šablona:DisplayMember: Porovnání verzí

Z ApolloWiki
Přejít na:navigace, hledání
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
Bez shrnutí editace
 
(Není zobrazeno 173 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|}}}&nbsp;</span><!--

--><span>{{{Full name|}}}{{#ifeq: {{{Title2|}}}|||,&nbsp;}}</span><!--
Usage:
--><span>{{{Title2|}}}</span>
<pre>
| Main text=
{{DisplayMember
{{{Info|}}}
| Page = title of the main page where the person's data is stored
<!--
| Akademischer Titel = title prefix
*** Publications panel ***
| Akademischer Titel2 = title suffix
-->
| Name = full name
{{Publication query
| Ehemaliger = 0 (current employees) or 1 (former employees)
| Query=[[Category:Publication]] [[Author::{{PAGENAME}}]]
| Forschungsgruppe = list of research{{FULLPAGENAME}} group names (semicolon separated)
| Searchlabel=
| Bild = Image
| Intro= <h1>Publications</h1>
| Stellung = Position
| Outro={{#bootstrap_button: {{PAGENAME}}/Publications | color=primary | size=md | text=All publications | class=float-right}}
| 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)
}}
}}
<!--
</pre>


*** Projects panel ***
; Example output:


-->{{Project query
{{DisplayMember
|Query= [[Category:Project]][[Team member::{{PAGENAME}}]]
| Page=Tomáš Masopust
OR
| Akademischer Titel = Dr.
[[Category:Project]][[Principal investigator::{{PAGENAME}}]]
| Akademischer Titel2 = Ph.D.
OR
| Name =Tomáš Masopust
[[Category:Project]][[Co-investigator::{{PAGENAME}}]]
| Ehemaliger = 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=
| Raum = Room
}}<!--
| Info = text description
| Sprechstunde Tag = Mon
| Sprechstunde Beginn = 11:00
| Sprechstunde Ende = 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
| Publikationen anzeigen = 1
| Abschlussarbeiten anzeigen = 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">{{{Akademischer Titel|}}}</span> <span itemprop="name">{{{Name}}}{{#ifeq: {{{Akademischer Titel2|}}}|||,}}</span> <span itemprop="honorificSuffix">{{{Akademischer Titel2|}}}</span></h1>{{DISPLAYTITLE:{{#setmaintitle:{{{Name}}}}}}}
<h5>
{{#ifeq: {{{Ehemaliger|}}}|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>|,&#160;}}
{{Research group query
}}
| Query=[[Category:Research group]] [[Research group member::{{PAGENAME}}]]
</h5></div><!--
| Intro= <h1>Research groups</h1>
}}--><!--


*** teaching ***
-->{{#ifeq: {{{Ehemaliger|}}}|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:{{{Bild|}}}|
|
|Bild:{{{Bild}}}
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{Bild|}}}|||<link itemprop="image" href="{{filepath:{{{Bild}}}}}"/>}}


-->{{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>&nbsp;&nbsp;{{#ifeq: {{{Stellung|}}}|||{{MediaWiki:Portal_label_Ehemals}} {{{Stellung}}} }} {{#ifeq:{{{Forschungsgruppe|}}}|||{{MediaWiki:Portal_label_in_Forschungsgruppe}}


-->{{#ifeq: {{{DBLP|}}}|||{{#fas: book-open}} [{{{DBLP}}} DBLP]<br>}}<!--
{{#arraymap: {{{Forschungsgruppe}}}|;|@@@|[[@@@]]|,&#160;}}
</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}}&nbsp;&nbsp;<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:{{{Bild|}}}|
|Image:Missing_portrait_3-2.png
|Image:{{{Bild}}}
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{Bild|}}}|||<link itemprop="image" href="{{filepath:{{{Bild}}}}}"/>}}


-->{{#ifeq: {{{Telephone number|}}}|||{{#fas:phone}}&nbsp;&nbsp;<span>{{{Telephone number}}}</span><br>}}<!--
<ul class="link-list" style="margin-top: 2ex; "><!--


-->{{#ifeq: {{{Alternative URI|}}}|||<li><link itemprop="sameAs" href="{{{Alternative URI}}}"/>[{{{Alternative URI}}} {{MediaWiki:Portal_label_PrivatePage}}]</li>}}<!--
-->{{#ifeq: {{{Fax|}}}|||{{#fas: fax}}&nbsp;&nbsp;<span>{{{Fax|}}}</span><br>}}<!--


-->{{#ifeq: {{{DBLP|}}}|||<li><link itemprop="sameAs" href="{{{DBLP}}}"/>[{{{DBLP}}} DBLP]</li>}}<!--
-->{{#ifeq: {{{Room|}}}|||{{#fas: home}}&nbsp;&nbsp;{{#formredlink:target={{{Room|}}}|form=Office}}<br>}}<!--


-->{{#ifeq: {{{Google Scholar|}}}|||<li><link itemprop="sameAs" href="{{{Google Scholar}}}"/>[{{{Google Scholar}}} Google Scholar]</li>}}
-->{{#ifeq: {{{Office hours day|}}}|||{{#fas: comment}}&nbsp;&nbsp;{{{Office hours day}}}, {{{Office hours start}}} &ndash; {{{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: {{{Email|}}}|||<li><span class="glyphicon glyphicon-envelope"></span>&nbsp;&nbsp;<span itemprop="email">[mailto:{{{Email}}} {{{Email}}}]</span></li>}}<!--
-->{{#ifeq: {{{Room|}}}|||{{#ifexist:{{{Room|}}}|{{#fas:map-marker-alt}}&nbsp;&nbsp;{{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>&nbsp;&nbsp;<span itemprop="telephone">{{{Telefon}}}</span></li>}}<!--


|Image={{{Image|}}}
-->{{#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: {{{Sprechstunde Tag|}}}|||<li><span class="glyphicon glyphicon-question-sign"></span>&nbsp;&nbsp;{{{Sprechstunde Tag}}}, {{{Sprechstunde Beginn}}} &ndash; {{{Sprechstunde Ende}}} Hours
</li>}}
</ul>
<div style="margin-top: 4ex; " itemprop="description">
{{{Info|}}}
</div>
</div>
</div>
}}<!--

----- The rest is the same for both Member and Ehemaliger -----
-->
<tabs>{{#tab:
{{#ifeq: {{{Publikationen anzeigen|}}}|1||Publications}},
{{#ifeq: {{{Abschlussarbeiten anzeigen|}}}|1||Teaching}},
Projects
<!--

*** Tab for Publications***

-->
|{{#ifeq: {{{Publikationen anzeigen|}}}|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 ***

-->
|{{#ifeq: {{{Abschlussarbeiten anzeigen|}}}|1||
{{#ask: [[Category:Vorlesung]] <q>[[Lecturer::{{FULLPAGENAME}}]] OR [[Tutor::{{FULLPAGENAME}}]]</q>
| ?Title
| ?Year
| ?Term
| sort=Year,Term
| order=desc,desc
| intro=<h4>Courses</h4>
| format=plainlist
| template=Lehrveranstaltung kurz
| link=none
| limit=5
| searchlabel=<br/><br/>show further courses
| default=No courses
}}
{{#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}}]] [[Ende(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