Šablona:DisplayMember: Porovnání verzí
Z ApolloWiki
(Translated from german to english) |
(translation update) |
||
Řádek 10: | Řádek 10: | ||
| Name = full name |
| Name = full name |
||
| Former = 0 (current employees) or 1 (former employees) |
| Former = 0 (current employees) or 1 (former employees) |
||
| |
| Research team = list of research{{FULLPAGENAME}} group names (semicolon separated) |
||
| Img = Image |
| Img = Image |
||
| |
| Position = Position |
||
| Office = Room |
| Office = Room |
||
| Info = text description |
| Info = text description |
||
Řádek 37: | Řádek 37: | ||
| Name =Tomáš Masopust |
| Name =Tomáš Masopust |
||
| Former = 0 |
| Former = 0 |
||
| |
| Research team = DES-TCS |
||
| |
| Position = Position |
||
| Office = Room |
| Office = Room |
||
| Info = text description |
| Info = text description |
||
Řádek 60: | Řádek 60: | ||
{{#ifeq: {{{Former|}}}|1 |
{{#ifeq: {{{Former|}}}|1 |
||
|''{{MediaWiki:Portal_label_Ehemaliges_Mitglied}}'' |
|''{{MediaWiki:Portal_label_Ehemaliges_Mitglied}}'' |
||
|<span itemprop="jobTitle">{{{ |
|<span itemprop="jobTitle">{{{Position|}}}</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: {{{Research team}}}|;|@@@|<span itemprop="memberOf">[[@@@]]</span>|, }} |
||
}} |
}} |
||
</h5></div><!-- |
</h5></div><!-- |
||
Řádek 97: | Řádek 97: | ||
--><!-- TODO --> |
--><!-- TODO --> |
||
<li><span class="glyphicon glyphicon-info-sign"></span> {{#ifeq: {{{ |
<li><span class="glyphicon glyphicon-info-sign"></span> {{#ifeq: {{{Position|}}}|||{{MediaWiki:Portal_label_Ehemals}} {{{Position}}} }} {{#ifeq:{{{Research team|}}}|||{{MediaWiki:Portal_label_in_Research team}} |
||
{{#arraymap: {{{ |
{{#arraymap: {{{Research team}}}|;|@@@|[[@@@]]|, }} |
||
</li>}} |
</li>}} |
||
</ul> |
</ul> |
Verze z 30. 9. 2021, 10:32
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) | Research team = list of research{{FULLPAGENAME}} group names (semicolon separated) | Img = Image | Position = 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