Difference between revisions of "Template:Infobox"

From Complex Systems Simulation
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> ===Usage=== The '''Infobox WikiProject''' template may be used to summarize...")
(Replaced content with "{{#invoke:Infobox|infobox}}<noinclude> {{documentation}} <!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> </noinclude>")
Tag: Replaced
Line 1: Line 1:
{{Documentation subpage}}
+
{{#invoke:Infobox|infobox}}<noinclude>
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
  
===Usage===
+
{{documentation}}
The '''Infobox WikiProject''' template may be used to summarize information about a [[Wikipedia:WikiProject|WikiProject]].
+
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
 
+
</noinclude>
====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.''
 
 
 
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
 
{{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        =
 
}}
 
</pre></div>
 
 
 
====General parameters====
 
* '''inactive''' – if set to "y", "yes", or "1", the '[[Template:WikiProject status|Inactive 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.
 
* '''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 <code>!important</code> 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 [[Wikipedia:Shortcut|shortcut]], list it here in the form <code><nowiki>[[WP:</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.
 
* '''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 [[Wikipedia: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)
 
* '''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 <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. (e.g., {{tlx|WikiProject International relations|un&#61;yes}})
 
* '''userbox''' – you may enter up to three project [[Wikipedia:Userboxes|userboxes]], (using '''userbox''', '''userbox2''', and '''userbox3''') and/or an optional '''userboxnote''':
 
** If the userbox is located in the [[Wikipedia: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: [[Template:User WikiProject 24 Member|''Template:''User WikiProject 24 Member]] would be entered as <code>|userbox = User WikiProject 24 Member</code>
 
** If the userbox is located in any other [[Wikipedia: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 #3: <code>|userbox2 = ''Wikipedia:''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.
 
* '''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 <tt>type</tt> parameter of {{tl|WikiProject status}}: not displayed in infobox
 
 
 
===See also===
 
* [[Template:WikiProject]]
 
* [[Template:WikiProject Help]]
 
 
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Infobox templates|WikiProject]]
 
[[Category:WikiProject templates|{{PAGENAME}}]]
 
[[Category:Generic WikiProject templates]]
 
 
 
[[pt:Predefinição:Info/WikiProjeto]]
 
}}</includeonly>
 

Revision as of 11:22, 23 September 2019

Lua error in package.lua at line 80: module 'Module:No globals' not found.