Difference between revisions of "Template:SMWData person"

From Wikispooks
Jump to navigation Jump to search
m (fix links)
(Add Nationality to key properties)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[category:Semantic Templates]]
+
<noinclude>[[category:Semantic Templates]]'''This is a simple template to use on pages about types of people.'''<br/>
'''This template is for use on pages about types of people.
+
It currently just sets the [[Property:Has keyProperties|Has keyProperties]] and [[Property:Has keyPropertyHeaders|Has keyPropertyHeaders]] properties so that [[Template:Examples]] works as expected. Note that if the person type has any properties of particular relevance, this template is insufficient; instead you should use [[Template:SMWData]] or [[Template:Concept]] to set them explicitly.<br/>
It currently just sets the [[Property:Has keyProperties|Has keyProperties]] and [[Property:Has keyPropertyHeaders|Has keyPropertyHeaders]] properties so that [[Template:ExampleDocuments]] works as expected. Note that if the person type has any properties of particular relevance, this template will not do - you should use [[Template:SMWData]] to set them explicitly.<br/>
 
 
</noinclude><includeonly>{{SMWData
 
</noinclude><includeonly>{{SMWData
|KeyProperties=Display lifespan/Description
+
|key_properties=Born on/Died on/Has nationality/Constitutes/Description
|KeyPropertyHeaders= /Description
+
|key_property_headers=Born/Died/Nationality/Summary/Description
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 17:56, 12 December 2019

This is a simple template to use on pages about types of people.
It currently just sets the Has keyProperties and Has keyPropertyHeaders properties so that Template:Examples works as expected. Note that if the person type has any properties of particular relevance, this template is insufficient; instead you should use Template:SMWData or Template:Concept to set them explicitly.