Difference between revisions of "Template:Person"

From Openresearch
Jump to: navigation, search
Line 40: Line 40:
 
{{Tablesection|Label=Event calendar|Color=#86ba0c}}
 
{{Tablesection|Label=Event calendar|Color=#86ba0c}}
 
|-
 
|-
|{{#ask: [[Category:event]] [[Has person::{{PAGENAME}}]]
+
|colspan="2" style="padding-top: 2px; " | <div id="smworgtable-toc" style="font-size: 90%;">{{#ask: [[Category:event]] [[Has person::{{PAGENAME}}]]
 
|?title = Name
 
|?title = Name
 
|?has location city = City
 
|?has location city = City
Line 49: Line 49:
 
|sort=end date
 
|sort=end date
 
|class=smw-eventcalendar
 
|class=smw-eventcalendar
}}
+
}}</div>
 
|-
 
|-
 
{{Tablerow|Label=[[:Category:Science|Field]]:|Value=[[:Category:{{{Field|Science}}}|{{{Field|Science}}}]][[Category:{{{Field|Science}}}]]}}
 
{{Tablerow|Label=[[:Category:Science|Field]]:|Value=[[:Category:{{{Field|Science}}}|{{{Field|Science}}}]][[Category:{{{Field|Science}}}]]}}

Revision as of 11:21, 17 September 2016

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
 | First name = Sören
 | Last name = Auer
 | Degree = Dr., MSc, BA etc.
 | Type = Professor, Assistant Professor, PhD Student, Student, Researcher, PostDoc, Senior Researcher or other sub-category of [[Category:Person]]
 | 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
 | Twitter account=https://twitter.com/SoerenAuer
 | Email=auer@informatik.uni-leipzig.de
 | Phone=+49(341)97-32357
 | FOAF=http://www.informatik.uni-leipzig.de/~auer/foaf.rdf
 | dissertation title = PhD or doctorate dissertation title
 | dissertation year = year the dissertation was awarded
 | dissertation awarded by = organization the dissertation was awarded by
 | dissertation advisor = name of the dissertation advisor (additional ones can be given in the text below)
}}

The order of the fields is not relevant. The template should be given as the first thing on a page.