Template:Announcement: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(for use in page announcements)
 
(trying no specified width and different color)
Line 11: Line 11:


Example output:  
Example output:  
{| width="100%" cellpadding="2" cellspacing="5" style="border:1px solid Crimson; vertical-align:top; background:LightCoral;"
{| cellpadding="2" cellspacing="5" style="border:1px solid Crimson; vertical-align:top; background:DarkSalmon;"
! <h2 style="margin:0; background:LightCoral; font-size:120%; font-weight:bold; border:0px solid #E39C79; text-align:center; color:#000; padding:0.2em 0.4em;">Title</h2>
! <h2 style="margin:0; background:DarkSalmon; font-size:120%; font-weight:bold; border:0px solid #E39C79; text-align:center; color:#000; padding:0.2em 0.4em;">Title</h2>
|-
|-
|style="color:#000;"| Body text  
|style="color:#000;"| Body text  

Revision as of 12:32, 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