Difference between revisions of "Template:Directories box"

From blackwiki
Jump to navigation Jump to search
imported>Buaidh
(Template update.)
imported>Buaidh
(Template update.)
 
Line 1: Line 1:
<div class="noprint {{#ifeq:{{{align|right}}}|right|tright|tleft}} portal" style="background:#FBFBFB;padding:0 0.6em ;border:solid #AAAAAA 1px;margin:{{#ifeq:{{{align|right}}}|right|0.2em 0 0.2em 0.2em|0.2em 0.2em 0.2em 0}};font-size:8pt;line-height:140%;text-align:{{{talign|center}}};">
+
<div class="noprint {{#ifeq:{{{align|right}}}|right|tright|tleft}} portal" style="background:#FFFFFE;padding:0 0.6em ;border:solid #777799 1px;margin:{{#ifeq:{{{align|right}}}|right|0.2em 0 0.2em 0.2em|0.2em 0.2em 0.2em 0}};font-size:8pt;line-height:140%;text-align:{{{talign|center}}};">
 
[[Wikipedia:WikiProject Council/Directory|'''WikiProject Directory''']]<br/>
 
[[Wikipedia:WikiProject Council/Directory|'''WikiProject Directory''']]<br/>
 
[[Portal:Contents/Portals|'''Portal Directory''']]<br/>
 
[[Portal:Contents/Portals|'''Portal Directory''']]<br/>
 
[[Wikipedia:Regional notice boards|'''Regional Notice Boards''']]
 
[[Wikipedia:Regional notice boards|'''Regional Notice Boards''']]
 
</div><noinclude>{{documentation}}</noinclude>
 
</div><noinclude>{{documentation}}</noinclude>

Latest revision as of 05:43, 28 November 2018

Template documentation[view] [edit] [history] [purge]

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