Template:Editnotices/Namespace/Module
{{#ifeq:
{{#ifeq: {{BASEPAGENAME}} | {{SUBPAGENAME}}
|
| {{lc: {{SUBPAGENAME}} }}
}}
| doc
| {{editnotice
| expiry=indefinite
| text = This is the documentation page of the module {{BASEPAGENAME}}.
}}
| {{#ifexist:{{FULLPAGENAME}}/doc
|{{editnotice
| expiry=indefinite
| text = When making changes to this module please be sure to update its documentation.
| image = File:Attention yellow.png
}}
}}{{#ifexist:{{FULLPAGENAME}}/sandbox
|{{editnotice
| text = Editors can experiment in this module's sandbox ([{{fullurl:{{FULLPAGENAME}}/sandbox|action=edit}} edit] {{!}} [{{fullurl:Special:ComparePages|page1={{urlencode:{{FULLPAGENAME}}}}&page2={{urlencode:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}}}}} diff]) and {{#ifexist:{{FULLPAGENAME}}/testcases
|testcases ([{{fullurl:{{FULLPAGENAME}}/testcases|action=edit}} edit])
|testcases ([{{fullurl:{{FULLPAGENAME}}/testcases|action=edit&preload=Template:Documentation/preload-module-testcases}} create])
}} pages.
| image = File:Sandbox.png
}}
}}{{#ifeq:{{#invoke:page|contentModel}}|Scribunto|{{editnotice
| expiry=indefinite
| header = This is a Scribunto module page.
| headerstyle =
| id = module-namespace-editnotice
| class = module-namespace-editnotice
| text = Pages in this namespace are written in the Lua programming language. The code is run, usually from a template, using syntax like {{((}}#invoke:{{PAGENAME}}{{!}}functionName{{))}}
.
{{fmbox warning ruler}}
Some helpful links: Lua reference manual{{#ifeq: {{lc: {{SUBPAGENAME}} }} | testcases
| |, {{#ifexist:{{FULLPAGENAME}}/testcases|testcases ([{{fullurl:{{FULLPAGENAME}}/testcases|action=edit}} edit]).|testcases ([{{fullurl:{{FULLPAGENAME}}/testcases|action=edit&preload=Template:Documentation/preload-module-testcases}} create]).}}}}| textstyle =
| image = File:Information icon4.svg
}}}}}}
{{documentation}}