Template:Libheader: Difference between revisions

m
tinkering
m (make cat include-only)
m (tinkering)
 
(13 intermediate revisions by 5 users not shown)
Line 1:
<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 is an example of a [[library]]. You may find the programming tasks that have been [[Special:Whatlinkshere/{{PAGENAME}}|solved using it]].
 
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.
<includeonly>[[Category:Libraries]]</includeonly>
 
{{template}}[[Category:Example description templates]]</noinclude>
Anonymous user