Template:Property get

From PCSAR

Jump to: navigation, search

This is the documentation for the template Template:Property get

Template:Property get/Doc:

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



To see how this template is implemented, edit this page and examine the portion between <includeonly> and </includeonly>.

Personal tools