Difference between pages "Template:Module sandbox notice" and "Template:Module sandbox notice/doc"
(Difference between pages)
(fix diff link) |
m (→Example output: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 1: | Line 1: | ||
{{ | {{Documentation subpage}} | ||
{{used in system|[[MediaWiki:Scribunto-doc-page-does-not-exist]]}} | |||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | |||
This template is used in the system message [[MediaWiki:Scribunto-doc-page-does-not-exist]] to display a sandbox notice at the top of Lua modules. Normally it only displays on /sandbox subpages in the [[Wikipedia:Module namespace|module namespace]]. However, if you are demonstrating the template, you can override this behaviour using the {{para|demo}} parameter. | |||
This template also puts pages it is transcluded on into [[:Category:Module sandboxes]]. Categorisation is suppressed if the {{para|demo}} parameter is set. | |||
== Usage == | |||
;Basic usage | |||
{{module sandbox notice}} | |||
;In demonstrations | |||
{{module sandbox notice|demo=yes}} | |||
== Example output == | |||
{{module sandbox notice|demo=yes}} | |||
<includeonly>{{Sandbox other|| | |||
<!-- Categories go here, and interwikis go in Wikidata --> | |||
[[Category:Module namespace templates]] | |||
[[Category:Sandbox templates]] | |||
</ | }}</includeonly> | ||