Template:Library: Difference between revisions

From Rosetta Code
Content added Content deleted
(the value of the "is library" property should really be true, rather than the page name, smw keeps track of the pages with the property.)
(turn SMW off around the category link. (also, the Template namespace is not parsed by SMW, so the includeonly around the set isn't needed))
Line 1: Line 1:
<div class="infobox" style="width: 2in">
<div class="infobox" style="width: 2in">
<big>'''Library'''</big><br />
<big>'''Library'''</big><br />
<includeonly>{{#set:is library=true}}</includeonly>This is an example of a [[libraries|library]]. You may see a list of other libraries used on Rosetta Code at [[:Category:Solutions by Library]].
{{#set:is library=true}}This is an example of a [[libraries|library]]. You may see a list of other libraries used on Rosetta Code at [[:Category:Solutions by Library]].
</div><includeonly>[[Category:Solutions by Library|{{uc:{{PAGENAME}}}}]]</includeonly><noinclude>{{template}}</noinclude>
</div><includeonly>[[SMW::off]][[Category:Solutions by Library|{{uc:{{PAGENAME}}}}]][[SMW::on]]</includeonly><noinclude>{{template}}</noinclude>

Revision as of 14:36, 21 August 2010

Library
This is an example of a library. You may see a list of other libraries used on Rosetta Code at Category:Solutions by Library.


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