Template:Example: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
m (removing indent)
No edit summary
 
(5 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
|}<noinclude>
                  |content={{{1|'''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.}}}}}<noinclude>
 
==Usage==
==Usage==
<nowiki>{{Example|This is an example}}</nowiki>
<pre>{{Example|This is an exemplary example}}</pre>  
produces:
produces:
{{Example|This is an example}}
{{Example|This is an exemplary example}}
[[Category:Templates]]</noinclude>
 
[[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