(Drobny fix zbytocneho markupu)
 
(19 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div style="font-size:18pt;color:#2875d6;">'''{{{caption}}}'''</div>
+
__NOTOC__
{|style="border-collapse:collapse;background-color:#ffffff;"
+
{{nadpis|{{{caption}}}}}
|rowspan="9" width="160" valign="top"|[[Image:{{#if:{{{image|<noinclude>-</noinclude>}}}|{{{image}}}|any.gif}}|150px|{{{caption}}}]]
+
<div style="border: thin solid silver; background: white; margin: 1em;">
 +
{|style="border-collapse:collapse; background-color:white;" cellpadding="20" cellspacing="0" border="0"
 +
|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="100" align="right"|'''Meno:'''
 
|width="100" align="right"|'''Meno:'''
 
|width="10"|
 
|width="10"|
Line 11: Line 15:
 
}}
 
}}
 
{{#if:{{{section|<noinclude>-</noinclude>}}}|
 
{{#if:{{{section|<noinclude>-</noinclude>}}}|
{{!}}align="right"{{!}}'''Oddelenie:'''{{!!}} {{!!}}{{{section}}}
+
{{!}}align="right" valign="top"{{!}}'''Oddelenie:'''{{!!}} {{!!}}{{{section}}}
 
{{!-}}
 
{{!-}}
 
}}
 
}}
Line 24: Line 28:
 
{{#if:{{{room|<noinclude>-</noinclude>}}}|
 
{{#if:{{{room|<noinclude>-</noinclude>}}}|
 
{{!}}align="right" valign="top"{{!}}'''Miestnosť:'''{{!!}} {{!!}}{{{room}}}
 
{{!}}align="right" valign="top"{{!}}'''Miestnosť:'''{{!!}} {{!!}}{{{room}}}
 +
{{!-}}
 +
}}
 +
{{#if:{{{officeHours|}}}|
 +
{{!}}align="right" valign="top"{{!}}'''Konzultačné hodiny:'''{{!!}} {{!!}}{{{officeHours}}}
 
{{!-}}
 
{{!-}}
 
}}
 
}}
Line 33: Line 41:
 
{{!-}}
 
{{!-}}
 
}}
 
}}
|}<noinclude>
+
|}
 +
|}</div>
 +
{{#if:{{{info|<noinclude>-</noinclude>}}}|
 +
{{{info}}} }}
 +
{{ZodpovedaZa}}
 +
{{#if:{{{section|}}}
 +
  |[[Category:{{{section}}}]]
 +
  |{{#if:{{#pos:{{{position}}}|absolvent}}
 +
      |[[Category:Emeriti a absolventi]]
 +
      |{{#if:{{#pos:{{{position}}}|doktorand}}
 +
          |[[Category:Doktorandi]]
 +
          |{{#if:{{#pos:{{{position}}}|ext}}
 +
              |[[Category:Externí spolupracovníci]]
 +
              |[[Category:Ľudia]]
 +
            }}
 +
        }}
 +
    }}
 +
}}
 +
 
 +
<noinclude>
 +
 
  
 
== Usage ==
 
== Usage ==
Line 49: Line 77:
 
   | 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>
  
Line 64: Line 94:
 
   | 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 = Str 14:00 - 14:50
 
   | web      = [http://dai.fmph.uniba.sk/ katedra]
 
   | web      = [http://dai.fmph.uniba.sk/ katedra]
 
  }}</nowiki>
 
  }}</nowiki>
 
</noinclude>
 
</noinclude>

Latest revision as of 16:30, 5 November 2019

{{{caption}}}

[[Image:{{{image}}}|150px|{{{caption}}}]]
Meno: {{{fullname}}}
{{{position}}}
Oddelenie: {{{section}}}
Telefón: {{{phone}}}
Email: {{{email}}}
Miestnosť: {{{room}}}
Adresa: {{{fullname}}}
Katedra aplikovanej informatiky
FMFI UK
Mlynská dolina
824 48 Bratislava
Web: {{{web}}}

{{{info}}}



Usage

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

{{Osoba
   | 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:

{{Osoba
  | 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 = Str 14:00 - 14:50
  | web      = [http://dai.fmph.uniba.sk/ katedra]
 }}