Template:Sockpuppet/categorise: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(tweak) |
(Documentation) |
||
Line 1: | Line 1: | ||
[[Category:{{{1}}}]] |
<includeonly>[[Category:{{{1}}}]] |
||
{{#ifexist:Category:{{{1}}}||<span style="clear:both; margin:2em; display:block; padding:2em; font-size:120%; border:8px solid red">[[:Category:{{{1}}}]] does not exist.<br> <br>Please '''[{{canonicalurl:Category:{{{1}}}|action=edit}}&preload=Template:Sockpuppet/categorise/preload Use this link to create it]'''<br> <br>(The page will be pre-loaded. All you need to do is save it)</span>}}<noinclude> |
{{#ifexist:Category:{{{1}}}||<span style="clear:both; margin:2em; display:block; padding:2em; font-size:120%; border:8px solid red">[[:Category:{{{1}}}]] does not exist.<br> <br>Please '''[{{canonicalurl:Category:{{{1}}}|action=edit}}&preload=Template:Sockpuppet/categorise/preload Use this link to create it]'''<br> <br>(The page will be pre-loaded. All you need to do is save it)</span>}}</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]] |
[[Category:Sockpuppet templates]] |
||
</noinclude> |
</noinclude> |
Revision as of 16:21, February 22, 2019
Template documentation
A helper template for {{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 {{Sockpuppet/categorise/preload}}.
Yes, it's ugly, but it works. And it should help to avoid Special:WantedCategories filling up with sockpuppet categories