Template:Sockpuppet/categorise: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (23 revisions imported from wikipedia:Template:Sockpuppet/categorise)
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:{{{1}}}]]
<includeonly>[[Category:{{{1}}}]]
{{#ifexist:Category:{{{1}}}||<span style="clear:both; margin:4em; display:block; padding:2em; font-size:120%; border:4px solid red">[[:Category:{{{1}}}]] does not exist.<br>&nbsp;<br>Please '''[{{canonicalurl:Category:{{{1}}}|action=edit}}&preload=Template:Sockpuppet/categorise/preload Use this link to create it]'''<br>&nbsp;<br>(The page will be pre-loaded. All you need to do is save it)</span>}}
{{#ifexist:Category:{{{1}}}||<div style="clear:both; margin:2em; display:block; width:50%; padding:1em; font-size:95%; border:2px solid red">"Category:{{{1}}}" does not exist.<br>Please '''[{{canonicalurl:Category:{{{1}}}|action=edit}}&preload=Template:Sockpuppet/categorise/preload&summary=Created%20page%20with%20%27%7B%7B%5B%5BTemplate:Sockpuppet%20category%7CSockpuppet%20category%5D%5D%7D%7D%27%20using%20%7B%7B%5B%5BTemplate:Sockpuppet/categorise/preload%7CSockpuppet/categorise/preload%5D%5D%7D%7D use this link to create the category page]'''<br>(The page will be pre-loaded. All you need to do is save it)</div>}}</includeonly><noinclude>
{{Documentation|content=A helper template for {{tl|Sockpuppet}}.

If the sockpuppet category page does not exist, it displays a garish warning box

There is a link to create the category page, preloaded with the contents of {{tl|Sockpuppet/categorise/preload}}.

Yes, it's ugly, but it works. And it should help to avoid [[Special:WantedCategories]] filling up with sockpuppet categories}}
[[Category:Sockpuppet templates]]
</noinclude>

Latest revision as of 20:58, January 19, 2022