Sjabloon:Infobox WikiProject/doc: verschil tussen versies

Uit WikiMeneer
Ga naar: navigatie, zoeken
k (1 versie geïmporteerd)
 
(geen verschil)

Huidige versie van 3 jun 2015 om 15:17


Usage

The Infobox WikiProject template may be used to summarize information about a WikiProject.

Example

This infobox can be added by copying and pasting the template shown below:

Note: Only the "name" is required, all other attributes are optional.

{{Infobox WikiProject
 |inactive     = 
 |semi-active  =
 |name         = 
 |bodystyle    = 
 |image        = 
  |imagesize   = 
  |caption     = 
 |shortcuts    = 
  |shortcuts2  = 
 |category     = 
  |category2   = 
 |portal       = 
  |portal2     = 
 |commons      = 
 |parent       = 
  |parent2     =
  |parent3     =
 |notice       = 
  |notice-extended =
 |userbox      = 
  |userbox2    = 
  |userbox3    = 
  |userboxnote = 
 |helps-organise-children = 
 |has-goals    = 
 |assessment   = 
 |footnotes    = 
 |csb          =
 |type         =
}}

General parameters

  • inactive – if set to "y", "yes", or "1", the 'Inactive WikiProject' notice banner is included on the page; otherwise, leave field blank.
  • semi-active – if set to "y", "yes", or "1", the 'Semi-active WikiProject' notice banner is included on the page; otherwise, leave field blank.
  • name – the name of the project, without the 'Wikipedia:WikiProject' prefix. (e.g., Tulips)
  • bodystyle – any valid CSS markup that is applied to the infobox table as a whole. (you may need to use !important to override default values specified elsewhere)
  • image – an image for the project, given in the form of 'example.jpg'. (i.e., do not specify the size, caption, position, etc., and do not prefix it with 'File:' or 'Image:')
    • imagesize – sets the width of the project image, given in 'px'. When not specified, the default is 180px. (e.g., 150px)
    • caption – a descriptive sentence that describes the image. (e.g., This WikiProject is about project topic.)
  • shortcuts – if the project has a primary shortcut, list it here in the form [[WP:Shortcut]].
    • shortcuts2 – Secondary shortcuts may be given here. If there are more than two shortcuts, enter as a comma separated list.
  • category – the name of the root category of the articles within the scope of the WikiProject, preferably without the 'Category:' prefix. (e.g., WikiProject Tulips)
    • category2 – the name of a second root category if the project uses more than one, preferably without the 'Category:' prefix. (e.g., Tulips)
  • portal – the name of an appropriate portal for the project, without the 'Portal:' prefix. (e.g., Tulips)
    • portal2 – the name of a second appropriate portal, if the project uses more than one, without the 'Portal:' prefix. (e.g., Flowers)
  • commons – the name of a category in Wikimedia Commons, that is appropriate to the project, without the 'Category:' prefix. (e.g., Tulips)
  • parent – the name of the parent project for this project, without the 'Wikipedia:WikiProject' prefix. (e.g., Flowers)
    • parent2 / parent3 – the name of additional parent projects, without the 'Wikipedia:WikiProject' prefix. (e.g., Flowers)
  • notice – the name of the project banner template for the project, given without the 'Template:' prefix or any {{ }} syntax. (e.g., WikiProject Tulips)
    • notice-extended – an alternative to 'notice' (overrides the standard 'notice' message) that you can use to provide more details, template parameters, etc. (e.g., {{WikiProject International relations|un=yes}})
  • userbox – you may enter up to three project userboxes, (using userbox, userbox2, and userbox3) and/or an optional userboxnote:
    • If the userbox is located in the template namespace (i.e., the userbox page starts with 'Template:' in front of the name), then just enter the name of the template, without the 'Template:' prefix:
    • If the userbox is located in any other namespace (i.e., 'User:', 'WikiMeneer:', etc.), enter the full name of the userbox page, including the prefix:
      • Example #2: |userbox = User:Example/Userboxes/WikiProject Tulips member would be entered as-is
      • Example #3: |userbox2 = Wikipedia:Example/UBX would be entered as-is
    • userboxnote – a free-form comment, such as a link to more userboxes or brief instructions; if there are more than three userboxes to choose from, you could use only this parameter and link to a gallery of userboxes.
  • helps-organise-children – if set to "y", "yes", or "1", it indicates that the project will be active in helping organise subprojects (including task forces and work groups); "n", "no", or "0" indicate the project does not intend to set those up; anything else will be treated as a free-form comment, such as a link to more information.
  • has-goals – if set to "n", "no", or "0", indicates that the project exists solely to help organise child projects and co-ordinate items of interest common to all sub-projects, and does not engage in any other activity; "y", "yes", or "1" indicates the project intends to pursue other goals besides supporting child projects; anything else will be treated as a free-form comment, such as a link to more information.
  • assessment – the link to the project's assessment page, without the 'Wikipedia:' prefix. (e.g., WikiProject Tulips/Assessment)
  • footnotes – any additional free-form notes about the project.
  • csb – if set to "yes", tags project as relevant for Wikipedia:WikiProject Countering systemic bias (CSB)
  • type – passes on the optional type parameter of {{WikiProject status}}: not displayed in infobox

See also