Template: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
Kranz Koelsch.jpg
Color -
{{Project heading
 | project = Beer
 | image   = Kranz Koelsch.jpg
 | border  = red
 | bgcolor = pink
}}

Will yield this:

WikiProject Beer
Kranz Koelsch.jpg

General usage编辑

{{Project heading
 | project    = Beer
 | task_force = Pubs
 | image      = MeophamGreen3573.JPG
}}

Will yield this:

WikiProject Beer's
Pubs Task Force
MeophamGreen3573.JPG

See also编辑

Related templates编辑

WikiProject Council project list icon.svg 维基百科專題列表

 

WikiProject Council with transparent background.svg 維基百科专题委员会

 

WikiProject Council project guide icon.svg 維基百科專題指引