Template:Divbox: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (1 revision imported: Wikipedia article on Nicotine modules needed)
m (1 revision imported: Templates and CSS files)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<templatestyles src="Divbox/styles.css" />{{main other
<templatestyles src="Divbox/styles.css" />{{{{{|safesubst:}}}#if:{{NAMESPACE}}|<div class="metadata divbox divbox-{{{1|}}}" {{{{{|safesubst:}}}#if:{{{2|}}}|title="{{{2}}}"}} {{{{{|safesubst:}}}#if:{{{radius|}}}{{{style|}}}|style="border-radius:{{{radius}}};{{{style|}}}"}}>{{{{{|safesubst:}}}#if:{{{2|}}}|<div class="divbox-heading">{{{2|}}}</div>}}{{{3|}}}</div>{{{{{|safesubst:}}}#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|style| 1 | 2 | 3 | radius }}
|1 = <!-- not displayed in mainspace -->
|2 = <div class="metadata divbox divbox-{{{1|}}}" {{#if:{{{2|}}}|title="{{{2}}}"}} {{#if:{{{radius|}}}|style="border-radius:{{{radius}}};"}}><div class="divbox-heading">{{{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>

Latest revision as of 17:56, 4 December 2022