« Modèle:Documentation » : différence entre les versions

Contenu supprimé Contenu ajouté
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
Ligne 19 :
| heading = {{{heading|¬}}} <!--Empty but defined means no header-->
| heading-style = {{{heading-style|}}}
| content = {{#if:{{{content|}}}|1}}
 
<!--Some namespaces must have the /doc, /sandbox and /testcases
Ligne 48 :
-->{{documentation/end box2
| preload = {{{preload|}}} <!--Allow custom preloads-->
| content = {{#if:{{{content|}}}|1}}
| link box = {{{link box|}}} <!--So "link box=off" works-->