Difference between revisions of "Template:SMWData person"

From Wikispooks
Jump to navigation Jump to search
m (update)
(Add Nationality to key properties)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
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: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=Has image/Display lifespan/Description
+
|key_properties=Born on/Died on/Has nationality/Constitutes/Description
|key_property_headers=Image/Life/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.