Template:Announcement: Difference between revisions

From paperclip
Jump to navigation Jump to search
Maitken (talk | contribs)
No edit summary
Maitken (talk | contribs)
Line 30: Line 30:
==Example==
==Example==
<center>{{Template:Announcement
<center>{{Template:Announcement
|message=This is just a test. You can see if the text is too long it goes onto a second line.
|message=This is just a test. You can see if the text is very very long and it wont all fit onto one line then it goes onto a second line.
|width=50em
|width=50em
|float=none}}</center>
|float=none}}</center>
  <nowiki><center>{{Template:Announcement
  <nowiki><center>{{Template:Announcement
  |message=This is just a test. You can see if the text is too long it goes onto a second line.
  |message=This is just a test. You can see if the text is very very long and it wont all fit onto one line then it goes onto a second line.
  |width=50em
  |width=50em
  |float=none
  |float=none

Revision as of 19:13, 2 February 2009


Documentation

This is a simple template used to place an announcement on any page. When added to a Wikipedia page, the box will float to the right and any text will wrap around it.

The Template contains several fields

  • The first field is where you place your message.
  • The second field allows you to change the width. The default is 18em.
  • The third field allows you to change where the box floats. The default value is right.

Use

Copy and paste the following code into the desired place within the paperclip edit page.

 {{Template:Announcement
 |message=
 }}

Remember you can use [[ and ]] brackets to link to a page or force a new line by using <br>.

Example

ANNOUNCEMENT
This is just a test. You can see if the text is very very long and it wont all fit onto one line then it goes onto a second line.

<center>{{Template:Announcement
 |message=This is just a test. You can see if the text is very very long and it wont all fit onto one line then it goes onto a second line.
 |width=50em
 |float=none
 }}</center>