Form header

From Redazione
Jump to navigation Jump to search
Line 8: Line 8:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude>
+
</noinclude><includeonly>
<includeonly>
 
 
{{#var:default_path | }}
 
{{#var:default_path | }}
 
 
{{#switch: {{{form}}}   
 
{{#switch: {{{form}}}   
 
| 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;
<html>
 
<div style="display: block;
 
 
     background: #f5f5f5;
 
     background: #f5f5f5;
 
     padding: 12px;
 
     padding: 12px;
Line 33: Line 29:
 
}}<html>
 
}}<html>
 
</div>
 
</div>
</html>
+
</html></includeonly>
</includeonly>
 

Revision as of 07:30, 21 August 2020

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

{{Form header
|form=
}}

Edit the page to see the template text.