Template:Divbox: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(link possible colors) |
m (117 revisions imported from templatewiki:Template:Divbox) |
||
(78 intermediate revisions by 50 users not shown) | |||
Line 1: | Line 1: | ||
{{main other |
|||
<div class="boilerplate metadata" id="{{{2}}}" style="{{divstyle{{{1}}}}}"><center><b>{{{2}}}</b></center>{{{3}}}</div> |
|||
|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>{{#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> |
|||
}}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here -->{{En-WP attribution notice|Template:Divbox}}</noinclude> |
|||
==How to use== |
|||
<nowiki>{{divbox|</nowiki>[[Special:Prefixindex/Template:Divstyle|color of box]]<nowiki>|Headtitle|Message}}</nowiki> |
|||
==Example== |
|||
<nowiki>{{divbox|green|An example|This is only an example of how this template works.}}</nowiki> |
|||
Writing this code will give you... |
|||
{{divbox|green|An example|This is only an example of how this template works.}} |
|||
[[Category:Formatting templates|Divbox]] |
|||
</noinclude> |
Latest revision as of 20:22, 29 June 2021
This template uses material from the Wikipedia template Template:Divbox, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors). |