Template:Prop: Difference between revisions

From Rosetta Code
Content added Content deleted
(Clean up.)
(Mark possibly redundant)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><span class=wikicode>[[Property:{{{1}}}|<nowiki>{{</nowiki>{{{1}}}<nowiki>}}</nowiki>]]</span></includeonly><noinclude>This Property provides shorthand for linking to properties.
<includeonly><span class=wikicode>[[Property:{{{1}}}|<nowiki>[[</nowiki>{{{1}}}<nowiki>::]]</nowiki>]]</span></includeonly><noinclude>This Property provides shorthand for linking to properties.


==Demonstration==
==Demonstration==
===Before===
===Before===
:<nowiki>Whenever you create a Property, be sure to place {{prop|Property}} in a {{nwtag|noinclude}} section, so it's easily identified on the wiki.</nowiki>
:<nowiki>Whenever you create a Property, be sure to place {{tmpl|Property}} in a {{nwtag|noinclude}} section, so it's easily identified on the wiki. After you've done that, go ahead and use the {{prop|your property name here}} syntax to apply the property to your pages.</nowiki>
===After===
===After===
:Whenever you create a Property, be sure to place {{prop|Property}} in a {{nwtag|noinclude}} section, so it's easily identified on the wiki.
:Whenever you create a Property, be sure to place {{tmpl|Property}} in a {{nwtag|noinclude}} section, so it's easily identified on the wiki. After you've done that, go ahead and use the {{prop|your property name here}} syntax to apply the property to your pages.


{{Template}}</noinclude>
{{Template}}[[Category:Possible Redundant Templates]]</noinclude>

Latest revision as of 16:27, 30 March 2013

This Property provides shorthand for linking to properties.

Demonstration

Before

Whenever you create a Property, be sure to place {{tmpl|Property}} in a {{nwtag|noinclude}} section, so it's easily identified on the wiki. After you've done that, go ahead and use the {{prop|your property name here}} syntax to apply the property to your pages.

After

Whenever you create a Property, be sure to place {{Property}} in a <noinclude></noinclude> section, so it's easily identified on the wiki. After you've done that, go ahead and use the [[your property name here::]] syntax to apply the property to your pages.



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