Difference between revisions of "Template:Useful links"

From Conservapedia
Jump to navigation Jump to search
(updated notice for templates (remove in about one week))
(Update documentation)
Line 10: Line 10:
 
</div>
 
</div>
 
<noinclude>
 
<noinclude>
−
'''Parameters''' (all are optional):
+
{{TemplateDoc|pages=user pages, mainly|purpose=convenient list of useful links}}
 +
{{Parms|
 +
{{Parm|width|yes|width of box (see below)|12em (see below)}}
 +
{{parm|background|yes|Background colour (see below)|#F9F9aa}}
 +
{{parm|float|yes|"left" or "right" (see below)|no floating}}
 +
}}
 +
Further information on the paramaters:
  
 
{{useful links|float=right|background=#fbb}}
 
{{useful links|float=right|background=#fbb}}
 
<small>(The example box at the right has parameters set as follows:<br /><tt><nowiki>{{useful links|float=right|background=#fbb}}</nowiki></tt>.)</small>
 
<small>(The example box at the right has parameters set as follows:<br /><tt><nowiki>{{useful links|float=right|background=#fbb}}</nowiki></tt>.)</small>
 
* '''width'''.  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'''.  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'''.  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'''.  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.
−
* '''float'''.  Sets the CSS ''float'' property for the box.  Normally you would use either "left" or "right".  The default is no floating.
+
* '''float'''.  Sets the [[CSS]] ''float'' property for the box.  Normally you would use either "left" or "right".
  
 
</noinclude>
 
</noinclude>

Revision as of 14:22, May 26, 2007

Useful links

Template: Useful links
Use on user pages, mainly
Use for convenient list of useful links
Category template applies to page (none)
Template Parameters
(See using templates).
Name Purpose Required? Comment
width yes width of box (see below) 12em (see below)
background yes Background colour (see below) #F9F9aa
float yes "left" or "right" (see below) no floating

Further information on the paramaters:

Useful links

(The example box at the right has parameters set as follows:
{{useful links|float=right|background=#fbb}}.)

  • width. 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. 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.
  • float. Sets the CSS float property for the box. Normally you would use either "left" or "right".