Template:Messagebox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Write little tutorial, how to use this template. Please fix my speech... And some "parts" of tutorial too. I made this in 5 minutes.)
mNo edit summary
Line 19: Line 19:
|small = Small text here
|small = Small text here
|txtcolor = Red
|txtcolor = Red
|image = [[File:en.png|55px|link=Template:Messagebox]]
|image = [[File:en.png|55px|link=Template:Messagebox]] (Leave blank for Info.png)
|bgcolor = yellow
|bgcolor = yellow
|bdcolor = green
|bdcolor = green

Revision as of 12:04, 2 September 2011


How to use:

{{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
}}

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

bdcolor = color of border

And that will look like this:

For bgcolor and bdcolor and txtcolor you can use color codes (in format #XXXXXX where "X" is a Hexadecimal)