Template:Divbox: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>JJMC89
Implement TemplateStyles to replace the style sub-templates: adds divbox-foo class and divbox class for the common style; remove boilerplate class: deprecated
meta>Izno
replace center b with div and templatestyle
Line 2: Line 2:
{{main other
{{main other
  |1 = <!-- not displayed in mainspace -->
  |1 = <!-- not displayed in mainspace -->
  |2 = <div class="metadata divbox divbox-{{{1|}}}" {{#if:{{{2|}}}|title="{{{2}}}"}} {{#if:{{{radius|}}}|style="{{border-radius|{{{radius}}}}}"}}>{{center|<b>{{{2|}}}</b>}}{{{3|}}}</div>{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using divbox with unknown parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Divbox]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | radius }}
  |2 = <div class="metadata divbox divbox-{{{1|}}}" {{#if:{{{2|}}}|title="{{{2}}}"}} {{#if:{{{radius|}}}|style="{{border-radius|{{{radius}}}}}"}}><div class="center">{{{2|}}}</div>{{{3|}}}</div>{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using divbox with unknown parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Divbox]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | radius }}
}}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>
}}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>

Revision as of 13:13, 26 September 2018