Template:Project wikimedia/doc

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search

{{#invoke:Message box|mbox}} {{#invoke:Message box|ombox}}

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
File:Wiktionary-logo-en.svg Dictionary definitions
File:Wikibooks-logo.svg Textbooks
File:Wikiquote-logo.svg Quotations
Source texts
Images and media
File:Wikinews-logo.svg News stories
File:Wikiversity-logo-Snorky.svg Learning resources
view
Color -
{{Project wikimedia
 |project = Beer
 |border  = red
 |bgcolor = pink
}}

Will yield this:

Find more about Beer
on other Wikimedia Sites
File:Wiktionary-logo-en.svg Dictionary definitions
File:Wikibooks-logo.svg Textbooks
File:Wikiquote-logo.svg Quotations
Source texts
Images and media
File:Wikinews-logo.svg News stories
File:Wikiversity-logo-Snorky.svg Learning resources
view

See also

Related templates

{{Portal template list}}