Difference between revisions of "Template:Editnotices/Namespace/Module/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use svg image)
imported>Xaosflux
(proposed to sync)
 
(3 intermediate revisions by 2 users not shown)
Line 16: Line 16:
 
     }}
 
     }}
 
   }}<!--
 
   }}<!--
-->{{editnotice
+
 
 +
-->{{#ifexist:{{FULLPAGENAME}}/sandbox
 +
|{{editnotice
 +
  | text  = Editors can experiment in this modules's [[{{FULLPAGENAME}}/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{FULLPAGENAME}}/sandbox|action=edit}} edit] {{!}} [{{fullurl:Special:ComparePages|page1={{urlencode:{{FULLPAGENAME}}}}&page2={{urlencode:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}}}}} diff])</small> and {{#ifexist:{{FULLPAGENAME}}/testcases
 +
  |[[{{FULLPAGENAME}}/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{FULLPAGENAME}}/testcases|action=edit}} edit])</small>
 +
  |testcases <small style="font-style: normal">([{{fullurl:{{FULLPAGENAME}}/testcases|action=edit&preload=Template:Documentation/preload-module-testcases}} create])</small>
 +
  }} pages.
 +
  | image = [[File:Sandbox.png|40px|alt=|link=]]
 +
}}
 +
}}<!--
 +
 
 +
-->{{#ifeq:{{#invoke:page|contentModel}}|Scribunto|{{editnotice
 
| expiry=indefinite
 
| expiry=indefinite
 
| header = This is a [[mw:Extension:Scribunto|Scribunto module page]].
 
| header = This is a [[mw:Extension:Scribunto|Scribunto module page]].
Line 29: Line 40:
 
   | |, {{#ifexist:{{FULLPAGENAME}}/testcases|[[{{FULLPAGENAME}}/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{FULLPAGENAME}}/testcases|action=edit}} edit])</small>.|testcases <small style="font-style: normal">([{{fullurl:{{FULLPAGENAME}}/testcases|action=edit&preload=Template:Documentation/preload-module-testcases}} create])</small>.}}}}| textstyle =
 
   | |, {{#ifexist:{{FULLPAGENAME}}/testcases|[[{{FULLPAGENAME}}/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{FULLPAGENAME}}/testcases|action=edit}} edit])</small>.|testcases <small style="font-style: normal">([{{fullurl:{{FULLPAGENAME}}/testcases|action=edit&preload=Template:Documentation/preload-module-testcases}} create])</small>.}}}}| textstyle =
 
| image = File:Information icon4.svg
 
| image = File:Information icon4.svg
}}<!--
+
}}}}<!--
 
-->}}<noinclude>
 
-->}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 20:35, 5 March 2019

Template documentation[view] [edit] [history] [purge]

Usage

Hiding the message

This template is marked with the CSS id and CSS class name ".module-namespace-editnotice", so that editors can apply their own CSS customisation if they wish, in particular to hide it (see WP:CSSHIDE for details). To hide the message, add

#module-namespace-editnotice { display: none !important; }

into Special:Mypage/skin.css, which redirects to your current skin's CSS file (open in new tab/window to see).