Template:Property: Difference between revisions

From Rosetta Code
Content added Content deleted
(Create draft of this template)
 
(Add support for types, and some instructions)
Line 1: Line 1:
{{infobox_begin}}'''Property'''<br/>
{{infobox_begin}}'''Property'''<br/>
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>[[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>.
{{template}}</noinclude>
{{template}}</noinclude>

Revision as of 18:55, 29 August 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.