Template:FileMngmnt: Difference between revisions

From Tsadra Foundation Advanced Contemplative Scholarships
(by SublimeText.Mediawiker)
(by SublimeText.Mediawiker)
Line 1: Line 1:
<td class="ellipsis" style="font-size: .8em; vertical-align: middle;">{{#if: {{{file|}}}  
<tr>
| [[{{{fieldtofill|}}}::{{{file|}}}| ]][[Media:{{FileCheck|{{{file|}}}}}|{{{file|}}}]]
<th>[[{{{checkbox|}}}::{{{{{{checkbox|}}}|}}}| ]]{{#switch:{{{{{{checkbox|}}}|}}}
|
|Yes
}}
|true=<span style="color: green;">✓</span>
</td>
|#default=<span style="color: red; font-weight: bold;">X</span>
<td><span class="black-links">{{#if: {{{file|}}}  
}}
| {{#if: {{#show: File:{{FileCheck|{{{file|}}}}} |?filetype}}  
</th>
| {{#formlink:form=Documents
<td>Retreat eligibility requirements and extent to which you satisfy these
|target=File:{{FileCheck|{{{file|}}}}}
</td>
|link text=<i class="fas fa-file-edit fa-fw"></i>
<td class="ellipsis" style="font-size: .8em; vertical-align: middle;">{{#if: {{{file|}}}  
|link type=link
| [[{{{fieldtofill|}}}::{{{file|}}}| ]][[Media:{{FileCheck|{{{file|}}}}}|{{{file|}}}]]
|tooltip=Edit this file's metadata
|
|new window
}}
</td>
<td><span class="black-links">{{#if: {{{file|}}}  
| {{#if: {{#show: File:{{FileCheck|{{{file|}}}}} |?filetype}}  
| {{#formlink:form=Documents
|target=File:{{FileCheck|{{{file|}}}}}
|link text=<i class="fas fa-file-edit fa-fw"></i>
|link type=link
|tooltip=Edit this file's metadata
|new window
}}
| {{#autoedit:form=Documents
|target=File:{{FileCheck|{{{file|}}}}}
|link text=<i class="fas fa-plus fa-fw" style="color: red;"></i>
|link type=link
|summary=Added metadata to file page.
|tooltip=Add metadata to file page
|query string=Filepage[filetype]={{{filetype|}}}&Filepage[firstname]={{{firstname|}}}&Filepage[lastname]={{{lastname|}}}&Filepage[submissionyear]={{{submissionyear|}}}&Filepage[applicant]={{{firstname|}}} {{{lastname|}}}&Filepage[filesubmitted]={{{submissiondate|}}}&Filepage[applicationpage]={{{applicationpage|}}}&Filepage[fieldtofill]={{{fieldtofill|}}}&Filepage[boxtocheck]={{{boxtocheck|}}}
|reload
}}
}}
}}
| {{#autoedit:form=Documents
| {{#ask:[[Category: Application Files]][[fieldtofill::{{{fieldtofill|}}}]][[applicationpage::{{{applicationpage|}}}]]
|target=File:{{FileCheck|{{{file|}}}}}
|?fieldtofill
|link text=<i class="fas fa-plus fa-fw" style="color: red;"></i>
|?boxtocheck
|link type=link
|link=none
|summary=Added metadata to file page.
|format=template
|tooltip=Add metadata to file page
|template=AddFileToApp
|query string=Filepage[filetype]={{{filetype|}}}&Filepage[firstname]={{{firstname|}}}&Filepage[lastname]={{{lastname|}}}&Filepage[submissionyear]={{{submissionyear|}}}&Filepage[applicant]={{{firstname|}}} {{{lastname|}}}&Filepage[filesubmitted]={{{submissiondate|}}}&Filepage[applicationpage]={{{applicationpage|}}}&Filepage[fieldtofill]={{{fieldtofill|}}}&Filepage[boxtocheck]={{{boxtocheck|}}}
|default={{#formlink:form=Documents
|reload
|link text=<i class="fas fa-cloud-upload-alt fa-fw"></i>
|link type=link
|tooltip=Upload this file
|query string=Filepage[filetype]={{{filetype|}}}&Filepage[firstname]={{{firstname|}}}&Filepage[lastname]={{{lastname|}}}&Filepage[submissionyear]={{{submissionyear|}}}&Filepage[applicant]={{{firstname|}}} {{{lastname|}}}&Filepage[filesubmitted]={{{submissiondate|}}}&Filepage[applicationpage]={{{applicationpage|}}}&Filepage[fieldtofill]={{{fieldtofill|}}}&Filepage[boxtocheck]={{{boxtocheck|}}}
|new window
}}
}}
}}
}}
}}</span>
| {{#ask:[[Category: Application Files]][[fieldtofill::{{{fieldtofill|}}}]][[applicationpage::{{{applicationpage|}}}]]
</td>
|?fieldtofill
</tr>
|?boxtocheck
|link=none
|format=template
|template=AddFileToApp
|default={{#formlink:form=Documents
|link text=<i class="fas fa-cloud-upload-alt fa-fw"></i>
|link type=link
|tooltip=Upload this file
|query string=Filepage[filetype]={{{filetype|}}}&Filepage[firstname]={{{firstname|}}}&Filepage[lastname]={{{lastname|}}}&Filepage[submissionyear]={{{submissionyear|}}}&Filepage[applicant]={{{firstname|}}} {{{lastname|}}}&Filepage[filesubmitted]={{{submissiondate|}}}&Filepage[applicationpage]={{{applicationpage|}}}&Filepage[fieldtofill]={{{fieldtofill|}}}&Filepage[boxtocheck]={{{boxtocheck|}}}
|new window
}}
}}
}}</span>
</td>

Revision as of 11:49, 6 August 2018

[[::| ]]X Retreat eligibility requirements and extent to which you satisfy these Some use of "" in your query was not closed by a matching "".