Template:RightJustifyText

From Eliafamily

{{{text}}}


Contents

Purpose

Use this Template whenever you want to right justify text. This is used, for example, on the Main Page to set off the "...see archived announcements" and similar links to more complete listings.

Code

<div style='text-align: right;'>
{{{text}}}
</div>

Example of Use

Example Code

Use the template in the following fashion:

{{RightJustifyText|
   text=...see all [[archived announcements]]|
}}

The first line establishes that you are "calling" this Template. The second line sets the value of the variable "text" - in other words, it indicates what text you want right-justified. In this case the text happens to include an internal link (indicated by the double brackets). Note the pipe symbol ends that line. Finish with the close squiggly brackets, so that anything you type after that will be back in normal type.

You may copy and paste the above code, insert it into an edit box, and replace the text "...see all [[archived announcements]]" with your own text.

Example Rendered

...see all archived announcements

Personal tools