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

From blackwiki
Jump to navigation Jump to search
imported>Buaidh
imported>Buaidh
Line 4: Line 4:
 
===Use===
 
===Use===
 
The complete syntax for this template is:
 
The complete syntax for this template is:
  '''<nowiki>{{lists|border-c=|border-w=|info-c|align=}}</nowiki>'''
+
  '''<nowiki>{{lists|align=|talign=}}</nowiki>'''
 
where:
 
where:
*'''border-c=''' is an optional border color (see the [[list of colors]])
+
*'''<tt>align=</tt>''' an optional floating box alignment parameter.
**border-c=#999999 (default)
+
**<tt>align=left</tt>
*'''border-w=''' is an optional border width in pixels
+
**<tt>align=right</tt> (default)
**border-w=1 (default)
+
*'''<tt>talign=</tt>''' an optional text alignment parameter.
*'''info-c=''' is an optional background color
+
**<tt>talign=left</tt>
**info-c=#f7f7f7 (default)
+
**<tt>talign=center</tt> (default)
*'''align=''' is an optional linkbox alignment
+
**<tt>talign=right</tt>
**align=left
+
**<tt>talign=justify</tt>
**align=right (default)
 
 
This template creates the floating linkbox shown below:
 
This template creates the floating linkbox shown below:
 
{{lists|align=left}}
 
{{lists|align=left}}

Revision as of 16:27, 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|align=|talign=}}

where:

  • align= an optional floating box alignment parameter.
    • align=left
    • align=right (default)
  • talign= an optional text alignment parameter.
    • talign=left
    • talign=center (default)
    • talign=right
    • talign=justify

This template creates the floating linkbox shown below:

Restriction

This template should not be placed in the main article namespace {{NS:0}}.

See also