模板: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}}