Template:OWWProject/doc
This is a documentation subpage for Template:OWWProject (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Template:OWWProject (talk, backlinks, edit)
Purpose
This template should be added to the main page of all OWW Projects documented on this wiki (and only the main page). It will add a useful infobox using the information supplied (see below) and will automatically add the OWW Projects to Category:All OWW Projects.
Usage
Cut and paste: {{OWWProject |name = |type = |status = |requestedby = |startdate = |enddate = |description = }} For help with parameter values, see below. |
|
Content parameters
This section describes parameters that govern infobox content.
name | Project name |
type | Type of project. Specific types to be defined |
status | Current status of the project. Specific status labels to be defined |
requestedby | OWW Member requesting feature or work |
startdate | Start date of the project. |
enddate | Start date of the project. |
description | Short description of the project. |
Using the infobox
Existing OWW Project pages
If you want to add the infobox to an existing page, copy and paste the code at the top of this page.
Create a new OWW Project
If you want to create a new OWW Project, enter the name below and click the button. A new page will be created with the infobox template already in place.
Please replace "MyOWWProject" with the new OWW Project name:
Enhancing this template
If you would like to improve on this template, thanks! This is a complicated template so here is some help along the way:
Fixing documentation
If you would like to fix documentation, please be aware that documentation and code is split into two files:
- Template:OWWProject/doc - stores all documentation.
- Template:OWWProject - stores only the code for the template and a small amount of non-included material (category links, transcluded documentation link).
In addition, Template:OWWProject/Sample stores the boiler plate that is preloaded into newly created pages and contains some basic documentation on how to fill in the template parameters. It needs to be kept in sync with Template:OWWProject/doc.
The "Create OWW Project" button
To improve the "Create OWW Project" behavior:
- Template:OWWProject/Sample: The boilerplate OWW Project that is preloaded into newly-created pages.
- Template:OWWProject/CreateOWWProjectInputBox: An input box that can be inserted wherever you want users to easily create owwprojects. For documentation on the
<inputbox>
tag, please see Extension:InputBox. - OWWProject:MyOWWProject: - Defines a placeholder, in case a user accidentally hits the create button without changing the owwproject name.
Infobox parameters
In general:
- To make this template easy to use, each label in the infobox is linked to documentation on the template parameter(s) it displays. If you add a parameter, please be sure to also add it to the content parameter documentation and link its label to that documentation.
Test case
See if the following pages are still ok, after edited this template.