Difference between revisions of "Template:Designation/divbox"

From blackwiki
Jump to navigation Jump to search
imported>Izkala
(fmt)
imported>Sygmoral
(This content arrives in a <th>, which is already bold by default. "Double bold" looks bad in Firefox.)
Line 1: Line 1:
 
{{#if:{{{1<includeonly>|</includeonly>}}}|
 
{{#if:{{{1<includeonly>|</includeonly>}}}|
<div style="border:4px solid {{#if:{{{delisted|}}}|&#35;ddd|{{Designation/colour2|{{{1}}}}}}}; font-weight: bold; line-height: 1.5; text-align: center;">
+
<div style="border:4px solid {{#if:{{{delisted|}}}|&#35;ddd|{{Designation/colour2|{{{1}}}}}}}; line-height: 1.5; text-align: center;">
'''{{#if:{{{delisted|}}}|Former&nbsp;}}{{Designation/text|{{{1}}}}}'''</div>}}<noinclude>
+
{{#if:{{{delisted|}}}|Former&nbsp;}}{{Designation/text|{{{1}}}}}</div>}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude><noinclude>{{pp-template|small=yes}}</noinclude>
 
</noinclude><noinclude>{{pp-template|small=yes}}</noinclude>

Revision as of 21:10, 20 June 2016

Invalid designation
50px Template documentation[view] [edit] [history] [purge]

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