Template:Project page header/doc
This is a documentation subpage for Template:Project page header. It may contain usage information, categories and other content that is not part of the original template page. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
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
lembaSyntax
lemba{{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
lembaTo add a heading below the banner, use the following code:
{{Project page header }}
Which will generate:
|
Headings
lembaTo add a heading below the banner, use the following code:
{{Project page header|Heading name}}
Which will generate:
|
Shortcut
lembaTo add a shortcut link inside the banner, use the following code:
{{Project page header|...|shortcut=Shortcut link}}
Which will generate:
|
Customization
lembaThere are several variables that can be used to customize this template.
See also
lemba- {{Project assessments}}
- {{Project categories}}
- {{Project heading}}
- {{Project information}}
- {{Project page header}}
- {{Project section header}}
- {{Project wikimedia}}
- {{Scrolling window}}
- {{WikiProject status}}
Related templates
lemba