Difference between revisions of "Template:Information"

From Tycoon Gaming
m (1 revision imported: Move from Fandom to here)
m (Fixed some errors)
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
<div style="background-color:{{{background_color|#E3E3E3}}}; border:2px solid {{{border|#FF0000}}}; border-radius:5px; margin:8px; padding:8px; text-align:center; font-size:1.2em; color:black;">
+
<div style="background-color:{{{background_color|#E3E3E3}}}; border:2px solid {{{border_color|#FF0000}}}; border-radius:5px; margin:8px; padding:8px; text-align:center; font-size:1.2em;">
 
<div style="color:{{{title_color|#FF0000}}}; font-size:{{{title_size|24px}}};">
 
<div style="color:{{{title_color|#FF0000}}}; font-size:{{{title_size|24px}}};">
 
<b>
 
<b>
{{{title|Title}}}</b></div><br><div style="color:{{{title_color|#000000}}}; font-size:{{{title_size|16px}}};">{{{text|Message}}}
+
{{{title|Information}}}</b></div><br><div style="color:{{{text_color|#000000}}}; font-size:{{{text_size|16px}}};">{{{text|Message}}}</div></div>
</div>
 
</div>
 
 
</onlyinclude>
 
</onlyinclude>
  
Line 17: Line 15:
 
|title_size = Title Size (Default = 24px)
 
|title_size = Title Size (Default = 24px)
 
|title = Text above the message
 
|title = Text above the message
|text_color = Color of the text (Format:#xxxxxx) (Default = #FFFFFF) (optional)
+
|text_color = Color of the text (Format:#xxxxxx) (Default = #000000) (optional)
 
|text_size = Text Size (Default = 16px)
 
|text_size = Text Size (Default = 16px)
 
|text = Message to display
 
|text = Message to display
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 22:56, 20 October 2019

Information

Message


Template for important Information.

{{Information
|border_color = Color of the border (Format:#xxxxxx) (Default = #FF0000) (optional)
|background_color = Color of the Background (Format:#xxxxxx) (Default = #E3E3E3) (optional)
|title_color = Color of the title (Format:#xxxxxx) (Default = #FF0000) (optional)
|title_size = Title Size (Default = 24px)
|title = Text above the message
|text_color = Color of the text (Format:#xxxxxx) (Default = #000000) (optional)
|text_size = Text Size (Default = 16px)
|text = Message to display
}}