Template:NSGuard: Difference between revisions

From Polcompball Wiki
Jump to navigationJump to search
Content added Content deleted
No edit summary
Tag: Reverted
m (10 revisions imported: Import NSGuard template)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
[[Category:Pages Misusing Namespace Restricted Templates]]
[[Category:Pages Misusing Namespace Restricted Templates]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}s
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 15:59, 9 July 2023

This template guards a template to only be useable in the main and template namespaces, to prevent misuse by unaware users. Users who include templates guarded by this template will get a messagebox with a custom messsage of you choosing notifying them of what to do.

Syntax

{{NSGuard
|<content>
|<error message>
}}