Basic Principles: Difference between revisions
From SemanticOrganization
(Created page with "=== Connecting Templates, Forms, Categories === * the template sets the corresponding category: *: <code><nowiki>Category:semorg-meeting</nowiki></code> * the category se...") |
|||
Line 10: | Line 10: | ||
=== Customization === | === Customization === | ||
* 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> | ||
* create <code>Category:MyMeeting</code> | *: change <code><nowiki>[[Category:Semorg-meeting]]</nowiki></code> to <code><nowiki>[[Category:MyMeeting]]</nowiki></code> | ||
* copy the contents of <code>Form:Semorg-meeting</code> to <code>Form:MyMeeting</code> | * create <code>Category:MyMeeting</code> | ||
*: set its content to <code><nowiki>{{#default_form:MyMeeting}}</nowiki></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> |
Revision as of 09:08, 1 May 2018
Connecting Templates, Forms, Categories
- the template sets the corresponding category:
[[Category:semorg-meeting]]
- the category sets the form for the pages in the category:
{{#default_form:semorg-meeting}}
- the form defines the templates that should be created/edited with it:
{{{for template|semorg-meeting}}} … {{{end template}}}
Customization
- copy the contents of
Template:Semorg-meeting
toTemplate:MyMeeting
- change
[[Category:Semorg-meeting]]
to[[Category:MyMeeting]]
- change
- create
Category:MyMeeting
- set its content to
{{#default_form:MyMeeting}}
- set its content to
- copy the contents of
Form:Semorg-meeting
toForm:MyMeeting
- change
{{{for template|semorg-meeting}}}
to{{{for template|MyMeeting}}}
- change