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

From blackwiki
Jump to navigation Jump to search
imported>SkyGazer 512
(Added from the template - belongs in the documentation)
imported>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
Line 8: Line 8:
 
  '''<nowiki>{{lists|align=|talign=}}</nowiki>'''
 
  '''<nowiki>{{lists|align=|talign=}}</nowiki>'''
 
where:
 
where:
*'''<tt>align=</tt>''' an optional floating box alignment parameter.
+
*'''<kbd>align=</kbd>''' an optional floating box alignment parameter.
**<tt>align=left</tt>
+
**<kbd>align=left</kbd>
**<tt>align=right</tt> (default)
+
**<kbd>align=right</kbd> (default)
*'''<tt>talign=</tt>''' an optional text alignment parameter.
+
*'''<kbd>talign=</kbd>''' an optional text alignment parameter.
**<tt>talign=left</tt>
+
**<kbd>talign=left</kbd>
**<tt>talign=center</tt> (default)
+
**<kbd>talign=center</kbd> (default)
**<tt>talign=right</tt>
+
**<kbd>talign=right</kbd>
**<tt>talign=justify</tt>
+
**<kbd>talign=justify</kbd>
 
This template creates the floating linkbox shown below:
 
This template creates the floating linkbox shown below:
 
{{lists|align=left}}
 
{{lists|align=left}}
Line 21: Line 21:
  
 
===Restriction===
 
===Restriction===
This template should not be placed in the [[Wikipedia:Namespace|main article namespace]] <tt><nowiki>{{NS:0}}</nowiki></tt>.
+
This template should not be placed in the [[Wikipedia:Namespace|main article namespace]] <kbd><nowiki>{{NS:0}}</nowiki></kbd>.
  
 
===See also===
 
===See also===

Revision as of 15:29, 5 August 2018

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