Template:Sandbox: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
(sandbox template)
 
m (trying to pass a width through 2 templates...)
 
Line 1: Line 1:
{| align=left cellpadding=0 style="margin:0 auto" align=center class="toccolours"
:{|cellpadding=5 width={{{width|74%}}}
|-
|-
! cellpadding=0 style="text-align:center; background:#FF8000" align="center" width="119"| Getting started
|style="border-right: 2px solid {{{fgcolor|#f80}}}" width="50pt" valign=top align=right| <div style="color:{{{fgcolor|#f80}}}">{{{leftbox|[[Image:Important.png]]}}}</div>
|align=left|  
|style="background: #EBEBF0;" valign=top| '''<span style="color:{{{fgcolor|#f80}}}">{{{heading|Slow down, cowboy!}}}</span>''' {{{content|'''You aren't done yet.'''


{| cellspacing=5
Fill in the template before hitting save, like this:
! Intro:
| [[Allegiance|'''Overview''']]{{-}}[[Top 10 things you should know]]{{-}}[[Newbie game]]s
|-
! Installing:
| [[Begin playing|'''Quick install''']]{{-}}[[Installation guide|Step by step guide]]{{-}}[[Tech Support|Troubleshooting]]
|-
! Gameplay:
| <b>[[Learning guide]]</b>{{-}}[[Common mistakes]]{{-}}[[:Category:FAQ|FAQ]]{{-}}[[Training index]]
|}
|}


{{{include|<includeonly>[[Category:Learning to play]]</includeonly>}}}<noinclude>
<pre><nowiki> {{Icon notice box|fgcolor=#00f
[[Category:Index Templates]]</noinclude>
                  |leftbox=[[Image:info.png]]
                  |heading=Information
                  |content=Spam spam spam spam spammy spam.}}</nowiki></pre>
 
and you will get:
 
{{Icon notice box|fgcolor=#00f
                  |leftbox=[[Image:info.png]]
                  |heading=Information
                  |content=Spam spam spam spam spammy spam.}}}}}
|}<noinclude>
 
Self explaining templates, ain't that cool :P
 
[[Category:Notice templates]]

Latest revision as of 00:52, 23 June 2009

Important.png
Slow down, cowboy! You aren't done yet.

Fill in the template before hitting save, like this:

 {{Icon notice box|fgcolor=#00f
                  |leftbox=[[Image:info.png]]
                  |heading=Information
                  |content=Spam spam spam spam spammy spam.}}

and you will get:


Info.png
Information Spam spam spam spam spammy spam.

Self explaining templates, ain't that cool :P