Difference between revisions of "Template:Directories box/doc"

From blackwiki
Jump to navigation Jump to search
imported>Buaidh
(Update.)
imported>Buaidh
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
===Use===
 
 
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|float=}}</nowiki>'''
+
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}}
{{lists|align=center}}
 
{{lists|align=right}}
 
This template creates the floating linkbox shown at the right:
 
 
{{clear}}
 
{{clear}}
  

Revision as of 05:19, 25 August 2011

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