Difference between revisions of "Template:Messagebox"

From Valve Developer Community
Jump to: navigation, search
m
m (Removed hr. Could use a little more formatting but I'm lazy)
 
Line 11: Line 11:
 
</table>
 
</table>
 
<noinclude>
 
<noinclude>
----
 
 
 
How to use:
 
How to use:
 
<pre>
 
<pre>

Latest revision as of 07:04, 6 January 2013

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)