Template:Commons category: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Rich Farmbrough m (moved Template:Commons cat to Template:Commons category: Readability) |
meta>Davidgothberg (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> |