Template:Infobox WikiProject/doc: Difference between revisions
Appearance
imported>Deadfire |
Tungstenchan (talk | contribs) m Text replacement - "BattleTechWiki" to "BattleIntelligence" |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | ||
The '''Infobox WikiProject''' template may be used to summarize information about a [[ | The '''Infobox WikiProject''' template may be used to summarize information about a [[BattleIntelligence:WikiProjects|WikiProject]], in the [[BattleIntelligence:Manual of Style/Infoboxes|infobox form]]. | ||
==Usage== | ==Usage== | ||
| Line 51: | Line 51: | ||
* '''semi-active''' – if set to "y", "yes", or "1", the '[[Template:WikiProject status|Semi-active WikiProject]]' notice banner is included on the page; otherwise, leave field blank. | * '''semi-active''' – if set to "y", "yes", or "1", the '[[Template:WikiProject status|Semi-active WikiProject]]' notice banner is included on the page; otherwise, leave field blank. | ||
* '''bodystyle''' – any valid CSS markup that is applied to the infobox table as a whole. (you may need to use <code>!important</code> to override default values specified elsewhere) | * '''bodystyle''' – any valid CSS markup that is applied to the infobox table as a whole. (you may need to use <code>!important</code> to override default values specified elsewhere) | ||
* '''name''' – the name of the project, ''without'' the ' | * '''name''' – the name of the project, ''without'' the 'BattleIntelligence:WikiProject' prefix. (e.g., Tulips) | ||
* '''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:') | * '''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:') | ||
** '''image_size''' – sets the width of the project image, given in 'px'. When not specified, the default is 180px. (e.g., 150px) | ** '''image_size''' – 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''.) | ** '''caption''' – a descriptive sentence that describes the image. (e.g., This WikiProject is about ''project topic''.) | ||
** '''alt''' – a description for the image. | ** '''alt''' – a description for the image. | ||
* '''shortcuts''' – if the project has a primary [[ | * '''shortcuts''' – if the project has a primary [[BattleIntelligence:Shortcut|shortcut]], list it here in the form <code><nowiki>[[BTW:</nowiki>''Shortcut''<nowiki>]]</nowiki></code>. | ||
** '''shortcuts2''' – Secondary shortcuts may be given here. If there are more than two shortcuts, enter as a comma separated list. | ** '''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) | * '''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) | ** '''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''' – the name of an appropriate [[BattleIntelligence:Portal|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) | ** '''portal2''' – the name of a second appropriate portal, if the project uses more than one, ''without'' the 'Portal:' prefix. (e.g., Flowers) | ||
* '''parent''' – the name of the parent project for this project, ''without'' the ' | * '''parent''' – the name of the parent project for this project, ''without'' the 'BattleIntelligence:WikiProject' prefix. (e.g., Flowers) | ||
** '''parent2''' / '''parent3''' / '''parent4''' – the name of additional parent projects, ''without'' the ' | ** '''parent2''' / '''parent3''' / '''parent4''' – the name of additional parent projects, ''without'' the 'BattleIntelligence:WikiProject' prefix. (e.g., Flowers) | ||
* '''child''' – the name of the child project for this project, ''without'' the ' | * '''child''' – the name of the child project for this project, ''without'' the 'BattleIntelligence:WikiProject' prefix. (e.g., Flowers) | ||
** '''child2''' / '''child3''' – the name of additional child projects, ''without'' the ' | ** '''child2''' / '''child3''' – the name of additional child projects, ''without'' the 'BattleIntelligence:WikiProject' prefix. (e.g., Flowers) | ||
* '''notice''' – the name of the project banner template for the project, given ''without'' the 'Template:' prefix or any <nowiki>{{ }}</nowiki> syntax. (e.g., WikiProject Tulips) | * '''notice''' – the name of the project banner template for the project, given ''without'' the 'Template:' prefix or any <nowiki>{{ }}</nowiki> 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. | ** '''notice-extended''' – an alternative to 'notice' (overrides the standard 'notice' message) that you can use to provide more details, template parameters, etc. | ||
* '''userbox''' – you may enter up to three project [[ | * '''userbox''' – you may enter up to three project [[BattleIntelligence:Userboxes|userboxes]], (using '''userbox''', '''userbox2''', and '''userbox3''') and/or an optional '''userboxnote''': | ||
** If the userbox is located in the [[ | ** If the userbox is located in the [[BattleIntelligence:Template namespace|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: | ||
*** Example #1: {{tlx|User WP Templates}} would be entered as <code>|userbox = User WP Templates</code> | *** Example #1: {{tlx|User WP Templates}} would be entered as <code>|userbox = User WP Templates</code> | ||
** If the userbox is located in any other [[ | ** If the userbox is located in any other [[BattleIntelligence:Namespace|namespace]] (i.e., 'User:', '{{ns:Project}}:', etc.), enter the full name of the userbox page, ''including'' the prefix: | ||
*** Example #2: <code>|userbox = ''User:''Example/Userboxes/WikiProject Tulips member</code> would be entered as-is | *** Example #2: <code>|userbox = ''User:''Example/Userboxes/WikiProject Tulips member</code> would be entered as-is | ||
*** Example #3: <code>|userbox2 = '' | *** Example #3: <code>|userbox2 = ''BattleIntelligence:''Example/UBX</code> 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. | ** '''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''' or '''helps-organize-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. | * '''helps-organise-children''' or '''helps-organize-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. | ||
Latest revision as of 01:15, 1 May 2025
| This is a documentation subpage for Template:Infobox WikiProject. It may contain usage information, categories and other content that is not part of the original template page. |
The Infobox WikiProject template may be used to summarize information about a WikiProject, in the infobox form.
Usage
Syntax
| WikiProject {{{name}}} | |
|---|---|
| [[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]] {{{caption}}} | |
| Shortcuts | {{{shortcuts}}}, {{{shortcuts2}}} |
| Categories | [[:Category:|]], [[:Category:|]] |
| Portals | |
| Parent project(s) | [[BattleIntelligence:WikiProject {{{parent}}}|{{{parent}}}]], [[BattleIntelligence:WikiProject {{{parent2}}}|{{{parent2}}}]], [[BattleIntelligence:WikiProject {{{parent3}}}|{{{parent3}}}]], [[BattleIntelligence:WikiProject {{{parent4}}}|{{{parent4}}}]] |
| Child project(s) | [[BattleIntelligence:WikiProject {{{child}}}|{{{child}}}]], [[BattleIntelligence:WikiProject {{{child2}}}|{{{child2}}}]], [[BattleIntelligence:WikiProject {{{child3}}}|{{{child3}}}]] |
| Project banner template | {{{notice-extended}}} |
| Userboxes | {{{userboxnote}}} |
| Helps organise child projects? | {{{helps-organise-children}}} |
| Has goals? | {{{has-goals}}} |
| {{{footnotes}}} | |
This infobox can be added to any WikiProject page by copying and pasting the template shown below:
Note: Only the "name" parameter is required, all other attributes are optional.
{{Infobox Wikipedia WikiProject
|inactive =
|semi-active =
|bodystyle =
|name =
|image =
|image_size =
|alt =
|caption =
|shortcuts =
|shortcuts2 =
|category =
|category2 =
|portal =
|portal2 =
|parent =
|parent2 =
|parent3 =
|parent4 =
|child =
|child2 =
|child3 =
|notice =
|notice-extended =
|userbox =
|userbox2 =
|userbox3 =
|userboxnote =
|helps-organise-children =
|has-goals =
|type =
|footnotes =
}}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.
- bodystyle – any valid CSS markup that is applied to the infobox table as a whole. (you may need to use
!importantto override default values specified elsewhere) - name – the name of the project, without the 'BattleIntelligence:WikiProject' prefix. (e.g., Tulips)
- 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:')
- image_size – 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.)
- alt – a description for the image.
- shortcuts – if the project has a primary shortcut, list it here in the form
[[BTW: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)
- parent – the name of the parent project for this project, without the 'BattleIntelligence:WikiProject' prefix. (e.g., Flowers)
- parent2 / parent3 / parent4 – the name of additional parent projects, without the 'BattleIntelligence:WikiProject' prefix. (e.g., Flowers)
- child – the name of the child project for this project, without the 'BattleIntelligence:WikiProject' prefix. (e.g., Flowers)
- child2 / child3 – the name of additional child projects, without the 'BattleIntelligence: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.
- 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:
- Example #1:
{{User WP Templates}}would be entered as|userbox = User WP Templates
- Example #1:
- If the userbox is located in any other namespace (i.e., 'User:', 'BattleIntelligence:', etc.), enter the full name of the userbox page, including the prefix:
- Example #2:
|userbox = User:Example/Userboxes/WikiProject Tulips memberwould be entered as-is - Example #3:
|userbox2 = BattleIntelligence:Example/UBXwould be entered as-is
- Example #2:
- 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.
- 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:
- helps-organise-children or helps-organize-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.
- type – passes on the optional type parameter of {{WikiProject status}}: not displayed in infobox
- footnotes – any additional free-form notes about the project.
Extra parameters
This template has "extra" parameters to add additional and customizible infobox headers, labels and data.
- headerextra1 – any additional Headers you wish to add to the project's infobox. There are headerextra1 though headerextra6
- labelextra1 and dataextra1 – any additional labels and connected data fields you wish to add to the project's infobox. There are labelextra1/dataextra1 though labelextra6/dataextra6.
Example would be:
{{Infobox WikiProject
...
| headerextra1 = Additional Header
| labelextra1 = Additonal Label
| dataextra1 = Additional Data
}}
See also
- {{WikiProject}}
- {{Project categories}}
- {{Project heading}}
- {{Project information}}
- {{Project page header}}
- {{Infobox WikiProject}}
- {{Scrolling window}}
- {{WikiProject status}}