Difference between revisions of "User:Rcdeboer/Maintenance guide"

From COPTR
Jump to navigation Jump to search
(Created page with "The COPTR data is structured in different types of semantic entities (or 'classes'). Each of the classes consists of: * a Category that contains all pages for that class * a T...")
 
Line 35: Line 35:
 
| [[Form:Format]]
 
| [[Form:Format]]
 
|}
 
|}
 +
 +
Adding a new property to a class, requires that you [[Special:CreateProperty|create the property]] and then adapt the class template (so that the property is set) and the form (so that the property value can be filled out). For more information about the form syntax, see the [https://www.mediawiki.org/wiki/Extension:Page_Forms Page Forms documentation].

Revision as of 09:27, 26 May 2021

The COPTR data is structured in different types of semantic entities (or 'classes'). Each of the classes consists of:

  • a Category that contains all pages for that class
  • a Template that sets the semantic properties and displays the information on screen (e.g. in an infobox)
  • a Form that is used to fill out the semantic properties
Class Category Template Form
Tool Category:Tools Template:Infobox tool Form:Tool
Lifecycle Stage Category:Stages Template:Infobox stage Form:Stage
Function Category:Functions Template:Infobox function Form:Function
Content Type Category:Content Types Template:Infobox content Form:Content
File Format Category:Formats Template:Infobox format Form:Format

Adding a new property to a class, requires that you create the property and then adapt the class template (so that the property is set) and the form (so that the property value can be filled out). For more information about the form syntax, see the Page Forms documentation.