Difference between revisions of "Template:InfoBox"

From Hackerspace ACKspace
Jump to: navigation, search
Line 8: Line 8:
 
|Title=
 
|Title=
 
|Text=
 
|Text=
|Float=
+
|Float={left|right|[none]|inherit}
|Clear=
+
|Clear={left|right|both|[none]|inherit}
 
|Width=
 
|Width=
 +
|Background=
 
}}
 
}}
 
</pre>
 
</pre>
Line 24: Line 25:
 
   ||featured  = 3px dashed #99f;
 
   ||featured  = 3px dashed #99f;
 
}}
 
}}
margin: 0.5em; padding: 1em; text-align:center; background: ;width: {{{Width}}}; float: {{{Float|inherit}}}; clear: {{{Clear|inherit}}};">
+
margin: 0.5em; padding: 1em; text-align:center; background: {{{Background}}};width: {{{Width}}}; float: {{{Float|inherit}}}; clear: {{{Clear|inherit}}};">
 
   <div style="font-weight: bold">{{{Title|}}}</div>
 
   <div style="font-weight: bold">{{{Title|}}}</div>
 
   <div style="">{{{Text|}}}</div>
 
   <div style="">{{{Text|}}}</div>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Revision as of 12:12, 23 October 2011

This is the "Infobox" template. It should be called in the following format:

{{InfoBox
|Type={[normal]|alert|featured}
|Image=
|Title=
|Text=
|Float={left|right|[none]|inherit}
|Clear={left|right|both|[none]|inherit}
|Width=
|Background=
}}

Edit the page to see the template text.