Template:Property get/Doc

From PCSAR

Revision as of 20:49, 20 November 2012 by Brett Wuth (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
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