Difference between revisions of "Template:Person"

From RecSysWiki
Jump to navigation Jump to search
(move documentation to a separate page to prevent template loop)
(bigger image)
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
|<big>'''{{{name}}}'''</big>
 
|<big>'''{{{name}}}'''</big>
 
|-
 
|-
|[[File:{{{image|Image needed (male).png}}}|150px|center]]
+
|[[File:{{{image|Image needed (male).png}}}|200px|center]]
 
|-
 
|-
 
|
 
|
 
;Affiliation
 
;Affiliation
:{{{affiliation}}}
+
:{{{affiliation}}}<br/>{{{country}}}
 
|-
 
|-
 
|
 
|
Line 13: Line 13:
 
:{{{website}}}
 
:{{{website}}}
 
|-
 
|-
|{{{user|}}}
+
|
 +
:{{{user|}}}
 
|-
 
|-
|}[[Category:People]]</includeonly></noinclude>{{{{PAGENAME}}/doc}}</noinclude>
+
|}</includeonly><noinclude>{{{{PAGENAME}}/doc}}</noinclude>

Latest revision as of 09:07, 9 January 2012

This template provides a quick way to add basic information about a person on their page.

Example usage:

{{Person
 |name        = John Doe
 |affiliation = Foobar University
 |country     =
 |website     = http://example.com
 |user        = [[User:JohnDoe]]
}}

Result: ----->

John Doe
Image needed (male).png
Affiliation
Foobar University
Website
http://example.com
User:JohnDoe
Note
The {{{image}}} parameter is optional; if not passed, it is replaced by the default image. Do not use the "image" parameter with an empty value, as was done with "country" in the example above, because the result will be misformatted.