User:Deprecated/Template:DeprecatedTest

From Valve Developer Community
< User:Deprecated
Revision as of 18:18, 6 February 2020 by Deprecated (talk | contribs) (Test2)
Jump to navigation Jump to search

Parameters (all except text are optional):

text = Write your text

small = Write small text

txtcolor = Color of all text

image = link_to_some_resource_or_page_at_this_wiki

link in format ''http://...'' or just name of page at this wiki (like "Template:Messagebox" without quotes)

bgcolor = color of background

borderstyle = style of special border, by default left border

bdcolor = color of special border

bdcolor2 = color of overall box border

margin = margin style

An example:

{{messagebox
|text = Text here
|small = Small text here
|txtcolor = Red
|image = [[File:en.png|55px|link=Template:Messagebox]] (Leave blank for Info.png)
|bgcolor = yellow
|bdcolor = green
|bdcolor2 = blue
}}

And that will look like this:

Color parameters also accept hexademical codes.