Difference between revisions of "Template:Directories box"

From blackwiki
Jump to navigation Jump to search
imported>Buaidh
(background:white)
imported>Buaidh
(<noinclude>{{Redirect-distinguish|Template:Lists|Template:List}}</noinclude> <div class="noprint {{#ifeq:{{{align|right}}}|right|tright|tleft}} portal" style="background:white;padding:0 0.75em 0 0.75em;border:solid black 1px;margin:{{#ifeq:{{{align|right})
Line 1: Line 1:
 
<noinclude>{{Redirect-distinguish|Template:Lists|Template:List}}</noinclude>
 
<noinclude>{{Redirect-distinguish|Template:Lists|Template:List}}</noinclude>
<div class="noprint {{#ifeq:{{{align|right}}}|right|tright|tleft}} portal" style="background:white;padding:0 0.75em 0 0.75em;border:solid black 1px;margin:{{#ifeq:{{{align|right}}}|right|0.5em 0 0.5em 0.5em|0.5em 0.5em 0.5em 0}};font-size:90%;line-height:140%;text-align:{{{talign|center}}};">
+
<div class="noprint {{#ifeq:{{{align|right}}}|right|tright|tleft}} portal" style="background:white;padding:0 0.75em 0 0.75em;border:solid black 1px;margin:{{#ifeq:{{{align|right}}}|right|0.5em 0 0.5em 0.5em|0.5em 0.5em 0.5em 0}};font-size:80%;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>

Revision as of 04:16, 9 September 2017

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