Template:Property: Difference between revisions

From Rosetta Code
Content added Content deleted
(Add support for types, and some instructions)
m (tmpl template goodness)
 
Line 2: Line 2:
This is a semantic property.<!-- could do with linking somewhere... -->
This is a semantic property.<!-- could do with linking somewhere... -->
Properties describe semantic characteristics of Rosetta Code pages, typically determined automatically from other features described in the page such as which templates are used.<includeonly>{{#set:Has type={{#if:{{{1|}}}|{{{1}}}|Page}}}}[[Category:Property]]</includeonly>{{infobox_end}}<noinclude>
Properties describe semantic characteristics of Rosetta Code pages, typically determined automatically from other features described in the page such as which templates are used.<includeonly>{{#set:Has type={{#if:{{{1|}}}|{{{1}}}|Page}}}}[[Category:Property]]</includeonly>{{infobox_end}}<noinclude>
To use this template, add <tt><nowiki>{{property}}</nowiki></tt> to the page. If the property is not linking pages, add <tt><nowiki>{{property|</nowiki>''type''<nowiki>}}</nowiki></tt>; for example, if it is a boolean property, ''<tt>type</tt>'' should be <tt>Boolean</tt>.
To use this template, add <tt>{{tmpl|property}}</tt> to the page. If the property is not linking pages, add <tt><nowiki>{{property|</nowiki>''type''<nowiki>}}</nowiki></tt>; for example, if it is a boolean property, ''<tt>type</tt>'' should be <tt>Boolean</tt>.
{{template}}</noinclude>
{{template}}</noinclude>

Latest revision as of 09:45, 18 November 2010

Property

This is a semantic property.

Properties describe semantic characteristics of Rosetta Code pages, typically determined automatically from other features described in the page such as which templates are used.

To use this template, add {{property}} to the page. If the property is not linking pages, add {{property|type}}; for example, if it is a boolean property, type should be Boolean.


This is a template. There are many others. See Category:RCTemplates for a complete list of templates.