Difference between revisions of "Template:Person/doc"

From RecSysWiki
Jump to navigation Jump to search
(update)
(tweak)
 
Line 6: Line 6:
 
  |name        = John Doe
 
  |name        = John Doe
 
  |affiliation = Foobar University
 
  |affiliation = Foobar University
 +
|country    =
 
  |website    = http://example.com
 
  |website    = http://example.com
 
  |user        = [[User:JohnDoe]]
 
  |user        = [[User:JohnDoe]]
Line 15: Line 16:
 
  |name        = John Doe
 
  |name        = John Doe
 
  |affiliation = Foobar University
 
  |affiliation = Foobar University
 +
|country    =
 
  |website    = http://example.com
 
  |website    = http://example.com
 
  |user        = [[User:JohnDoe]]
 
  |user        = [[User:JohnDoe]]
 
}}
 
}}
  
;Note: The <tt><nowiki>{{{image}}}</nowiki></tt> parameter is optional; if not passed, it is replaced by the default image. The other parameters should be provided, otherwise they will show up in their raw form (e.g. {{{country}}})
+
;Note: The <tt><nowiki>{{{image}}}</nowiki></tt> 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.

Latest revision as of 08:58, 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.