Template:Documentation: Difference between revisions

avoid passing {{{content}}} through, as subtemplates only need to know if it is blank or not, per protected edit request
w:en>Tra
(add new parameter, per talk)
w:en>Mr. Stradivarius
(avoid passing {{{content}}} through, as subtemplates only need to know if it is blank or not, per protected edit request)
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 = {{{content|}}}
| content = {{#if:{{{content|}}}|1}}


<!--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 = {{{content|}}}
| content = {{#if:{{{content|}}}|1}}
| link box = {{{link box|}}}  <!--So "link box=off" works-->
| link box = {{{link box|}}}  <!--So "link box=off" works-->


Anonymous user