Template:Wiki loves parliaments/base3
{{{project}}}{{{subtitle}}} |
The making of this work was supported by Wikimedia Austria. For other files made with the support of Wikimedia Austria, please see the category Supported by Wikimedia Österreich. |
The making of this document was supported by Skillshare.
To see other files made with the support of Skillshare, please see the category Supported by Skillshare. |
Base template for Wiki loves parliaments projects. Templates that make use of this base template can be added to files. Do not use this base template directly!
Usage
{{Wiki loves parliaments/base |project= |subtitle= |description= |participants_count= |participants= |email= |license= |nolicense= |supported_by_wmat= |category_project= |type= |visit= }}
Every Wiki loves parliaments project should use a specific template that encapsulates this template. Some arguments should be passed through, some should be set in the specific template.
- Arguments to pass through in the specific template
nolicense
type
visit
- Arguments that must be set in the specific template
project
subtitle
description
license
category_project
All other arguments are optional. If a text is passed as an argument, it should be localized e. g. using {{LangSwitch}}.
- Parts of the template
- main information box, showing the project name as a heading, the subtitle and the description. If
participants_count
is set, a list of participants (participants
) is shown. - reuse information (if
email
is set) - the given license (if
nolicense
is not set) - {{Personality rights}} (if
type
isPortrait
) - categories (only for files)
- project categories (where project name is the value of
category_project
)- Category:Wiki loves parliaments/project name/Making-of (if
type
isMaking-of
, unknown or not set) - Category:Wiki loves parliaments/project name/Portraits (if
type
isPortrait
) - Category:Wiki loves parliaments/project name/Videos (if
type
isVideo
) - Category:Wiki loves parliaments/project name/Visits (if
type
isVisit
andvisit
is not set) - Category:Wiki loves parliaments/project name/Visits/visit name (if
type
isVisit
andvisit
is set; visit name being the value ofvisit
)
- Category:Wiki loves parliaments/project name/Making-of (if
- support categories
- Category:Supported by Wikimedia Österreich (if
supported_by_wmat
is set)
- Category:Supported by Wikimedia Österreich (if
- project categories (where project name is the value of
- Example
- A specific template could look like this:
{{Wiki loves parliaments/base3 | project = project name | subtitle = {{LangSwitch | en = English subtitle | de = German subtitle }} | description = {{LangSwitch | en = English description | de = German description }} | participants_count = 10 | participants = name 1, name 2 | email = test@example.com | license = {{cc-by-sa-4.0}} | nolicense = {{{nolicense|}}} | supported_by_wmat = yes | category_project = project name (categories) | type = {{{1|}}} | visit = {{{2|}}} }}
- For a real-life example, see {{Wiki loves parliaments/Bundestag 2014}} and the category Category:Wiki loves parliaments/Bundestag 2014.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
project | project | name of the project, used as a heading | empty | required |
subtitle | subtitle | subtitle for the top box | empty | required |
description | project description | long project description of the project for the top box | empty | required |
participants_count | participant count | participant count, rounded down | empty | optional |
participants | participants | list of participants, shown in a toggled section if participants_count is set | empty | optional |
email | contact address for questions on reuse (if not set, no reuse notice is shown) | empty | optional | |
license | license | default license to use in this template, e. g. {{Cc-by-sa-3.0-at}} | empty | optional |
nolicense | no license | suppresses the default license if set | empty | optional |
supported_by_wmat | Supported by WMAT | adds Category:Supported by Wikimedia Österreich to files (if set) | empty | optional |
category_project | project category name | project name used in the categories. Adds the files using this template to the category Wiki loves parliaments/project name and its subcategories. | empty | required |
type | type | type of the file that uses this template (Making-of , Portrait , Visit , Video ) | empty | required |
visit | visit | name of the visit if the file type is Visit | empty | optional |
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: all users
Relies on:
{{Hidden}}
See also
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation
" (xx
being the code of your language)
The parameters given to this template must be localized.