Form header

From Redazione
Jump to navigation Jump to search
Line 13: Line 13:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{{#var:default_path | }}{{#switch: {{{form}}}   
 
{{#var:default_path | }}{{#switch: {{{form}}}   
 +
| Organization = {{#vardefine:default_path| [Organization name] }}
 +
| Opportunity = {{#vardefine:default_path| Opportunities/[Provider] - [Title] }}
 +
| Reading suggestion = {{#vardefine:default_path| Reading suggestions/[Book author] - [Book title] }}
 +
| Digital library = {{#vardefine:default_path| Digital libraries/[Name] }}
 +
| Article = {{#vardefine:default_path|{{#ci_userAffiliatedTo:}}/Articles/[Authors] - [Title] }}
 +
| Post = {{#vardefine:default_path|{{#ci_userAffiliatedTo:}}/Posts/[Month literal] - [Title] }}
 +
 
| 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] }}  

Revision as of 20:50, 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.