Template:SMW added by: Difference between revisions

From OLPC
Jump to navigation Jump to search
(test for form parameter)
m (tweak whitespace)
 
Line 1: Line 1:
[[Template:{{{template}}}]]{{#if: {{{form| }}}|, filled in by [[Form:{{{form}}}]],}}
[[Template:{{{template}}}]]{{#if: {{{form| }}}|, filled in by [[Form:{{{form}}}]],}} adds this property to pages. <noinclude>
adds this property to pages. <noinclude>


A simple template to document which templates (and forms) add a property to pages.
A simple template to document which templates (and forms) add a property to pages.

Latest revision as of 00:14, 17 November 2008

[[Template:{{{template}}}]] adds this property to pages.

A simple template to document which templates (and forms) add a property to pages.

Usage

Use this template on a property page (and maybe some category pages) to document where it comes from, e.g.

{{SMW added by|template=Activity page|form=Activity}}

results in

Template:Activity page, filled in by Form:Activity, adds this property to pages.

The second parameter |form=some form is optional if there's no form for the template.