Template:SetProp/doc

From Salem Wiki
< Template:SetProp
Revision as of 04:51, 27 June 2012 by ©TriMoon™ (talk | contribs) (→‎Syntax: adding parameters)
Jump to: navigation, search

Description

This 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 supports this optional named-parameter:
  • sep
    The default separator used in the propvalues to separate single-values from each other.
    It defaults to a comma ','
It currently supports these properties:

Examples