Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Documentation: Difference between revisions

Template page
Content added Content deleted
(avoid passing {{{content}}} through, as subtemplates only need to know if it is blank or not, per protected edit request)
m (undo per talk - this breaks transclusions that use both the "1" and "content" parameters)
Line 19: Line 19:
| heading = {{{heading|¬}}} <!--Empty but defined means no header-->
| heading = {{{heading|¬}}} <!--Empty but defined means no header-->
| heading-style = {{{heading-style|}}}
| heading-style = {{{heading-style|}}}
| content = {{#if:{{{content|}}}|1}}
| content = {{{content|}}}


<!--Some namespaces must have the /doc, /sandbox and /testcases
<!--Some namespaces must have the /doc, /sandbox and /testcases
Line 48: Line 48:
-->{{documentation/end box2
-->{{documentation/end box2
| preload = {{{preload|}}} <!--Allow custom preloads-->
| preload = {{{preload|}}} <!--Allow custom preloads-->
| content = {{#if:{{{content|}}}|1}}
| content = {{{content|}}}
| link box = {{{link box|}}} <!--So "link box=off" works-->
| link box = {{{link box|}}} <!--So "link box=off" works-->


Cookies help us deliver our services. By using our services, you agree to our use of cookies.