Template:Divbox: Difference between revisions

add error-checking of parameters (helps catch lint errors before they occur)
No edit summary
(add error-checking of parameters (helps catch lint errors before they occur))
Line 2:
|1 = <!-- not displayed in mainspace -->
|2 = <div class="boilerplate metadata" {{#if:{{{2|}}}|title="{{{2}}}"|}} style="{{divbox/style/{{{1}}}}};{{#if:{{{radius|}}}|{{border-radius|{{{radius}}}}}|}} padding: 1em;">{{center|<b>{{{2|}}}</b>}}{{{3|}}}</div>
}}<includeonly>{{#invoke:TemplatePar
}}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>
|check
|all= 1= 3=
|opt= 2= radius=
|template=Template:Divbox}}</includeonly><noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>
Anonymous user