Difference between revisions of "Template:Grant Application"
Line 23: | Line 23: | ||
|{{#arraymap:{{{end date|}}}|,|xyz|{{#set: end_date=xyz}}}}{{{end date}}} | |{{#arraymap:{{{end date|}}}|,|xyz|{{#set: end_date=xyz}}}}{{{end date}}} | ||
|}<center><span style="display:inline-block;margin-top:5px;font-size:90%;">{{#arraymap: {{{Mainurl|}}}|,|xyz|[[Mainurl::xyz]]|<br />}}</span>{{#if:{{{budget|}}}|[[Media:{{{budget|}}}|<span style="background:#ffffff;padding:5px;display:block;margin-top:10px;font-size:110%;text-align:center;">'''Download budget'''</span>]]|}}[[{{TALKPAGENAME}}|<span style="background:#ffffff;padding:5px;display:block;margin-top:10px;font-size:110%;text-align:center;">'''Discussion'''</span>]]</center></div> | |}<center><span style="display:inline-block;margin-top:5px;font-size:90%;">{{#arraymap: {{{Mainurl|}}}|,|xyz|[[Mainurl::xyz]]|<br />}}</span>{{#if:{{{budget|}}}|[[Media:{{{budget|}}}|<span style="background:#ffffff;padding:5px;display:block;margin-top:10px;font-size:110%;text-align:center;">'''Download budget'''</span>]]|}}[[{{TALKPAGENAME}}|<span style="background:#ffffff;padding:5px;display:block;margin-top:10px;font-size:110%;text-align:center;">'''Discussion'''</span>]]</center></div> | ||
− | {{#set: Grant description={{{description}}}}}{{{description}}}<br /> | + | {{#if: {{{description|}}}|{{#set: Grant description={{{description|}}}}}{{{description}}}|Add response}}<br /> |
<span style="padding-top:10px;display:inline-block;">[[Property:Grant description|'''<small>(browse responses)</small>''']]</span> | <span style="padding-top:10px;display:inline-block;">[[Property:Grant description|'''<small>(browse responses)</small>''']]</span> | ||
<h4>{{Grant Application Questions|2}}</h4><br /> | <h4>{{Grant Application Questions|2}}</h4><br /> | ||
− | {{#set: Grant output={{{output}}}}}{{{output}}}<br /> | + | {{#if: {{{output|}}}|{{#set: Grant output={{{output|}}}}}{{{output}}}|Add response}}<br /> |
<span style="padding-top:10px;display:inline-block;">[[Property:Grant output|'''<small>(browse responses)</small>''']]</span> | <span style="padding-top:10px;display:inline-block;">[[Property:Grant output|'''<small>(browse responses)</small>''']]</span> | ||
<h4>{{Grant Application Questions|3}}</h4><br /> | <h4>{{Grant Application Questions|3}}</h4><br /> | ||
− | {{#set: Grant community={{{community}}}}}{{{community}}}<br /> | + | {{#if: {{{community|}}}|{{#set: Grant community={{{community}}}}}{{{community}}}|Add response}}<br /> |
<span style="padding-top:10px;display:inline-block;">[[Property:Grant community|'''<small>(browse responses)</small>''']]</span> | <span style="padding-top:10px;display:inline-block;">[[Property:Grant community|'''<small>(browse responses)</small>''']]</span> | ||
<h4>{{Grant Application Questions|4}}</h4><br /> | <h4>{{Grant Application Questions|4}}</h4><br /> | ||
− | {{#set: Grant community relationship={{{community relationship}}}}}{{{community relationship}}}<br /> | + | {{#if: {{{community relationship|}}}|{{#set: Grant community relationship={{{community relationship}}}}}{{{community relationship}}}|Add response}}<br /> |
<span style="padding-top:10px;display:inline-block;"><span style="padding-top:10px;display:inline-block;">[[Property:Grant community relationship|'''<small>(browse responses)</small>''']]</span> | <span style="padding-top:10px;display:inline-block;"><span style="padding-top:10px;display:inline-block;">[[Property:Grant community relationship|'''<small>(browse responses)</small>''']]</span> | ||
<h4>{{Grant Application Questions|5}}</h4><br /> | <h4>{{Grant Application Questions|5}}</h4><br /> | ||
− | {{#set: Grant measurement={{{measurement}}}}}{{{measurement}}}<br /> | + | {{#if: {{{measurement|}}}|{{#set: Grant measurement={{{measurement}}}}}{{{measurement}}}|Add response}}<br /> |
<span style="padding-top:10px;display:inline-block;">[[Property:Grant measurement|'''<small>(browse responses)</small>''']]</span> | <span style="padding-top:10px;display:inline-block;">[[Property:Grant measurement|'''<small>(browse responses)</small>''']]</span> | ||
<h4>{{Grant Application Questions|6}}</h4><br /> | <h4>{{Grant Application Questions|6}}</h4><br /> | ||
− | {{#set: Grant participants={{{participants}}}}}{{{participants}}}<br /> | + | {{#if: {{{participants|}}}|{{#set: Grant participants={{{participants}}}}}{{{participants}}}|Add response}}<br /> |
<span style="padding-top:10px;display:inline-block;">[[Property:Grant participants|'''<small>(browse responses)</small>''']]</span> | <span style="padding-top:10px;display:inline-block;">[[Property:Grant participants|'''<small>(browse responses)</small>''']]</span> | ||
<h4>{{Grant Application Questions|7}}</h4><br /> | <h4>{{Grant Application Questions|7}}</h4><br /> | ||
− | {{#set: Grant impact={{{impact}}}}}{{{impact}}}<br /> | + | {{#if: {{{impact|}}}|{{#set: Grant impact={{{impact}}}}}{{{impact}}}|Add response}}<br /> |
<span style="padding-top:10px;display:inline-block;">[[Property:Grant impact|'''<small>(browse responses)</small>''']]</span> | <span style="padding-top:10px;display:inline-block;">[[Property:Grant impact|'''<small>(browse responses)</small>''']]</span> | ||
<h4>{{Grant Application Questions|8}}</h4><br /> | <h4>{{Grant Application Questions|8}}</h4><br /> | ||
− | {{#set: Grant tech needs={{{tech needs}}}}}{{{tech needs}}}<br /> | + | {{#if: {{{tech needs|}}}|{{#set: Grant tech needs={{{tech needs}}}}}{{{tech needs}}}|Add response}}<br /> |
<span style="padding-top:10px;display:inline-block;">[[Property:Grant tech needs|'''<small>(browse responses)</small>''']]</span> | <span style="padding-top:10px;display:inline-block;">[[Property:Grant tech needs|'''<small>(browse responses)</small>''']]</span> | ||
<h4>{{Grant Application Questions|9}}</h4><br /> | <h4>{{Grant Application Questions|9}}</h4><br /> | ||
− | {{#set: Grant challenges={{{challenges}}}}}{{{challenges}}}<br /> | + | {{#if: {{{challenges|}}}|{{#set: Grant challenges={{{challenges}}}}}{{{challenges}}}|Add response}}<br /> |
<span style="padding-top:10px;display:inline-block;">[[Property:Grant challenges|'''<small>(browse responses)</small>''']]</span> | <span style="padding-top:10px;display:inline-block;">[[Property:Grant challenges|'''<small>(browse responses)</small>''']]</span> | ||
<h4>{{Grant Application Questions|10}}</h4><br /> | <h4>{{Grant Application Questions|10}}</h4><br /> | ||
− | {{#set: Grant sustainability={{{sustainability}}}}}{{{sustainability}}}<br /> | + | {{#if: {{{sustainability|}}}|{{#set: Grant sustainability={{{sustainability}}}}}{{{sustainability}}}|Add response}}<br /> |
<span style="padding-top:10px;display:inline-block;">[[Property:Grant sustainability|'''<small>(browse responses)</small>''']]</span> | <span style="padding-top:10px;display:inline-block;">[[Property:Grant sustainability|'''<small>(browse responses)</small>''']]</span> | ||
<h4>{{Grant Application Questions|11}}</h4><br /> | <h4>{{Grant Application Questions|11}}</h4><br /> | ||
− | {{#set: Grant scalability={{{scalability}}}}}{{{scalability}}}<br /> | + | {{#if: {{{scalability|}}}|{{#set: Grant scalability={{{scalability}}}}}{{{scalability}}}|Add response}}<br /> |
<span style="padding-top:10px;display:inline-block;">[[Property:Grant scalability|'''<small>(browse responses)</small>''']]</span> | <span style="padding-top:10px;display:inline-block;">[[Property:Grant scalability|'''<small>(browse responses)</small>''']]</span> | ||
<h4>{{Grant Application Questions|12}}</h4><br /> | <h4>{{Grant Application Questions|12}}</h4><br /> | ||
− | {{#set: Grant resource needs={{{resource needs}}}}}{{{resource needs}}}<br /> | + | {{#if: {{{resource needs|}}}|{{#set: Grant resource needs={{{resource needs}}}}}{{{resource needs}}}|Add response}}<br /> |
<span style="padding-top:10px;display:inline-block;">[[Property:Grant resource needs|'''<small>(browse responses)</small>''']]</span> | <span style="padding-top:10px;display:inline-block;">[[Property:Grant resource needs|'''<small>(browse responses)</small>''']]</span> | ||
<h4>{{Grant Application Questions|13}}</h4><br /> | <h4>{{Grant Application Questions|13}}</h4><br /> | ||
− | {{#set: Grant communication={{{communication}}}}}{{{communication}}}<br /> | + | {{#if: {{{communication|}}}|{{#set: Grant communication={{{communication}}}}}{{{communication}}}|Add response}}<br /> |
<span style="padding-top:10px;display:inline-block;">[[Property:Grant communication|'''<small>(browse responses)</small>''']]</span> | <span style="padding-top:10px;display:inline-block;">[[Property:Grant communication|'''<small>(browse responses)</small>''']]</span> | ||
<!--<h4>{{Grant Application Questions|14}}</h4><br /> | <!--<h4>{{Grant Application Questions|14}}</h4><br /> |