Template:Property get/Doc

From PCSAR

Jump to: navigation, search

The template {{Property get|PropertyName|page|Default=default}} returns a property of the given page.

PropertyName 
the name of the property to get.
Page 
(optional) the page to get the property from. If page is not specified, the current page is used.
Default 
(optional) the value to use if the property is not set. Otherwise nothing is returned.

Assuming Demo/Property set/Date sets the Property:Date to "2012-09-14":


You type... You get...
{{property get|date|Demo/Property set/Date}}    
14 September 2012


Personal tools