Difference between revisions of "Template:Person"
(New page: <noinclude>This template simplifies the creation of articles about persons. When inserted in a person's page, it creates a decorative table with much helpful information. It also takes car...) |
|||
Line 5: | Line 5: | ||
'''Please delete all lines that you do not give useful information for!''' | '''Please delete all lines that you do not give useful information for!''' | ||
<pre>{{Person | <pre>{{Person | ||
− | | Name= | + | | Name=Sören Auer |
− | | Affiliation= | + | | First name = Sören |
+ | | Last name = Auer | ||
+ | | Degree = Dr. | ||
+ | | Position = PhD Student | ||
+ | | Affiliation=AKSW | ||
+ | | Field = Semantic Web | ||
| Picture=name of picture (e.g. "Rudolph.jpg"), use "upload file" on the left | | Picture=name of picture (e.g. "Rudolph.jpg"), use "upload file" on the left | ||
− | | Homepage= | + | | Homepage=www.informatik.uni-leipzig.de/~auer |
− | | Email= | + | | Email=auer@informatik.uni-leipzig.de |
− | | Phone= | + | | Phone=+49(341)97-32357 |
− | | FOAF=http://www. | + | | FOAF=http://www.informatik.uni-leipzig.de/~auer/foaf.rdf |
}}</pre> | }}</pre> | ||
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page. | The order of the fields is not relevant. The template should be given as the ''first'' thing on a page. | ||
Line 26: | Line 31: | ||
| searchlabel=vCard | | searchlabel=vCard | ||
}}</span> [[Name::{{{Name|{{PAGENAME}}}}}]] | }}</span> [[Name::{{{Name|{{PAGENAME}}}}}]] | ||
+ | |- | ||
+ | {{#ifeq:{{{Position|}}}|||{{Tablerow|Label=Position:|Value=[[Position::{{{Position}}}]] ({{{Degree}}})}}}} | ||
|- | |- | ||
{{#ifeq:{{{Picture|}}}|||{{Tablelongrow|Value=[[Image:{{{Picture}}}|150px|{{{Name|{{PAGENAME}}}}}]]|Color=white}}}} | {{#ifeq:{{{Picture|}}}|||{{Tablelongrow|Value=[[Image:{{{Picture}}}|150px|{{{Name|{{PAGENAME}}}}}]]|Color=white}}}} |
Revision as of 18:11, 13 August 2008
This template simplifies the creation of articles about persons. When inserted in a person's page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly optional and should be omitted if no data is given.
Please delete all lines that you do not give useful information for!
{{Person | Name=Sören Auer | First name = Sören | Last name = Auer | Degree = Dr. | Position = PhD Student | Affiliation=AKSW | Field = Semantic Web | Picture=name of picture (e.g. "Rudolph.jpg"), use "upload file" on the left | Homepage=www.informatik.uni-leipzig.de/~auer | Email=auer@informatik.uni-leipzig.de | Phone=+49(341)97-32357 | FOAF=http://www.informatik.uni-leipzig.de/~auer/foaf.rdf }}
The order of the fields is not relevant. The template should be given as the first thing on a page.