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...")
 
 
(2 intermediate revisions by the same user not shown)
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|{{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:Property:{{{1|{{PAGENAME}}}}}}} Property:{{{1|{{PAGENAME}}}}}].</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|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:56, 26 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.