Difference between revisions of "Template:Commons category"

From Wikishire
Jump to: navigation, search
m
Line 1: Line 1:
{| class="toccolours" cellpadding="1" style="float: right;"
+
{{#vardef: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}}|{{{1}}}}}])</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:33, 18 January 2012

{{#vardef:commtag|Commons category{| class="toccolours" cellpadding="1" style="float: right;" |-

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

|}