Difference between revisions of "Basic Principles"

From SemanticOrganization
Jump to: navigation, search
Line 9: Line 9:
  
 
=== Customization ===
 
=== Customization ===
 +
 +
==== 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 <code><nowiki>{{{for template|semorg-meeting}}}</nowiki></code> to <code><nowiki>{{{for template|MyMeeting}}}</nowiki></code>
+
*: change <code>MediaWiki:Semorg-meeting-form</code> to <code>MyMeeting</code>
 +
 
 +
==== 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 <code><nowiki>[[Category:Semorg-meeting]]</nowiki></code> to <code><nowiki>[[Category:MyMeeting]]</nowiki></code>
+
*: change <code>MediaWiki:Semorg-meeting-template</code> to <code>MyMeeting</code>
 +
 
 +
==== Your custom category ====
 +
 
 
* create <code>Category:MyMeeting</code>
 
* create <code>Category:MyMeeting</code>
*: set its content to <code><nowiki>{{#default_form:MyMeeting}}</nowiki></code>
+
*: change <code>MediaWiki:Semorg-meeting-category</code> to <code>MyMeeting</code>

Revision as of 08:13, 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

Your custom form

  • copy the contents of Form:Semorg-meeting to Form:MyMeeting
    change MediaWiki:Semorg-meeting-form to MyMeeting

Your custom template

  • copy the contents of Template:Semorg-meeting to Template:MyMeeting
    change MediaWiki:Semorg-meeting-template to MyMeeting

Your custom category

  • create Category:MyMeeting
    change MediaWiki:Semorg-meeting-category to MyMeeting