Difference between revisions of "Template:Listmember"

From ICPWiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>
+
<includeonly><div class="stafflistbox"><span class="image">{{#if:{{{8|}}}|[[{{{8}}}|x100px|link={{{1}}}]]|[[Image:Placeholder.jpg|x100px]]}}</span><span class="name"><b>[[{{{1}}}|{{#if:{{{3|}}}|{{#replace:{{{2}}}|, |, {{{3}}}}}|{{{2}}}}}]]</b><br/>
|-
+
{{{4}}}<br/>[http://www.icp.uni-stuttgart.de/nmt.php?page={{{5}}} {{{5}}}]<br/>
|[[{{{1}}}|{{#if:{{{3|}}}|{{#replace:{{{2}}}|, |, {{{3}}}}}|{{{2}}}}}]]
+
{{#if:{{{6|}}}|Phone +49 711/685-'''{{{6}}}'''|}}<br>
|{{{4}}}
+
{{#if:{{{7|}}}|Office {{{7}}}|}}
|[http://www.icp.uni-stuttgart.de/nmt.php?page={{{5}}} {{{5}}}]
+
</span>
|{{{6}}}
+
</div>
|{{{7}}}</includeonly><noinclude>
+
</includeonly><noinclude>
 +
 
 +
Template to generate the cards on teh page [[Staff]].
 +
 
 
== Parameters ==
 
== Parameters ==
This template is to be used in the list of [[People]]. The parameters should be:
 
 
# Page name
 
# Page name
 
# Name
 
# Name
Line 15: Line 17:
 
# Phone
 
# Phone
 
# Room
 
# Room
 +
# Image
  
 
== Example ==
 
== Example ==
{|
+
{{Listmember|Mustermann, Max||Dr.|Position|max@mustermann.de|12345|1.000|Image:Olaf_Lenz.jpg}}
{{Listmember|Olaf Lenz|Olaf Lenz|HRM|King|king|4711|42}}
 
|}
 
 
</noinclude>
 
</noinclude>

Revision as of 17:13, 9 September 2013


Template to generate the cards on teh page Staff.

Parameters

  1. Page name
  2. Name
  3. Title
  4. Status
  5. Email
  6. Phone
  7. Room
  8. Image

Example

Olaf Lenz.jpg[[Mustermann, Max|]]

Position
max@mustermann.de
Phone +49 711/685-12345
Office 1.000