Template:ACategory/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:


<pre>
<pre>
{{ACategory|Entity}} will on pages with prefix Ru/ become:
{{ACategory|Entity}} will on page Ru/info_target become:


[[Category:Ru/Entity|Entity]]
[[Category:Ru/Entity|info_target]]
</pre>
</pre>



Revision as of 22:08, 18 July 2024

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.pngNote: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