Difference between revisions of "Template:Box"

From HaskellWiki
Jump to navigation Jump to search
(A template that lets you put a thin gray frame around other things)
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<div style="border: 1px solid gray; padding: 0.5em;">
 
<div style="border: 1px solid gray; padding: 0.5em;">
 
{{{1}}}
 
{{{1}}}
</div>
+
</div><noinclude>
<noinline>
 
   
 
A template that lets you put a thin gray frame around other things.
 
A template that lets you put a thin gray frame around other things.
   
Markup: <nowiki>{{box [[Image:foobar.png]] lolcats}}</nowiki>
+
Markup: <nowiki>{{box|[[Image:foobar.png]] lolcats}}</nowiki>
   
Renders as: {{box [[Image:foobar.png]] lolcats}}
+
Renders as: {{box|[[Image:foobar.png]] lolcats}}
   
</noinline>
+
</noinclude>

Latest revision as of 00:40, 4 November 2011

{{{1}}}

A template that lets you put a thin gray frame around other things.

Markup: {{box|[[Image:foobar.png]] lolcats}}

Renders as:

File:Foobar.png lolcats