Basic Principles: Difference between revisions
From SemanticOrganization
No edit summary |
|||
Line 9: | Line 9: | ||
=== Customization === | === Customization === | ||
Use system messages to alter the appearance of forms and templates, e.g. | |||
* change [[MediaWiki:Semorg-form-meeting-rows]] to change the fields to be displayed in the editing form for Meetings | |||
* change | |||
==== Your custom form ==== | ==== Your custom form ==== | ||
* copy the contents of <code>Form:Semorg-meeting</code> to <code>Form:MyMeeting</code> | * copy the contents of <code>Form:Semorg-meeting</code> to <code>Form:MyMeeting</code> | ||
*: change | *: change [[MediaWiki:Semorg-meeting-form]] to <code>MyMeeting</code> | ||
==== Your custom template ==== | ==== Your custom template ==== | ||
* copy the contents of <code>Template:Semorg-meeting</code> to <code>Template:MyMeeting</code> | * copy the contents of <code>Template:Semorg-meeting</code> to <code>Template:MyMeeting</code> | ||
*: change | *: change [[MediaWiki:Semorg-meeting-template]] to <code>MyMeeting</code> | ||
==== Your custom category ==== | ==== Your custom category ==== | ||
* create <code>Category:MyMeeting</code> | * create <code>Category:MyMeeting</code> | ||
*: change | *: change [[MediaWiki:Semorg-meeting-category]] to <code>MyMeeting</code> |
Revision as of 08:16, 10 August 2018
Connecting Templates, Forms, Categories
- the form defines the templates that should be created/edited with it:
{{{for template|semorg-meeting}}} … {{{end template}}}
- the template sets the corresponding category:
[[Category:semorg-meeting]]
- the category sets the form for the pages in the category:
{{#default_form:semorg-meeting}}
Customization
Use system messages to alter the appearance of forms and templates, e.g.
- change MediaWiki:Semorg-form-meeting-rows to change the fields to be displayed in the editing form for Meetings
- change
Your custom form
- copy the contents of
Form:Semorg-meeting
toForm:MyMeeting
- change MediaWiki:Semorg-meeting-form to
MyMeeting
- change MediaWiki:Semorg-meeting-form to
Your custom template
- copy the contents of
Template:Semorg-meeting
toTemplate:MyMeeting
- change MediaWiki:Semorg-meeting-template to
MyMeeting
- change MediaWiki:Semorg-meeting-template to
Your custom category
- create
Category:MyMeeting
- change MediaWiki:Semorg-meeting-category to
MyMeeting
- change MediaWiki:Semorg-meeting-category to