Template:Infobox project

From PZwiki
Notebook.pngTemplate Documentation

This template is used to display general information about a community project. It is used on the project page.

Usage

Add {{Infobox project|Leader|Category}} to the top of the project page.

Parameters

title
The title of the project to be displayed at the top of the infobox.
1 or leader
The name of the project leader. If not specified, the infobox will display "Unassigned".
2 or category
The category the project is in. If not specified, the infobox will display "Unassigned".
close
The status of the project. If not specified, the infobox will display "Active". Otherwise, the infobox will display "Finished".
date
The date the project was finished. If not specified, the infobox will display the latest revision date in the format of user preference, otherwise YYYY-MM-DD.
To specify the date, use the format YYYY-MM-DD. Then the date will be formatted automatically.
This parameter is only used when close is specified.
color
Header color. Defaults to var(--color-red) (see: style sheet).
img
The image to display in the infobox. If not specified, no image will be displayed. Add a number at the end to have multiple images (img2).
img_name
The name to be displayed when hovering over the image. Will also be used for the icon (if icon is displayed). Default is the title.
imgsize
The size of the image to display. Defaults to 290px. Image width should not be greater than 290px. Add a number at the end to specify the image (imgsize2).
imgclass
A style class can be defined for the image, such as pixelated for nearest neighbor rendering (removes blur from low resolution images). Add a number at the end to specify the image (imgclass2).
icon
The icon to display for the corresponding img. If not specified, img will be displayed. Add a number at the end to specify the image (icon2).
notes
Notes about the project can be added here.
hidecat
Don't add the project to the category if not empty. Usually this should not be specified.

Example

Basic project

Basic project
Leader
Category
Status
{{Infobox project
|title=Basic project
|Leader <!-- leader username -->
|Category <!-- category project -->
}}

Project with images

Project with images
Project with images
Project with images
Leader
Category
Status
{{Infobox project
|title = Project with images
|img = Image.png
|img2 = CrossingGuardSpiffo.png
|Leader <!-- leader username -->
|Category <!-- category project -->
}}

Finished project

Finished project
Leader
Unassigned
Category
Unassigned
Status
Finish date
2022-08-19
{{Infobox project
|title=Finished project
|Leader <!-- leader username -->
|Category <!-- category project -->
|date=2022-08-19
|close=true
}}

See also

Editors can experiment in this template's sandbox.