Customization
From SemanticOrganization
Using your own template
- Create a new page in the template namespace. You best start by copying the content of the template you want to replace.
- Change
MediaWiki:Semorg-templatename-templateto the name of the newly created template.
Adding new fields
- Create your new property using the following naming convention:
semorg-templatename-propertyname(you can use Special:CreateProperty to do so). - To add the property to your form add
propertynametoMediaWiki:Semorg-form-template-rows - The appearance of the field in the form can be influenced by the following messages:
MediaWiki:Semorg-field-templatename-propertyname-namefor the form field's labelMediaWiki:Semorg-field-templatename-propertyname-parameters, if you want to add parameters to the{{{field}}}definitionMediaWiki:Semorg-field-templatename-propertyname-help, if you want to show a help message,
- Create your own template, add the field to the
{{#semorg-set}}call.
Change the appearance of lists
To change the defaults:
- Change
MediaWiki:Semorg-list-templatename-headers - Change
MediaWiki:Semorg-list-templatename-row-template
Customized call of error: no fields for list defined…
- use parameter
category - use parameter
query - use parameter
row template - use parameter
sort - use parameter
order - use parameter
default - use parameter
limit - use parameter
headers - use
?property=nameto add custom query fields