Difference between revisions of "Template:SMWData person"

From Wikispooks
Jump to navigation Jump to search
(expand doc)
(Add Nationality to key properties)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>[[category:Semantic Templates]]'''This is a simple template to use on pages about types of people.'''<br/>
 
<noinclude>[[category:Semantic Templates]]'''This is a simple template to use on pages about types of people.'''<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 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: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/>
 
</noinclude><includeonly>{{SMWData
 
</noinclude><includeonly>{{SMWData
|key_properties=Display lifespan/Description
+
|key_properties=Born on/Died on/Has nationality/Constitutes/Description
|key_property_headers= /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.