Difference between revisions of "Template:Useful links"
Jump to navigation
Jump to search
Useful links
Useful links
(updated notice for templates (remove in about one week)) |
(Update documentation) |
||
| Line 10: | Line 10: | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
| − | + | {{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 | + | * '''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" | + | * '''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
- Commandments
- CP Guidelines
- Style manual
- Editing etiquette
—Updated 21st May - Report abuse
- List of templates
—Updated 21st May - Personal edit counter
| 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:
- Commandments
- CP Guidelines
- Style manual
- Editing etiquette
—Updated 21st May - Report abuse
- List of templates
—Updated 21st May - Personal edit counter
(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".