Changes

Jump to navigation Jump to search
Add float parameter
Line 1: Line 1: −
<div style="{{#if:{{{background|}}}|{{#ifeq:{{{background}}}|off||background: {{{background}}};}}|background: #F9F9aa;}} border: 1px solid #AAAAAA; padding: .3em; width:{{{width|12em}}}">
+
<div style="{{#if:{{{background|}}}|{{#ifeq:{{{background}}}|off||background: {{{background}}};}}|background: #F9F9aa;}} border: 1px solid #AAAAAA; padding: .3em; width:{{{width|12em}}}; {{#if:{{{float|}}}|float:{{{float}}}}};">
 
'''Useful links'''
 
'''Useful links'''
 
* [[Conservapedia:Commandments|Commandments]]
 
* [[Conservapedia:Commandments|Commandments]]
Line 12: Line 12:  
* '''width'''.  Optional.  The width of the box.  Currently defaults to "12em" to suit the current list, but this could be changed if the list is changed.
 
* '''width'''.  Optional.  The width of the box.  Currently defaults to "12em" to suit the current list, but this could be changed if the list is changed.
 
* '''background'''.  Optional.  The colour of the background.  If set to "off", the background colour of the box will be the background colour of the page or containing box.  If not set, it defaults to #F9F9aa.
 
* '''background'''.  Optional.  The colour of the background.  If set to "off", the background colour of the box will be the background colour of the page or containing box.  If not set, it defaults to #F9F9aa.
 +
* '''float'''.  Optional.  Sets the CSS ''float'' property for the box.  Normally you would use either "left" or "right".  The default is no floating.
 
</noinclude>
 
</noinclude>
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254

edits

Navigation menu