Template:ApplicationTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 15: Line 15:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly><table class="PageWidthTableTemplate">
</noinclude><includeonly><div class="page_standard"><table class="PageWidthTableTemplate">
{{#ifeq:{{{Website|}}}|||
{{#ifeq:{{{Website|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Website:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Website:'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">{{{Website|}}}
{{#arraymap:{{{Website|}}}|;|x|[[HasURL::x]]|;&nbsp; }}</td></tr>}}
</td></tr>}}
{{#ifeq:{{{ApplicationType|}}}|||
{{#ifeq:{{{ApplicationType|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Application type:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Application type:'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">{{{ApplicationType|}}}
[[HasApplicationType::{{{ApplicationType|}}}]]</td></tr>
</td></tr>}}
}}
{{#ifeq:{{{IMAGERoleDescription|}}}|||
{{#ifeq:{{{IMAGERoleDescription|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Role of IMAGE framework:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Role of IMAGE framework:'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">{{{IMAGERoleDescription|}}}
[[HasIMAGERoleDescription::{{{IMAGERoleDescription|}}}]]</td></tr>
</td></tr>}}
}}
{{#ifeq:{{{Summary|}}}|||
{{#ifeq:{{{Summary|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Summary:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Summary:'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">{{{Summary|}}}
[[HasSummary::{{{Summary|}}}]]</td></tr>
</td></tr>}}
}}
{{#ifeq:{{{Partners|}}}|||
{{#ifeq:{{{Partners|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Partner(s):'''</td>
<tr><td class="PageWidthTableFirstCell">'''Partner(s):'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">{{#show:{{FULLPAGENAME}}|?HasPartner}}
{{#arraymap:{{{Partners|}}}|;|x|[[HasPartner::x]]|;&nbsp;}}</td></tr>
</td></tr>}}
}}
{{#ifeq:{{{KeyReference|}}}|||
{{#ifeq:{{{KeyReference|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Key publication(s):'''</td>
<tr><td class="PageWidthTableFirstCell">'''Key publication(s):'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">{{#show:{{FULLPAGENAME}}|?HasKeyReference}}
{{#arraymap:{{{KeyReference|}}}|;|x|[[HasKeyReference::x]]}}</td></tr>
</td></tr>}}
}}
{{#ifeq:{{{Reference|}}}|||
{{#ifeq:{{{Reference|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Reference(s):'''</td>
<tr><td class="PageWidthTableFirstCell">'''Reference(s):'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">{{#show:{{FULLPAGENAME}}|?HasReference}}
{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]|;&nbsp;}}</td></tr>
</td></tr>}}
}}
<tr><td class="PageWidthTableFirstCell">'''Referred by:'''</td>
<td class="PageWidthTableRemainderCell">{{#ask: [[concept:AllComponentLevels]][[HasApplication::{{FULLPAGENAME}}]]|format=Plainlist}}  
</td></tr>
</table>
</table>
<div class="page_standard">{{#ifeq:{{{Description|}}}|||{{{Description|}}} }}</div>
</div>
{{#ifeq:{{PropertyTestTemplate|prop=HasApplication|page={{PAGENAME}}|reverse=1}}|0||
<h2>Usage</h2>
This application is referred by:
{{#ask: [[HasApplication::{{PAGENAME}}]]
|format=ul
}} }}
[[Category:Application]]
[[Category:Application]]
</includeonly>
{{#set:
|HasURL={{{Website|}}}|+sep=;
|HasApplicationType={{{ApplicationType|}}}
|HasIMAGERoleDescription={{{IMAGERoleDescription|}}}
|HasSummary={{{Summary|}}}
|HasPartner={{{Partners|}}}|+sep=;
|HasKeyReference={{{KeyReference|}}}|+sep=;
|HasReference={{{Reference|}}}
}}</includeonly>

Latest revision as of 17:00, 24 March 2020

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

{{ApplicationTemplate
|Website=
|ApplicationType=
|IMAGERoleDescription
|Summary=
|Partners=
|KeyReference=
|Reference=
|Description=
}}

Edit the page to see the template text.