模板:WikiProject box
跳至導覽
跳至搜尋
File:Test Template Info-Icon - Version (2).svg 模板文件[檢視] [編輯] [歷史] [清除快取]
概要[編輯]
| File:Lua-Logo.svg | 此模板使用Lua語言: |
This template creates a floating box linked to a designated WikiProject.
參數及使用方法 Use[編輯]
The complete syntax for this template is:
{{WikiProject box|wpname|label=|image=|ilink=|align=|talign=|width=}}
where:
wpnameis the required WikiProject base name.label=an optional formatted label. (defaultlabel=WikiProject<br/>{{{wpname|}}})image=an optional file name parameter of the image to display- The default image file names are stored in directory Module:Portal/images.
- Placing the 11 characters
{{!}}borderat the end of the image file name will display a one pixel border around the image.
ilink=an optional link for the image.- The image link defaults to the image file.
align=an optional floating box alignment parameter.align=leftalign=right(default)
talign=an optional text alignment parameter.talign=lefttalign=center(default)talign=righttalign=justify
width=an optional floating box maximum width parameter in pixels. (defaultwidth=200)
注意事項 Restriction[編輯]
This template should not be placed in the main article namespace {{NS:0}}.
範例 Examples[編輯]
{{WPbox}} creates:
{{WPbox|India}} creates:
{{WPbox|United Kingdom}} creates:
{{WPbox|Hitchhiker's Guide to the Galaxy}} creates:
{{WPbox|?}} creates:
參見 See also[編輯]
- This template is compatible with Template:NBbox and Template:WikiProject workgroup box.
- This template employs image names from directory Module:Portal/images.
- This template is invoked by Template:Plinks.
- Wikipedia:WikiProject Council