Template:Project heading/doc

From Bharatpedia, an open encyclopedia
< Template:Project heading
Revision as of 18:12, 22 October 2024 by Muskit Gergous (talk | contribs) (Created page with "{{Documentation subpage}} {{esoteric}} <!-- Categories go at the bottom of this page and interwikis go in Bharatdata. --> == Usage == === Syntax === <syntaxhighlight lang="wikitext" width="75%"> {{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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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