Jump to content

Template:Project wikimedia/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Syntax

[edit]
{{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

[edit]
Hex -
{{Project wikimedia
 |project  = Beer
 |border   = #CC9000
 |bgcolor  = #F3DE94
}}

Will yield this:

Find more about Beer
on other Wikimedia Sites
Dictionary definitions
Textbooks
Quotations
Source texts
Images and media
News stories
Learning resources
Color -
{{Project wikimedia
 |project = Beer
 |border  = red
 |bgcolor = pink
}}

Will yield this:

Find more about Beer
on other Wikimedia Sites
Dictionary definitions
Textbooks
Quotations
Source texts
Images and media
News stories
Learning resources

See also

[edit]
[edit]