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>Þjarkur
(+hatnote)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Redirect-distinguish|Template:Lists|Template:List}}
+
{{Redirect|Template:Lists|bulleted and unbulleted lists|Template:HTML lists|tagging articles as needing to be converted into prose|Template:List}}
 
 
 
{{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]].
Line 6: Line 5:
 
===Use===
 
===Use===
 
The complete syntax for this template is:
 
The complete syntax for this template is:
  '''<nowiki>{{lists|align=|talign=}}</nowiki>'''
+
  '''<nowiki>{{Dbox|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}}
+
{{Dbox|align=left}}
 
{{clear}}
 
{{clear}}
  
 
===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===
 +
*This template is compatible with [[Template:WPbox]], [[Template:WGbox]], [[Template:TFbox]], [[Template:Pbox]], and [[Template:NBbox]].
 
*This template is invoked by [[Template:Plinks]].
 
*This template is invoked by [[Template:Plinks]].
*[[Wikipedia:WikiProject Council]]
+
*For help with this userbox template, please post a comment on the [[Template_talk:{{ROOTPAGENAME}}|template talk page]].
**[[Wikipedia:WikiProject Council/Directory]]
+
<includeonly>{{Sandbox other||
*[[Wikipedia:Portal]]
 
**[[Portal:Contents/Portals]]
 
*[[Wikipedia:Noticeboards]]
 
**[[Wikipedia:Regional notice boards]]
 
<includeonly>
 
 
[[Category:Internal link templates]]
 
[[Category:Internal link templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 17:16, 8 June 2020

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:

{{Dbox|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