Toggle menu
15
236
74
27.6K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Project page header/doc: Difference between revisions

Template page
Created page with "{{Documentation subpage}} {{esoteric}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> This is a page header template for WikiProjects. It is configured with several variables (or will be) to format it to do different things. == Usage == === Syntax === <syntaxhighlight lang="wikitext"> {{Project page header |Heading name |image = <!-- Required, set the image to be used in the banner. the "File:" prefix is not needed--> |image_s..."
 
(No difference)

Latest revision as of 06:15, 24 February 2025

This is a page header template for WikiProjects. It is configured with several variables (or will be) to format it to do different things.

Usage

Syntax

{{Project page header
 |Heading name
 |image        = <!-- Required, set the image to be used in the banner. the "File:" prefix is not needed-->
 |image_size   = <!-- changes the image size, defaults to 100px. The "px" is not needed -->
 |project      = <!-- Required, set the name of the project -->
 |shortcut     = <!-- places a standard shortcut box on the right side of the box -->
 |border       = <!-- sets border color, defaults to gray. -->
 |bgcolor      = <!-- sets background color, defaults to lightblue. -->
}}

Simple usage

To add a heading below the banner, use the following code:
{{Project page header }}

Which will generate:

File:Foodlogo2.svg WikiProject

Food & Drink


Headings

To add a heading below the banner, use the following code:
{{Project page header|Heading name}}

Which will generate:

File:Foodlogo2.svg WikiProject

Food & Drink

 Heading name


Shortcut

To add a shortcut link inside the banner, use the following code: {{Project page header|...|shortcut=Shortcut link}}

Which will generate:

File:Foodlogo2.svg WikiProject

Food & Drink


Customization

There are several variables that can be used to customize this template.

See also

Related templates