Difference between revisions of "Template:Commonscat"

From Wikishire
Jump to: navigation, search
Line 1: Line 1:
{| class="toccolours" cellpadding="1" style="float: right;"
+
{{#vardefine:commtag|{{#if:{{{1}}}|{{{1}}}|{{PAGENAME}} }} }}{| class="toccolours" cellpadding="1" style="float: right;"
 
|-  
 
|-  
|[[File:Commons-logo.svg|left|20px]] || <small>("''Wikimedia Commons''" has material<br>about [http://commons.wikimedia.org/wiki/Category:{{#if:{{{1}}}|{{PAGENAME}}}} {{#if:{{{1}}}|{{PAGENAME}}}}])</small>
+
|[[File:Commons-logo.svg|left|20px]] || <small>("''Wikimedia Commons''" has material<br>about [http://commons.wikimedia.org/wiki/Category:{{#var:commtag}} {{PAGENAME}}])</small>
 
|}<noinclude>
 
|}<noinclude>
 
[[Category:Third parties' projects in templates]]
 
[[Category:Third parties' projects in templates]]

Revision as of 22:44, 18 January 2012

Commons-logo.svg
("Wikimedia Commons" has material
about Commonscat)