Template:Libheader: Difference between revisions

From Rosetta Code
Content added Content deleted
(fix stray newline getting included)
m (tinkering)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''Library:''' [[:Category:{{{1}}}|{{{1}}}]][[Category:{{{1}}}]]<noinclude>
<includeonly><div class="examplemeta libheader">'''Library:''' [[SMW::off]][[:Category:{{{1}}}|{{{1}}}]][[Category:{{{1}}}]][[SMW::on]]{{#if: {{{2|}}}|&nbsp;'''version''' {{{2}}}}}{{#set:Uses library={{{1}}}}}</div></includeonly><noinclude>'''Library:''' <nowiki>[[:Category:{{{1}}}|{{{1}}}]][[Category:{{{1}}}]]</nowiki> '''version''' {{{2}}}


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. It also documents the version that this was tested with; that second parameter may be omitted.


{{template}}</noinclude>
{{template}}[[Category:Example description templates]]</noinclude>

Latest revision as of 13:38, 16 December 2010

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

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. It also documents the version that this was tested with; that second parameter may be omitted.



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