Difference between revisions of "Template:Useful links"

From Conservapedia
Jump to navigation Jump to search
m (Update documentation)
m (Templates renamed)
Line 11: Line 11:
 
<noinclude>
 
<noinclude>
 
{{TemplateDoc|pages=user pages, mainly|purpose=convenient list of useful links}}
 
{{TemplateDoc|pages=user pages, mainly|purpose=convenient list of useful links}}
−
{{Parms2|
+
{{Parms|
−
{{Parm2|width|width of box (see below)|no|default to 12em (see below)}}
+
{{Parm|width|width of box (see below)|no|default to 12em (see below)}}
−
{{parm2|background|Background colour (see below)|no|defaults to #F9F9aa}}
+
{{parm|background|Background colour (see below)|no|defaults to #F9F9aa}}
−
{{parm2|float|"left" or "right" (see below)|no|defaults to no floating}}
+
{{parm|float|"left" or "right" (see below)|no|defaults to no floating}}
 
}}
 
}}
 
Further information on the parameters:
 
Further information on the parameters:

Revision as of 13:17, June 6, 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 width of box (see below) no default to 12em (see below)
background Background colour (see below) no defaults to #F9F9aa
float "left" or "right" (see below) no defaults to no floating

Further information on the parameters:

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".