Difference between revisions of "Template:Aside"

From Spherical
Jump to: navigation, search
(fix conditional)
(allow headerless)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class='sph-aside'>{{#if: {{{image|}}} | [[File:{{{image}}}|left|48px]] | | }}
+
<div class='sph-aside'>{{#if: {{{3|}}} | [[File:{{{3}}}|left|48px]] | }}
<h4>{{{1}}}</h4>
+
{{#if: {{{2|}}} | <h4>{{{1}}}</h4> | }}
<div class='sph-aside-content'>{{{2}}}</div>
+
{{#if: {{{2|}}} | <div class='sph-aside-content'>{{{2}}}</div> | <div class='sph-aside-content'>{{{1}}}</div> }}
 
</div>
 
</div>
 +
<noinclude>
 +
==Usage==
 +
<tt><nowiki>{{aside|heading|content[|icon]}}</nowiki></tt>
 +
</noinclude>

Latest revision as of 20:29, 18 July 2013

{{{1}}}

Usage

{{aside|heading|content[|icon]}}