Difference between revisions of "Template:Directories box/doc"
Jump to navigation
Jump to search
imported>Buaidh (Update.) |
imported>Buaidh (→Use) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | |||
This template creates a floating box linking to the directories of [[Wikipedia]] [[Wikipedia:WikiProject|WikiProjects]], [[Wikipedia:Portal|portals]], and [[Wikipedia:Regional notice boards|regional notice boards]]. | This template creates a floating box linking to the directories of [[Wikipedia]] [[Wikipedia:WikiProject|WikiProjects]], [[Wikipedia:Portal|portals]], and [[Wikipedia:Regional notice boards|regional notice boards]]. | ||
| − | The syntax for this template is: | + | ===Use=== |
| − | '''<nowiki>{{lists|border-c=|border-w=|info-c| | + | The complete syntax for this template is: |
| + | '''<nowiki>{{lists|border-c=|border-w=|info-c|align=}}</nowiki>''' | ||
where: | where: | ||
*'''border-c=''' is an optional border color (see the [[list of colors]]) | *'''border-c=''' is an optional border color (see the [[list of colors]]) | ||
| Line 16: | Line 16: | ||
**align=center | **align=center | ||
**align=right (default) | **align=right (default) | ||
| + | This template creates the floating linkbox shown below: | ||
{{lists|align=left}} | {{lists|align=left}} | ||
| − | |||
| − | |||
| − | |||
{{clear}} | {{clear}} | ||
Revision as of 05:19, 25 August 2011
| This is a documentation subpage for Template:Directories box. It contains usage information, categories and other content that is not part of the original template page. |
This template creates a floating box linking to the directories of Wikipedia WikiProjects, portals, and regional notice boards.
Use
The complete syntax for this template is:
{{lists|border-c=|border-w=|info-c|align=}}
where:
- border-c= is an optional border color (see the list of colors)
- border-c=#999999 (default)
- border-w= is an optional border width in pixels
- border-w=1 (default)
- info-c= is an optional background color
- info-c=#f7f7f7 (default)
- align= is an optional linkbox alignment
- align=left
- align=center
- align=right (default)
This template creates the floating linkbox shown below:
Restriction
This template may only be placed on pages with a prefix such as Category:, Template:, Wikipedia:, or User:. This template should not be placed in the main article namespace {{NS:0}}.
See also
- This template combines Template:WPlist, Template:Plist, and Template:NBlist.
- Wikipedia:WikiProject Council
- Wikipedia:Portal
- Wikipedia:Regional notice boards