Difference between revisions of "Template:Commons category"
From Self-sufficiency
m (moved Template:Commons cat to Template:Commons category: Readability) |
(Removing leading ":" in front of "Category", since shouldn't be there any more. And adding whitespace stripping of parameter 1.) |
||
Line 1: | Line 1: | ||
{{commons | {{commons | ||
| position = {{{position|}}} | | position = {{{position|}}} | ||
− | | :Category:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}} | + | <!-- {{#if:x|}} strips whitespace from parameter 1, |
+ | in case it is fed like this: {{Commons category| Some cat }}. --> | ||
+ | | Category:{{#if:x| {{{1| {{PAGENAME}} }}} }} | ||
+ | | {{{2| {{{1| {{PAGENAME}} }}} }}} | ||
}}<noinclude> | }}<noinclude> | ||
− | {{pp-template | + | {{pp-template}} |
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Revision as of 03:29, 29 December 2009
40x40px | Wikimedia Commons has media related to [[commons: Category:Commons category
| Commons category ]]. |
[edit]
Documentation