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

From blackwiki
Jump to navigation Jump to search
imported>Xaosflux
(test from main)
imported>Xaosflux
(proposed to sync)
 
Line 27: Line 27:
 
}}<!--
 
}}<!--
  
-->{{editnotice
+
-->{{#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 40: 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).