Difference between revisions of "Template:Person/doc"
Jump to navigation
Jump to search
(move documentation to a separate page to prevent template loop) |
(tweak) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
<pre>{{Person | <pre>{{Person | ||
|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]] | ||
}}</pre> | }}</pre> | ||
| − | Result: | + | Result: -----> |
{{Person | {{Person | ||
|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. 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 |
|
|
- 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.
