Šablona:DisplayMember: Porovnání verzí

Z ApolloWiki
Přejít na:navigace, hledání
(translation update)
Bez shrnutí editace
Řádek 11: Řádek 11:
| 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)
| Research team = list of research{{FULLPAGENAME}} group names (semicolon separated)
| Img = Image
| Image = Image
| Position = Position
| Position = Position
| Office = Room
| Office = Room
Řádek 76: Řádek 76:
<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:{{{Img|}}}|
<div style="margin-left: auto; margin-right: auto; width: 150px;">[[{{#setmainimage:{{#ifeq:{{{Image|}}}|
|
|
|Img:{{{Img}}}
|Image:{{{Image}}}
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{Img|}}}|||<link itemprop="image" href="{{filepath:{{{Img}}}}}"/>}}
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{Image|}}}|||<link itemprop="image" href="{{filepath:{{{Image}}}}}"/>}}


<ul class="link-list" style="margin-top: 2ex; "><!--
<ul class="link-list" style="margin-top: 2ex; "><!--
Řádek 112: Řádek 112:
<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:{{{Img|}}}|
<div style="margin-left: auto; margin-right: auto; width: 150px;">[[{{#setmainimage:{{#ifeq:{{{Image|}}}|
|Image:Missing_portrait_3-2.png
|Image:Missing_portrait_3-2.png
|Image:{{{Img}}}
|Image:{{{Image}}}
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{Img|}}}|||<link itemprop="image" href="{{filepath:{{{Img}}}}}"/>}}
}}}}|150px|link=|frameless|{{{Name}}}]]{{#ifeq:{{{Image|}}}|||<link itemprop="image" href="{{filepath:{{{Image}}}}}"/>}}


<ul class="link-list" style="margin-top: 2ex; "><!--
<ul class="link-list" style="margin-top: 2ex; "><!--

Verze z 30. 9. 2021, 10:34

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)
| Image = 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.

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