Šablóna:Person: Rozdiel medzi revíziami

Riadok 1: Riadok 1:
|'''{{{name}}} {{{surname}}}''', {{{titles}}}, {{{occupation}}}
+
__NOTOC__={{{caption}}}=
{{{email}}}, {{{phone}}}<BR>
+
<div style="border: thin solid silver; background: white; margin: 1em;">
''Výučba:'' {{{courses}}}<BR>
+
{|style="border-collapse:collapse; background-color:white;" cellpadding="20" cellspacing="0" border="0"
''Výskum:'' {{{interests}}}<BR>
+
|width="160" valign="top"|[[Image:{{#if:{{{image|<noinclude>-</noinclude>}}}|{{{image}}}|any.gif}}|150px|{{{caption}}}]]
''Web:'' [{{{homepage}}} {{{homepage}}}]
+
|width="510" valign="top"|
|
+
{|
[[Image:{{{photo}}}|thumb|{{{name}}} {{{surname}}}]]
+
|width="100" align="right"|'''Name:'''
|-<noinclude>
+
|width="10"|
 +
|width="400"|{{{fullname}}}
 +
|-
 +
{{#if:{{{position|<noinclude>-</noinclude>}}}|
 +
{{!}} {{!!}} {{!!}}{{{position}}}
 +
{{!-}}
 +
}}
 +
{{#if:{{{section|<noinclude>-</noinclude>}}}|
 +
{{!}}align="right"{{!}}'''Section:'''{{!!}} {{!!}}{{{section}}}
 +
{{!-}}
 +
}}
 +
{{#if:{{{phone|<noinclude>-</noinclude>}}}|
 +
{{!}}align="right" valign="top"{{!}}'''Phone:'''{{!!}} {{!!}}{{{phone}}}
 +
{{!-}}
 +
}}
 +
{{#if:{{{email|<noinclude>-</noinclude>}}}|
 +
{{!}}align="right" valign="top"{{!}}'''Email:'''{{!!}} {{!!}}{{{email}}}
 +
{{!-}}
 +
}}
 +
{{#if:{{{room|<noinclude>-</noinclude>}}}|
 +
{{!}}align="right" valign="top"{{!}}'''Office:'''{{!!}} {{!!}}{{{room}}}
 +
{{!-}}
 +
}}
 +
|align="right" valign="top"|'''Address:'''||
 +
|{{{fullname}}}<br>Katedra aplikovanej informatiky<br>FMFI UK<br>Mlynská dolina<br>824 48 Bratislava
 +
|-
 +
{{#if:{{{web|<noinclude>-</noinclude>}}}|
 +
{{!}}align="right" valign="top"{{!}}'''Web:'''{{!!}} {{!!}}{{{web}}}
 +
{{!-}}
 +
}}
 +
|}
 +
|}</div><noinclude>
  
 
== Usage ==
 
== Usage ==
  
This is a template for a person on the [[Staff]] page. Use it as follows
+
This is a template for a person on the [[People]] page. Use it as follows
  
  <nowiki>{{Person
+
  <nowiki>{{Osoba
   | name = Your first name
+
   | fullname = your full name with academic titles
   | surname = Your surname
+
  | caption  = your name without titles
   | titles = your academic titles
+
   | image    = the file name of your photo, preferably surname.jpg
   | occupation = Your occupation or position within the department
+
   | section  = your section name
   | email = yourmailname at fmph.uniba.sk, use the word ‘at’ instead of ‘@’
+
   | position = your occupation or position within the department
   | phone = your work phone, typically +421 2 602 95 nnn
+
   | email   = yourmailname[[Image:zavinac.gif|@]]fmph.uniba.sk,  
   | courses = the list of [[links]] to the courses
+
                use [[Image:zavinac.gif|@]] instead of ‘@’
              of which you are the principal teacher
+
   | phone   = your work phone, typically +421 2 602 95 nnn
  | interests = a list of your research interests
+
   | room    = your office room
   | homepage = the full address of your homepage (including http://)
+
   | web      = [address page_name] the full address of your homepage
  | photo = the file name of your photo, preferably surname.jpg
+
                (including http://)
 
  }}</nowiki>
 
  }}</nowiki>
  
 
== An example to copy & paste: ==
 
== An example to copy & paste: ==
  
  <nowiki>{{Person
+
  <nowiki>{{Osoba
  | name = Jozef
+
  | fullname = doc. PhDr. Ján Rybár, PhD.
  | surname = Mrkvička
+
  | caption  = Ján Rybár
   | titles = RNDr. PhD.
+
  | image   = rybar.jpg
  | occupation = teacher
+
  | section  = Centrum kognitívnych vied
  | email = mrkvicka at fmph.uniba.sk
+
  | position = učiteľ
  | phone = +421 2 602 95 123
+
  | email   = rybar[[Image:zavinac.gif|@]]fmph.uniba.sk
  | courses = [[Introduction to Something]], [[The Theory of Everything]]
+
  | phone   = +421 2 602 95 835<br>+421 2 654 22 263
  | interests = something, the theory of everything
+
  | room    = i25
  | homepage = http://ii.fmph.uniba.sk/~mrkvicka/
+
  | web      = [http://dai.fmph.uniba.sk/ katedra]
  | photo = mrkvicka.jpg
+
 
  }}</nowiki>
 
  }}</nowiki>
 
</noinclude>
 
</noinclude>

Verzia zo dňa a času 11:42, 21. august 2008

{{{caption}}}

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

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
   | web      = [address page_name] the full address of your homepage
                (including http://)
 }}

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
  | web      = [http://dai.fmph.uniba.sk/ katedra]
 }}