Template:Project information/doc

{{Project information | project = <!--- Sets the project name, required ---> | width = <!--- The [[CSS]] width of the object. Defaults to 275p

Template:Project information/doc

Usage

Syntax

{{Project information
| project    = <!--- Sets the project name, required --->
 | width      = <!--- The [[CSS]] width of the object. Defaults to 275px --->
 | task_force = <!--- Set to "yes" if not a project --->
 | portal     = <!--- Parent portal for the project --->
 | portal_img = <!--- Sets the image for the portal link. Defaults to [[File:Portal.svg]] --->
 | portal2     = <!--- Related portal for the project --->
 | portal2_img = <!--- Sets the image for the related portal link. Defaults to [[File:Portal.svg]] --->
 | border     = <!--- Sets the border color on the box --->
 | bgcolor    = <!--- Sets the background color on the box --->
| shortcut   = <!--- Shortcut to project --->
 | shortcut2 =
 | shortcut3 =
| banner     = <!--- Project banner to be used on talk pages --->
| navbox     = <!--- Navigational boxes --->
 | navbox2   = 
 | navbox3   = 
| infobox     = <!--- Info boxes --->
 | infobox2   = 
 | infobox3   = 
| userbox    = <!--- User boxes --->
 | userbox2  =
 | userbox3  =
 | userboxnote = <!--- Free-form comment, such as a link to more boxes or instructions --->
| stub_cat   = <!--- Sets link to the stub category  page. Required if setting out stubs --->
 | stub      = <!--- Project stub templates --->
 | stub2     =
 | stub3     =
| cat        = <!--- project categories --->
 | cat2      =
 | cat3      =
| core       = <!--- Top assessed articles that form the core of the project --->
 | core2     = 
 | core3     = 
| tasks      = <!--- location of tasks sub page --->
| articles   = <!--- List of all articles within the project --->
}}

Add the template to the side panel. The colors of the heading box can be set via hex (#RRGGBB) or by name (Red, etc.). If left undefined, they will default to gray for the border and light blue for the background.

General usage

{{Project information
| project    = Beer
 | portal     = Beer
 | portal_img = Beer mug.svg
 | portal2     = Drink
 | portal2_img = Goblet Glass (Banquet).svg
| shortcut   = WP:BEER
 | shortcut2 = WP:WPB
| banner     = beer
| userbox    = User WikiProject Beer 
 | userbox2  = User:UBX/beer
 | userbox3  = User:UBX/homebrewer
| stub_cat   = Beer and brewery
 | stub      = Beer-stub
| navbox     = Beers of the world
 | navbox2   = Beer Styles
| cat        = Beer
 | cat2      = Breweries
| tasks      = Wikipedia:WikiProject Beer/tasks
| core       = Beer
}}

Will yield this:

Project Information
Portals: Portal:Beer Beer Portal
Portal:Drink Drink Portal
Shortcuts:
Banner:
Page templates:
Userboxes:
Project stubs: {{Beer-stub}}
Categories: Category:Beer
Category:Breweries
Core article: Beer
Open Tasks: Beer tasks

Purge server cache

Colors

Hex -
{{Project information
 |project=Beer
 |border=#CC9000
 |bgcolor=#F3DE94
}}

Will yield this:

Project Information
Named color -
{{Project information
 |project=Beer
 |border=red
 |bgcolor=pink
}}

Will yield this:

Project Information

Width

By percentage -
{{Project information
 |project=Beer
 |width=50%
}}

Will yield this:

Project Information
By pixel width -
{{Project information
 |project=Beer
 |width=350px
}}

Will yield this:

Project Information

See also


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.