Template:Stub: Difference between revisions

From PZwiki
(More logic to category to determine if it is a language code - if not, will add to English category)
m (category fix)
Line 4: Line 4:
|style=text-align:center; font-size:120%;
|style=text-align:center; font-size:120%;
|text={{Translation|This article may '''need more content'''. Editors are encouraged to add new material to the page while expanding upon current topics.}}
|text={{Translation|This article may '''need more content'''. Editors are encouraged to add new material to the page while expanding upon current topics.}}
|cat=[[Category:Stub articles{{#ifeq:{{Langauge code|{{Subpage|slash=false}}}}|true| |{{Subpage}}}}]] <!-- checks if pagename = subpagename in language code registry then returns null, else add subpagename -->
|cat=[[Category:Stub articles{{#ifeq:{{Langauge code|{{Subpage|slash=false}}}}|true|{{Subpage}}|}}]] <!-- checks if pagename = subpagename in language code registry then returns null, else add subpagename -->
|hidecat={{{hidecat|}}}}}</includeonly>
|hidecat={{{hidecat|}}}}}</includeonly>

Revision as of 02:47, 25 June 2023

[view] [edit] [history] [purge] Template documentation
This template doesn't have any documentation yet! Help out by writing some.
Documentation transcluded from Template:Stub/doc.
Editors can experiment in this template's sandbox (create)