Template:FileMngmnt: Difference between revisions

From Tsadra Foundation Advanced Contemplative Scholarships
(by SublimeText.Mediawiker)
(by SublimeText.Mediawiker)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<tr>{{#switch:{{{field|}}}
<tr {{{extrarowparam|}}}>{{#switch:{{{field|}}}
|FileHaveAcceptLetter=
|FileHaveAcceptLetter=
|FileHaveRetreatBudgCost=
|FileHaveRetreatBudgCost=
Line 16: Line 16:
<th>{{{label|}}}
<th>{{{label|}}}
</th>
</th>
<td class="ellipsis" style="font-size: .8em; vertical-align: middle; {{#ifeq: {{{label|}}} | File: | max-width: 360px;}}">{{#if: {{{fieldvalue|}}}  
<td class="ellipsis" style="font-size: .8em; vertical-align: middle; {{#ifeq: {{{label|}}} | File: | max-width: 300px;}}">{{#if: {{{fieldvalue|}}}  
| [[{{{field|}}}::{{{fieldvalue|}}}| ]][[Media:{{FileCheck|{{{fieldvalue|}}}}}|{{{fieldvalue|}}}]]
| [[{{{field|}}}::{{{fieldvalue|}}}| ]][[Media:{{FileCheck|{{{fieldvalue|}}}}}|{{{fieldvalue|}}}]]
| {{#if: {{#ask:[[Category: Application Files]][[fieldtofill::{{{field|}}}]][[applicationpage::{{{applicationpage|}}}]] OR [[Category: Application Files]] [[Category:{{PAGENAME}}]] [[filetype::{{{filetype|}}}]]}}
| {{#ask:[[Category: Application Files]][[fieldtofill::{{{field|}}}]][[applicationpage::{{{applicationpage|}}}]]
| {{#ask:[[Category: Application Files]][[fieldtofill::{{{field|}}}]][[applicationpage::{{{applicationpage|}}}]] OR [[Category: Application Files]] [[Category:{{PAGENAME}}]] [[filetype::{{{filetype|}}}]]
|?fieldtofill
|?fieldtofill
|link=none
|link=none
|limit=1
|limit=1
|format=template
|format=template
|template=FileMgmtDisplay
|template=FileMgmtDisplay
}}
}}
|
}}
}}
}}
</td>
</td>
Line 46: Line 43:
|tooltip=Add 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]={{{field|}}}&Filepage[boxtocheck]={{{checkbox|}}}
|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]={{{field|}}}&Filepage[boxtocheck]={{{checkbox|}}}
|reload
}}
}}
}}
}}
| {{#ask:[[Category: Application Files]][[fieldtofill::{{{field|}}}]][[applicationpage::{{{applicationpage|}}}]] OR [[Category: Application Files]] [[Category:{{PAGENAME}}]] [[filetype::{{{filetype|}}}]]
| {{#ask:[[Category: Application Files]][[fieldtofill::{{{field|}}}]][[applicationpage::{{{applicationpage|}}}]]
|?fieldtofill
|?fieldtofill
|?boxtocheck
|?boxtocheck
Line 56: Line 52:
|template=EditFileLink
|template=EditFileLink
|default={{#formlink:form=Documents
|default={{#formlink:form=Documents
|link text=<i class="fas fa-cloud-upload-alt fa-fw"></i>
|link text=<i class="fas fa-cloud-upload-alt fa-fw"></i> Upload File
|link type=link
|link type=link
|tooltip=Upload this file
|tooltip=Upload this file

Latest revision as of 12:32, 6 February 2023