Form header

From Redazione
Jump to navigation Jump to search
Line 15: Line 15:
 
| 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] [Last name] }}  
 
| Meeting = {{#vardefine:default_path| {{#ci_userAffiliatedTo:}}/Meetings/[Title] - [Date] [Last name] }}  
}}{{#if: {{{return_only_path|}}} | {{#var:default_path}} | <html><div style="display: block;
+
}}{{#if: {{{return only path|}}} | {{#var:default_path}} | <html><div style="display: block;
 
     background: #f5f5f5;
 
     background: #f5f5f5;
 
     padding: 12px;
 
     padding: 12px;

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