Template:Commons category: Difference between revisions

Removing leading ":" in front of "Category", since shouldn't be there any more. And adding whitespace stripping of parameter 1.
(Removing leading ":" in front of "Category", since shouldn't be there any more. And adding whitespace stripping of parameter 1.)
Line 1:
{{commons
| position = {{{position|}}}
<!-- {{#if:x|}} strips whitespace from parameter 1,
| :Category:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}
in case it is fed like this: {{Commons category| Some cat }}. -->
| :Category:{{{1|{{PAGENAME}}}}}|{{{2#if:x| {{{1| {{PAGENAME}} }}}} }}
| {{{2| {{{1| {{PAGENAME}} }}} }}}
}}<noinclude>
 
{{pp-template|small=yes}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->