This is a documentation subpage for Template:Project wikimedia. 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. |
Usage
Syntax
{{Project wikimedia |project = <!--- Sets the project name, required ---> |name = |border = <!--- Sets the border color on the box ---> |bgcolor = <!--- Sets the backgroubd color on the box ---> }}
Add the template to the side panel.
- project - This field sets the name of the project in the heading box and for the links to the WIkiMedia sister sites. This is a required field
- border - Use this field to define a custom color for the heading box's border. If the field is left out or undefined, it will default to gray.
- bgcolor - Use this field to define the background color of the heading box. If the field is left out undefined, it will default to lightblue.
- Note The colors of the heading box can be set via hex (#RRGGBB) or by name (Red, etc.).
- name - Add this field if the |project= does not return a desired result on the sister site. Use the |name= field to put a separate name in the heading box, while using the |project= field to define the search on the sister sites.
Examples
- Hex -
{{Project wikimedia |project = Beer |border = #CC9000 |bgcolor = #F3DE94 }}
Will yield this:
Find more about Beer on other Wikimedia Sites | |
- Color -
{{Project wikimedia |project = Beer |border = red |bgcolor = pink }}
Will yield this:
Find more about Beer on other Wikimedia Sites | |
See also
- {{Project assessments}}
- {{Project categories}}
- {{Project heading}}
- {{Project information}}
- {{Project page header}}
- {{Project section header}}
- {{Project wikimedia}}
- {{Scrolling window}}
- {{WikiProject status}}
Related templates