Difference between revisions of "Template:Person"

From RecSysWiki
Jump to navigation Jump to search
(+country)
(indent username)
Line 1: Line 1:
<includeonly>{| class=wikitable style="float:right; width:250px;"
+
{| class=wikitable style="float:right; width:250px;"
 
|-style="text-align:center;"
 
|-style="text-align:center;"
 
|<big>'''{{{name}}}'''</big>
 
|<big>'''{{{name}}}'''</big>
Line 13: Line 13:
 
:{{{website}}}
 
:{{{website}}}
 
|-
 
|-
|{{{user|}}}
+
|
 +
:{{{user|}}}
 
|-
 
|-
 
|}</includeonly><noinclude>{{{{PAGENAME}}/doc}}</noinclude>
 
|}</includeonly><noinclude>{{{{PAGENAME}}/doc}}</noinclude>

Revision as of 08:42, 9 January 2012

{{{name}}}
Image needed (male).png
Affiliation
{{{affiliation}}}
{{{country}}}
Website
{{{website}}}

</includeonly>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.