Template:Announcement: Difference between revisions
Jump to navigation
Jump to search
(get rid of float - not working) |
(change to light salmon) |
||
Line 11: | Line 11: | ||
Example output: | Example output: | ||
{| width="60%" cellpadding="2" cellspacing="5" style="border:1px solid Crimson; vertical-align:top; background: | {| width="60%" cellpadding="2" cellspacing="5" style="border:1px solid Crimson; vertical-align:top; background:LightSalmon;" | ||
! <h2 style="margin:0; background: | ! <h2 style="margin:0; background:LightSalmon; font-size:120%; font-weight:bold; border:0px solid LightSalmon; text-align:center; color:#000; padding:0.2em 0.4em;">Title</h2> | ||
|- | |- | ||
|style="color:#000;"| Body text | |style="color:#000;"| Body text | ||
Line 18: | Line 18: | ||
[[Category:Universal Templates]] | [[Category:Universal Templates]] | ||
</noinclude> | </noinclude> | ||
<includeonly>{| width="60%" cellpadding="2" cellspacing="5" style="border:1px solid Crimson; vertical-align:top; background: | <includeonly>{| width="60%" cellpadding="2" cellspacing="5" style="border:1px solid Crimson; vertical-align:top; background:LightSalmon;" | ||
! <h2 style="margin:0; background: | ! <h2 style="margin:0; background:LightSalmon; font-size:120%; font-weight:bold; border:0px solid LightSalmon; text-align:center; color:#000; padding:0.2em 0.4em;">{{{Title|}}}</h2> | ||
|- | |- | ||
|style="color:#000;"| {{{Body|}}} | |style="color:#000;"| {{{Body|}}} | ||
|}</includeonly> | |}</includeonly> |
Latest revision as of 12:12, 23 December 2018
This is used to put an announcement box at the location included. It's a full width table with a header row and a main text cell below it.
It should be called in the following format.
{{Announcement |Title= |Body= }}
Edit the page to see the template text.
Example output:
Title |
---|
Body text |