模板:Project heading
WikiProject |
[[file:|275px|center]] |
本模板含有复杂而精密的扩展语法。 编辑本模板前,建议您先熟悉解析器函数与本模板的设计思路、运作原理等。若您的编辑引发了意外的问题,请尽快撤销编辑,因为本模板可能被大量页面使用。 您所作的编辑可先在模板沙盒或您的个人页面中进行测试。 |
Usage
编辑Syntax
编辑{{Project heading | project = <!--- Sets the project name, required ---> | task_force = <!--- Sets the task force name, if a task force ---> | border = <!--- Sets the border color on the box ---> | bgcolor = <!--- Sets the background color on the box ---> | image = <!--- Sets the image, required ---> | size = <!--- Changes the default image size from 275px ---> }}
Example
编辑Colors
编辑- Hex -
{{Project heading | project = Beer | image = Kranz Koelsch.jpg | border = #CC9000 | bgcolor = #F3DE94 }}
Will yield this:
WikiProject Beer |
- Color -
{{Project heading | project = Beer | image = Kranz Koelsch.jpg | border = red | bgcolor = pink }}
Will yield this:
WikiProject Beer |
General usage
编辑{{Project heading | project = Beer | task_force = Pubs | image = MeophamGreen3573.JPG }}
Will yield this:
WikiProject Beer's Pubs Task Force |
See also
编辑- {{Project assessments}}
- {{Project categories}}
- {{Project heading}}
- {{Project information}}
- {{Project page header}}
- {{Project section header}}
- {{Project wikimedia}}
- {{Scrolling window}}
- {{WikiProject status}}