Template:Project heading/doc

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

这是Template:Project heading/doc当前版本,由imported>Honmingjun编辑于2013年11月15日 (五) 16:30 建立内容为“{{Documentation subpage}} {{esoteric}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> == Usage == === Syntax === <...”的新頁面)。这个网址是本页该版本的固定链接。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)
跳转到导航 跳转到搜索

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

Will yield this:

WikiProject Beer
File:Kranz Koelsch.jpg

General usage[编辑]

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

Will yield this:

WikiProject Beer's
Pubs Task Force
File:MeophamGreen3573.JPG

See also[编辑]

Related templates[编辑]