(pridane officeHours)
(17 intermediate revisions by 4 users not shown)
Riadok 1: Riadok 1:
__NOTOC__={{{caption}}}=
+
__NOTOC__<div style="font-size:18pt;color:#2875d6;">'''{{nadpis|{{{caption}}}}}'''</div>
 
<div style="border: thin solid silver; background: white; margin: 1em;">
 
<div style="border: thin solid silver; background: white; margin: 1em;">
 
{|style="border-collapse:collapse; background-color:white;" cellpadding="20" cellspacing="0" border="0"
 
{|style="border-collapse:collapse; background-color:white;" cellpadding="20" cellspacing="0" border="0"
|width="160" valign="top"|[[Image:{{#if:{{{image|<noinclude>-</noinclude>}}}|{{{image}}}|any.gif}}|150px|{{{caption}}}]]
+
|width={{#ifeq:{{{image}}}|none|"10"|"160"}} valign="top"|{{#ifeq:{{{image}}}|none||[[Image:{{#if:{{{image|<noinclude>-</noinclude>}}}|{{{image}}}|any.gif}}|150px|{{{caption}}}]]}}
 
|width="510" valign="top"|
 
|width="510" valign="top"|
 
{|
 
{|
Riadok 27: Riadok 27:
 
{{#if:{{{room|<noinclude>-</noinclude>}}}|
 
{{#if:{{{room|<noinclude>-</noinclude>}}}|
 
{{!}}align="right" valign="top"{{!}}'''Office:'''{{!!}} {{!!}}{{{room}}}
 
{{!}}align="right" valign="top"{{!}}'''Office:'''{{!!}} {{!!}}{{{room}}}
 +
{{!-}}
 +
}}
 +
{{#if:{{{officeHours|}}}|
 +
{{!}}align="right" valign="top"{{!}}'''Office hours:'''{{!!}} {{!!}}{{{officeHours}}}
 
{{!-}}
 
{{!-}}
 
}}
 
}}
 
|align="right" valign="top"|'''Address:'''||
 
|align="right" valign="top"|'''Address:'''||
|{{{fullname}}}<br>Katedra aplikovanej informatiky<br>FMFI UK<br>Mlynská dolina<br>824 48 Bratislava<br>Slovakia
+
|{{{fullname}}}<br>Department of Applied Informatics<br>FMFI UK<br>Mlynská dolina<br>824 48 Bratislava<br>Slovakia
 
|-
 
|-
 
{{#if:{{{web|<noinclude>-</noinclude>}}}|
 
{{#if:{{{web|<noinclude>-</noinclude>}}}|
Riadok 37: Riadok 41:
 
}}
 
}}
 
|}
 
|}
|}</div><noinclude>
+
|}</div>
 +
{{#if:{{{info|<noinclude>-</noinclude>}}}|
 +
{{{info}}} }}
 +
{{ResponsibleFor}}
 +
{{#if:{{{section|}}}|
 +
[[Category:{{{section}}}]]
 +
|
 +
{{#if:{{#pos:{{{position}}}|alumn}}|
 +
[[Category:Emeriti and Alumni]]
 +
|
 +
{{#ifeq:{{{position|}}}|doctoral student|
 +
[[Category:Doctoral students]]
 +
|
 +
{{#if:{{#pos:{{{position}}}|ext}}|[[Category:External collaborators]]|
 +
[[Category:People]]
 +
}}
 +
}}
 +
}}
 +
}}
 +
<noinclude>
  
 
== Usage ==
 
== Usage ==
Riadok 43: Riadok 66:
 
This is a template for a person on the [[People]] page. Use it as follows
 
This is a template for a person on the [[People]] page. Use it as follows
  
  <nowiki>{{Osoba
+
  <nowiki>{{Person
 
   | fullname = your full name with academic titles
 
   | fullname = your full name with academic titles
 
   | caption  = your name without titles
 
   | caption  = your name without titles
Riadok 53: Riadok 76:
 
   | phone    = your work phone, typically +421 2 602 95 nnn
 
   | phone    = your work phone, typically +421 2 602 95 nnn
 
   | room    = your office room
 
   | room    = your office room
 +
  | officeHours = your office hours
 
   | web      = [address page_name] the full address of your homepage
 
   | web      = [address page_name] the full address of your homepage
 
                 (including http://)
 
                 (including http://)
 +
  | info    = everything else you want to have on this page (multiple lines ok)
 
  }}</nowiki>
 
  }}</nowiki>
  
 
== An example to copy & paste: ==
 
== An example to copy & paste: ==
  
  <nowiki>{{Osoba
+
  <nowiki>{{Person
 
   | fullname = doc. PhDr. Ján Rybár, PhD.
 
   | fullname = doc. PhDr. Ján Rybár, PhD.
 
   | caption  = Ján Rybár
 
   | caption  = Ján Rybár
Riadok 68: Riadok 93:
 
   | phone    = +421 2 602 95 835<br>+421 2 654 22 263
 
   | phone    = +421 2 602 95 835<br>+421 2 654 22 263
 
   | room    = i25
 
   | room    = i25
 +
  | officeHours = Wed 14:00 - 14:50
 
   | web      = [http://dai.fmph.uniba.sk/ katedra]
 
   | web      = [http://dai.fmph.uniba.sk/ katedra]
 
  }}</nowiki>
 
  }}</nowiki>
 
</noinclude>
 
</noinclude>

Verzia zo dňa a času 16:11, 3. november 2016

{{{caption}}}

[[Image:{{{image}}}|150px|{{{caption}}}]]
Name: {{{fullname}}}
{{{position}}}
Section: {{{section}}}
Phone: {{{phone}}}
Email: {{{email}}}
Office: {{{room}}}
Address: {{{fullname}}}
Department of Applied Informatics
FMFI UK
Mlynská dolina
824 48 Bratislava
Slovakia
Web: {{{web}}}

{{{info}}}


Responsible for pages:


Usage

This is a template for a person on the People page. Use it as follows

{{Person
   | fullname = your full name with academic titles
   | caption  = your name without titles
   | image    = the file name of your photo, preferably surname.jpg
   | section  = your section name
   | position = your occupation or position within the department
   | email    = yourmailname[[Image:zavinac.gif|@]]fmph.uniba.sk, 
                use [[Image:zavinac.gif|@]] instead of ‘@’
   | phone    = your work phone, typically +421 2 602 95 nnn
   | room     = your office room
   | officeHours = your office hours
   | web      = [address page_name] the full address of your homepage
                (including http://)
   | info     = everything else you want to have on this page (multiple lines ok)
 }}

An example to copy & paste:

{{Person
  | fullname = doc. PhDr. Ján Rybár, PhD.
  | caption  = Ján Rybár
  | image    = rybar.jpg
  | section  = Centrum kognitívnych vied
  | position = učiteľ
  | email    = rybar[[Image:zavinac.gif|@]]fmph.uniba.sk
  | phone    = +421 2 602 95 835<br>+421 2 654 22 263
  | room     = i25
  | officeHours = Wed 14:00 - 14:50
  | web      = [http://dai.fmph.uniba.sk/ katedra]
 }}