Form header

From Redazione
Jump to navigation Jump to search
Line 23: Line 23:
 
| Teacher = {{#vardefine:default_path| {{#ci_userAffiliatedTo:}}/Teachers/[First name] [Last name] }}  
 
| Teacher = {{#vardefine:default_path| {{#ci_userAffiliatedTo:}}/Teachers/[First name] [Last name] }}  
 
| Meeting = {{#vardefine:default_path| {{#ci_userAffiliatedTo:}}/Meetings/[Title] - [Date] }}
 
| Meeting = {{#vardefine:default_path| {{#ci_userAffiliatedTo:}}/Meetings/[Title] - [Date] }}
| Organization member = {{#vardefine:default_path| {{#ci_userAffiliatedTo:}}/Members/[First name] [Last name] }}
+
| Organization member = {{#vardefine:default_path| {{#ci_userAffiliatedTo:}}/Members/[First name] [Last name] }} }}{{#if: {{{return only path|}}} | {{#var:default_path}} | {{CI notice box |  
}}{{#if: {{{return only path|}}} | {{#var:default_path}} | {{CI notice box |  
 
 
{{#ifeq: {{PAGENAME}} | FormEdit/{{{form}}} |  
 
{{#ifeq: {{PAGENAME}} | FormEdit/{{{form}}} |  
 
The form will be created in the path {{CI text highlight|{{#var:default_path}}}}. If you want to add it to an existing page, use the menu on top.
 
The form will be created in the path {{CI text highlight|{{#var:default_path}}}}. If you want to add it to an existing page, use the menu on top.

Revision as of 21:21, 21 August 2020

This is the "Form header" template. It should be called in the following format:

{{Form header
|form=
|return only path=
}}

Set "return only path" to 1 if you want to retrieve only the form default path (currently used in the Special:ImportData page)

Edit the page to see the template text.