Difference between revisions of "Template:Directories box/doc"
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: | ||
| − | *'''< | + | *'''<kbd>align=</kbd>''' an optional floating box alignment parameter. |
| − | **< | + | **<kbd>align=left</kbd> |
| − | **< | + | **<kbd>align=right</kbd> (default) |
| − | *'''< | + | *'''<kbd>talign=</kbd>''' an optional text alignment parameter. |
| − | **< | + | **<kbd>talign=left</kbd> |
| − | **< | + | **<kbd>talign=center</kbd> (default) |
| − | **< | + | **<kbd>talign=right</kbd> |
| − | **< | + | **<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]] < | + | 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 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|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}}.