Template:InfoboxTitle: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Adding thicker right-hand border)
m (Increasing font size)
Line 1: Line 1:
<includeonly><div style="padding: 15px; background: rgba({{{color|192, 192, 192}}}, 0.3); border-width: 1px 5px 1px 5px; border-style: solid; border-color: rgba({{{color|192, 192, 192}}}, 0.5); border-radius: 5px 5px 5px 5px; text-align: center; font-size: 16px;">'''{{{text}}}'''</div></includeonly><noinclude>
<includeonly><div style="padding: 15px; background: rgba({{{color|192, 192, 192}}}, 0.3); border-width: 1px 5px 1px 5px; border-style: solid; border-color: rgba({{{color|192, 192, 192}}}, 0.5); border-radius: 5px 5px 5px 5px; text-align: center; font-size: 20px;">'''{{{text}}}'''</div></includeonly><noinclude>
__NOTOC__
__NOTOC__
Produces a title header for an infobox.
Produces a title header for an infobox.

Revision as of 06:57, 17 January 2017


Produces a title header for an infobox.

Usage

Syntax

{{InfoboxTitle
  |color=
  |text=
}}

Parameters

color - An RGB triplet to use as the base color for formatting.
text - The infobox's title text.

Example

Markup

{{InfoboxTitle|color={{SiteColor|Splatoon}}|text=Title Text}}

Output

User:GuyPerfect/InfoboxTitle