Difference between revisions of "Template:Designation/divbox"
Jump to navigation
Jump to search
imported>Lowercase sigmabot m (Adding protection templates) (bot) |
imported>Izkala (fmt) |
||
| Line 1: | Line 1: | ||
{{#if:{{{1<includeonly>|</includeonly>}}}| | {{#if:{{{1<includeonly>|</includeonly>}}}| | ||
| − | <div | + | <div style="border:4px solid {{#if:{{{delisted|}}}|#ddd|{{Designation/colour2|{{{1}}}}}}}; font-weight: bold; line-height: 1.5; text-align: center;"> |
'''{{#if:{{{delisted|}}}|Former }}{{Designation/text|{{{1}}}}}'''</div>}}<noinclude> | '''{{#if:{{{delisted|}}}|Former }}{{Designation/text|{{{1}}}}}'''</div>}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude><noinclude>{{pp-template|small=yes}}</noinclude> | </noinclude><noinclude>{{pp-template|small=yes}}</noinclude> | ||
Revision as of 20:46, 5 April 2015
Invalid designation
Usage
This template functions the same as {{Designation}} except that it renders it as a div block instead of a table row. This is required to make it meta-compatible with {{infobox}}.
This also uses the larger colour palette of Template:Designation/colour2 to display borders.
See also
| The above documentation is transcluded from Template:Designation/divbox/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |