Template:Plinks/sandbox
Appearance
This is the template sandbox page for Template:Plinks (diff). See also the companion subpage for test cases. |
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
[edit]The 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
[edit]This template should not be placed in the main article namespace {{NS:0}}
.
Examples
[edit]{{plinks}}
creates:
{{plinks|Mexico|1|1}}
creates:
{{plinks|Egypt|1|Africa|Arabic}}
creates:
{{plinks|Democratic Republic of the Congo|1|Africa}}
creates:
See also
[edit]- 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.
- For help with this template, please post a comment on the template talk page with a
{{reply to}}
one or more of the previous editors.