Difference between revisions of "Template:SMW special property"

From Creative Commons
Jump to: navigation, search
(Created page with "<includeonly>'''{{PAGENAME}}''' is a [http://semantic-mediawiki.org/wiki/special_property special property] in [http://semantic-mediawiki.org/wiki/Semantic_MediaWiki Semantic Med...")
 
Line 1: Line 1:
<includeonly>'''{{PAGENAME}}''' is a [http://semantic-mediawiki.org/wiki/special_property special property] in [http://semantic-mediawiki.org/wiki/Semantic_MediaWiki Semantic MediaWiki] with a built-in meaning. A detailed explanation of this property may be available at [http://semantic-mediawiki.org/wiki/{{anchorencode:{{FULLPAGENAME}}}} {{FULLPAGENAME}}].</includeonly><noinclude>
+
<includeonly>'''{{{1|{{FULLPAGENAME}}}}}''' is a [http://semantic-mediawiki.org/wiki/special_property special property] in [http://semantic-mediawiki.org/wiki/Semantic_MediaWiki Semantic MediaWiki] with a built-in meaning. A detailed explanation of this property may be available at [http://semantic-mediawiki.org/wiki/{{anchorencode:{{{1|{{FULLPAGENAME}}}}}}} {{{1|{{FULLPAGENAME}}}}}].</includeonly><noinclude>
 
Template '''{{PAGENAME}}''' produces a standard notice used in Semantic MediaWiki's special property page, that directs readers to further documentation.
 
Template '''{{PAGENAME}}''' produces a standard notice used in Semantic MediaWiki's special property page, that directs readers to further documentation.
  
 
==Use==
 
==Use==
 
<pre>
 
<pre>
{{SMW special property}}
+
{{SMW special property|Special property name (opcional)}}
 +
</pre>
 +
 
 +
If no special property name is provided, the current page (where the template is being used) applies.
 +
 
 +
==Example==
 +
<pre>
 +
{{SMW special property|Modification date}}
 
</pre>
 
</pre>
  
 
produces:
 
produces:
  
{{SMW special property}}
+
{{SMW special property|Modification date}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 21:55, 22 April 2011

Template SMW special property produces a standard notice used in Semantic MediaWiki's special property page, that directs readers to further documentation.

Use

{{SMW special property|Special property name (opcional)}}

If no special property name is provided, the current page (where the template is being used) applies.

Example

{{SMW special property|Modification date}}

produces:

Modification date is a special property in Semantic MediaWiki with a built-in meaning. A detailed explanation of this property may be available at Property:Modification date.