Difference between revisions of "Help:Item properties for developpers"

From CanonBase
Line 25: Line 25:
  
 
@ Jan To be discussed, not sure what it does? Is it still active?
 
@ Jan To be discussed, not sure what it does? Is it still active?
 
==== [[Property:P121|Item visible (P121)]] ====
 
 
@ Jan To be discussed, not sure what it does / if it works? Is it still active?
 
  
 
==== [[Property:P118|Part of value list (P118)]] ====
 
==== [[Property:P118|Part of value list (P118)]] ====

Revision as of 10:34, 9 August 2023

Help index


The information below shows information for developers and is not meant for users or content providers. It describes the way properties are defined, information for lay-out or maintenance is provided, and information about imports are kept.

Item propertie are properties that are part of an item, but not visible for users. You can recognise them on a red frame around the property.They support developers or content maintainers to define lay-out, to improve functionality or to keep track of what needs to be done.

In the property page, they should have a:

  • [Property visible] = “Logged in” statement (this makes them invisible for users).
  • [Property order] in the range of 9000 - 9099 (this puts them at the end of the page).

Used properties

Status (P92)

  • Used to notify the maintainers there is issues or things to do
  • Possible values are in status value list Q607
  • You can add details in a Qualifier Note about the status
    • Used to make notes for yourself or for other contributors
    • Notes are invisible for the public

Level (P163)

  • Used to define a specific lay-out

It works together with the code, basically it sets up what kind of inverse function is to be used for the property. Please, do not touch.

View (P120)

@ Jan To be discussed, not sure what it does? Is it still active?

Part of value list (P118)

  • indicates this item is an expected value for a property.
  • the items are listed under the item where this field refers to
  • multiple values possible

Related property (P235)

  • indicates this item is an value list for a property. (this ensures that the property gets the right information)
  • (Use also Property expected value list (P119) on the property side.)

Note (P44)

  • is used as qualifier or property to add (internal) notes about missing parts, things to do, etc.

Available item to be used (P14)

  • Shows that an item can be reused
  • Fill your initials or reference

Wikidata