Template:ACategory: Difference between revisions

From Zombie Panic! Official Wiki
Jump to navigation Jump to search
Created page with "{{doc}} <includeonly> <onlyinclude><!-- -->{{#ifeq: {{pagelang}} | en | {{#if:{{{2|}}}|[[Category:{{{1}}}|{{{2}}}]]|[[Category:{{{1}}}]]}} | [[Category:{{pagelang}}/{{ucfirst:{{{1}}}}}|{{{2|{{#titleparts:{{PAGENAME}}||2}}}}}_]] }}<!-- --></onlyinclude> </includeonly> Category:Language-related templates"
 
(No difference)

Latest revision as of 05:56, 21 July 2025

Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

Template to easily add category on non English pages.

{{ACategory|Entity|SortKey}} will on pages with prefix Zh/ become:

[[Category:Zh/Entity|SortKey]]
{{ACategory|Entity}} will on page Ru/Info_target become:

[[Category:Ru/Entity|Info_target]]
Note:Using it on English pages is no different than adding category the regular way so it's safe to use in templates that will be transcluded on any pages.

See Also