Template:Plinks
This template creates floating internal link boxes linking to:
- A Wikipedia WikiProject, task force, or work group.
- A Wikipedia Portal.
- Up to three Wikipedia Noticeboards.
- The WikiProject Directory, the Portal Directory, and the Regional Notice Board Directory
Use
lembaThe complete syntax for this template is:
{{Plinks|var1|var2|var3|var4|var5|align=|group=|parent=}}
where:
var1
is the optional base name of a Wikipedia WikiProject, task force, or work group.var2
is the optional base name of a Wikipedia portal.var2=1
the base name of the Wikipedia portal is the same as var1.
var3
is the optional base name of a Wikipedia notice board.var3=1
the base name of the Wikipedia notice board is the same as var1.var3=2
the base name of the Wikipedia notice board is the same as var2.
var4
is the optional base name of another Wikipedia notice board.var4=1
the base name of the Wikipedia notice board is the same as var1.var4=2
the base name of the Wikipedia notice board is the same as var2.
var5
is the optional base name of another Wikipedia notice board.var5=1
the base name of the Wikipedia notice board is the same as var1.var5=2
the base name of the Wikipedia notice board is the same as var2.
align=
the optional floating box alignment parameter.align=left
align=right
(default)
group=
the project group type of var1:group=WikiProject
(default)group=task force
group=work group
parent=
the base name of the parent WikiProject, required if group=task force or work group.
Restriction
lembaThis template should not be placed in the main article namespace {{NS:0}}
.
Examples
lemba{{plinks}}
creates:
Lua error: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
{{plinks|Mexico|1|1}}
creates:
Lua error: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
{{plinks|Egypt|1|Africa|Arabic}}
creates:
Lua error: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
{{plinks|Democratic Republic of the Congo|1|Africa}}
creates:
See also
lemba- This template invokes Template:Abox, and Template:Lists.
- This template may be used with Template:WPbox and Template:WGbox to create more elaborate link stacks.