See something you'd like to change or add, but you've never edited an open encyclopædia before? This overview was written to help absolute beginners get started.

Template:As SMW property

From A Storehouse of Knowledge
Jump to: navigation, search

Template: As SMW property
Use on/in Templates
Use for Convert parameter 1 into an SMW property
Category template applies to page (none)
Template Parameters
(See Template style manual).
Name Purpose Required? SMW property Comment
1 Value to be made a property No If not supplied, this template returns nothing.
prop Name of property Yes

This template returns parameter 1 as a property link, with the property specified in prop. If parameter 1 is not supplied, it returns nothing.

This template is for use in other templates, to convert to a property link values that may or may not be supplied. In particular, it can be used as the second argument of a {{t row if}} template, instead of using {{2 if 1}}.

Personal tools

visitor navigation
contributor navigation