Form header

From Redazione
Jump to navigation Jump to search
Line 17: Line 17:
 
}}{{#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 inline highlight|{{#var:default_path}}}}. If you want to create it in 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 create it in an existing page, use the menu on top.
  | The form will be created in the current page ({{CI inline highlight|{{#titleparts: {{PAGENAME}} |  | 3 }}}}). If you want to create the form in a new page, [[Special:FormEdit/{{{form}}}|go here]].
+
  | The form will be created in the current page ({{CI text highlight|{{#titleparts: {{PAGENAME}} |  | 3 }}}}). If you want to create the form in a new page, [[Special:FormEdit/{{{form}}}|go here]].
 
}} }} }}
 
}} }} }}
 
</includeonly>
 
</includeonly>

Revision as of 11:14, 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.