Form header

From Redazione
Jump to navigation Jump to search
Line 5: Line 5:
 
{{Form header
 
{{Form header
 
|form=
 
|form=
 +
|return_only_path=
 
}}
 
}}
 
</pre>
 
</pre>
Line 12: Line 13:
 
| 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] }}  
}}<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;
Line 27: Line 28:
 
</div>
 
</div>
 
</html>
 
</html>
</includeonly>
+
}}</includeonly>

Revision as of 08:04, 21 August 2020

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

{{Form header
|form=
|return_only_path=
}}

Edit the page to see the template text.