Difference between revisions of "Template:Commons category"

From Wikishire
Jump to: navigation, search
m
Line 1: Line 1:
{{#vardefine:commtag|{{#if:{{{1}}}|{{{1}}}|{{PAGENAME}} }} }}{| class="toccolours" cellpadding="1" style="float: right;"
+
{{#vardefine:commtag|{{#replace:{{#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:{{#var:commtag}} {{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 20:43, 17 May 2012

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