Difference between revisions of "Template:InfoBox"

From Hackerspace ACKspace
Jump to: navigation, search
(added text color so we can have black on white)
Line 11: Line 11:
 
|Clear={left|right|both|[none]|inherit}
 
|Clear={left|right|both|[none]|inherit}
 
|Width=
 
|Width=
 +
|Color=
 
|Background=
 
|Background=
 
}}
 
}}
Line 25: Line 26:
 
   ||featured  = 3px dashed #99f;
 
   ||featured  = 3px dashed #99f;
 
}}
 
}}
margin: 0.5em; padding: 1em; text-align:center; background: {{{Background}}};width: {{{Width}}}; float: {{{Float|inherit}}}; clear: {{{Clear|inherit}}};">
+
margin: 0.5em; padding: 1em; text-align:center; background: {{{Background}}}; color: {{{Color}}}; 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 09:29, 18 January 2012

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=
|Color=
|Background=
}}

Edit the page to see the template text.