Difference between revisions of "Template:PropVals/doc"

From Salem Wiki
Jump to: navigation, search
m (→‎Sub-templates: added PropVals/List RequiredBy)
m (Undo revision 5144 by ©TriMoon™ (talk) not used anymore)
Line 41: Line 41:
 
*{{t|PropVals/Group/heading}}
 
*{{t|PropVals/Group/heading}}
 
*{{t|PropVals/List}}
 
*{{t|PropVals/List}}
*{{t|PropVals/List RequiredBy}}
 
 
*{{t|PropVals/Print Entry}}
 
*{{t|PropVals/Print Entry}}
 
*{{t|PropVals/Split}}
 
*{{t|PropVals/Split}}

Revision as of 02:26, 5 July 2012

Description

This is the main-entry-point of a complex template-class
It is used to automatically list all the values of a property of a page as an un-ordered list.
This generated-output will be used in {{Infobox}} to automatically show relevant info.
See these pages for documentation on functions used:
Other pages with relevant info are:

Functional logic

Syntax

Type the below code somewhere inside {{Infobox}} or a page:
{{PropVals |prop=RequiresObj |page={{FULLPAGENAME}} |sep={{{sep|;}}} |grpsep={{{grpsep|/\}}} |showamount={{{showamount|no}}} }}

Examples

  1. {{PropVals|prop=RequiresObj|page=User:©TriMoon™/PropVals testdata|showamount=y}} gives:
    • {{PropVals|prop=RequiresObj|page=User:©TriMoon™/PropVals testdata|showamount=y|debug=y}} gives:

      Sub-templates