Difference between revisions of "Template:SetProp/doc"

From Salem Wiki
Jump to: navigation, search
(Initial setup)
 
m (adding documentation)
Line 1: Line 1:
 
==Description==
 
==Description==
:This template is used to.
+
:This template is a wrapper-template that calls {{t|SetProp/single}} to automatically set property values.
:;See these pages for documentation on functions used<nowiki>:</nowiki>
+
:It has a ''fixed-set'' of properties it supports, and can be expanded when needed in code...
:*
 
  
 
==Syntax==
 
==Syntax==
 
:Type the below code somewhere on a page:
 
:Type the below code somewhere on a page:
<pre>{{}}</pre>
+
<pre>{{SetProp
 +
|propname=propvalues
 +
|propname=propvalues
 +
|...
 +
}}</pre>
 +
:It currently supports these properties:
 +
:*
 
==Examples==
 
==Examples==
 
#
 
#

Revision as of 04:22, 27 June 2012

Description

This template is a wrapper-template that calls {{SetProp/single}} to automatically set property values.
It has a fixed-set of properties it supports, and can be expanded when needed in code...

Syntax

Type the below code somewhere on a page:
{{SetProp
|propname=propvalues
|propname=propvalues
|...
}}
It currently supports these properties:

Examples