Template:Libheader: Difference between revisions

From Rosetta Code
Content added Content deleted
(wrap the smw set inside includeonly tags)
(turn SMW off around the category links.)
Line 1: Line 1:
'''Library:''' [[:Category:{{{1}}}|{{{1}}}]][[Category:{{{1}}}]]<includeonly>{{#set:Uses library={{{1}}}}}</includeonly><noinclude>
'''Library:''' [[SMW::off]][[:Category:{{{1}}}|{{{1}}}]][[Category:{{{1}}}]][[SMW::on]]<includeonly>{{#set:Uses library={{{1}}}}}</includeonly><noinclude>


This template is for tagging solutions by the libraries they use. It adds both a link to the page for the library and a category of the same name.
This template is for tagging solutions by the libraries they use. It adds both a link to the page for the library and a category of the same name.

Revision as of 14:20, 21 August 2010

Library: [[:Category:{{{1}}}|{{{1}}}]][[Category:{{{1}}}]]

This template is for tagging solutions by the libraries they use. It adds both a link to the page for the library and a category of the same name.



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