Template:Example: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
(Example moved to a different colour than Warning.)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
:{| align=left cellpadding=2 style="border: 1px solid #aaa; background-color: #84f9f9; padding: 5px; font-size: 95%; float:none;"
{{Icon notice box|fgcolor=#080
!valign="top"|Example:
                  |leftbox=[[Image:checkmark.png|40px]]
|{{{1}}}
                  |heading=Example
|}
                  |content={{{1|'''Your example goes here'''
<noinclude>[[Category:Templates]]</noinclude>
 
A common style in these templates is a first line in bold as a title. After that hit enter twice and insert the warning body.}}}}}<noinclude>
 
==Usage==
<pre>{{Example|This is an exemplary example}}</pre>  
produces:
{{Example|This is an exemplary example}}
 
[[Category:Notice templates]]</noinclude>

Latest revision as of 14:16, 13 June 2009

Checkmark.png
Example Your example goes here

A common style in these templates is a first line in bold as a title. After that hit enter twice and insert the warning body.

Usage

{{Example|This is an exemplary example}}

produces:

Checkmark.png
Example This is an exemplary example