跳转到内容

模板:Project heading/doc

维基百科,自由的百科全书

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

[编辑]
[编辑]