Template:ApplicationTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
m (Reverted edits by PascaldeVink (talk) to last revision by RinekeOostenrijk)
No edit summary
 
(39 intermediate revisions by 3 users not shown)
Line 4: Line 4:
<pre>
<pre>
{{ApplicationTemplate
{{ApplicationTemplate
|Website=
|Website=
|ApplicationType=
|ApplicationType=
|IMAGERoleDescription
|Summary=
|Summary=
|Partners=
|Partners=
Line 15: Line 15:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{PageWidthTableTemplate}}
</noinclude><includeonly><div class="page_standard"><table class="PageWidthTableTemplate">
{{#ifeq:{{{Website|}}}|||
{{#ifeq:{{{Website|}}}|||
<tr>{{PageWidthTableFirstCellTemplate}}'''Website:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Website:'''</td>
{{PageWidthTableRemainderCellTemplate}}{{#arraymap:{{{Website|}}}|;|x|[[HasURL::x]]}}</td></tr>
<td class="PageWidthTableRemainderCell">{{{Website|}}}
}}
</td></tr>}}
{{#ifeq:{{{ApplicationType|}}}|||
{{#ifeq:{{{ApplicationType|}}}|||
<tr>{{PageWidthTableFirstCellTemplate}}'''Application type:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Application type:'''</td>
{{PageWidthTableRemainderCellTemplate}}[[HasApplicationType::{{{ApplicationType|}}}]]</td></tr>
<td class="PageWidthTableRemainderCell">{{{ApplicationType|}}}
}}
</td></tr>}}
{{#ifeq:{{{IMAGERoleDescription|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Role of IMAGE framework:'''</td>
<td class="PageWidthTableRemainderCell">{{{IMAGERoleDescription|}}}
</td></tr>}}
{{#ifeq:{{{Summary|}}}|||
{{#ifeq:{{{Summary|}}}|||
<tr>{{PageWidthTableFirstCellTemplate}}'''Summary:'''</td>
<tr><td class="PageWidthTableFirstCell">'''Summary:'''</td>
{{PageWidthTableRemainderCellTemplate}}[[HasSummary::{{{Summary|}}}]]</td></tr>
<td class="PageWidthTableRemainderCell">{{{Summary|}}}
}}
</td></tr>}}
{{#ifeq:{{{Partners|}}}|||
{{#ifeq:{{{Partners|}}}|||
<tr>{{PageWidthTableFirstCellTemplate}}'''Partner(s):'''</td>
<tr><td class="PageWidthTableFirstCell">'''Partner(s):'''</td>
{{PageWidthTableRemainderCellTemplate}}{{#arraymap:{{{Partners|}}}|;|x|[[HasPartner::x]]}}</td></tr>
<td class="PageWidthTableRemainderCell">{{#show:{{FULLPAGENAME}}|?HasPartner}}
}}
</td></tr>}}
{{#ifeq:{{{KeyReference|}}}|||
{{#ifeq:{{{KeyReference|}}}|||
<tr>{{PageWidthTableFirstCellTemplate}}'''Main publication(s):'''</td>
<tr><td class="PageWidthTableFirstCell">'''Key publication(s):'''</td>
{{PageWidthTableRemainderCellTemplate}}{{#arraymap:{{{KeyReference|}}}|;|x|[[HasKeyReference::x]]}}</td></tr>
<td class="PageWidthTableRemainderCell">{{#show:{{FULLPAGENAME}}|?HasKeyReference}}
}}
</td></tr>}}
{{#ifeq:{{{Reference|}}}|||
{{#ifeq:{{{Reference|}}}|||
<tr>{{PageWidthTableFirstCellTemplate}}'''Reference(s):'''</td>
<tr><td class="PageWidthTableFirstCell">'''Reference(s):'''</td>
{{PageWidthTableRemainderCellTemplate}}{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]}}</td></tr>
<td class="PageWidthTableRemainderCell">{{#show:{{FULLPAGENAME}}|?HasReference}}
}}
</td></tr>}}
<tr><td class="PageWidthTableFirstCell">'''Referred by:'''</td>
<td class="PageWidthTableRemainderCell">{{#ask: [[concept:AllComponentLevels]][[HasApplication::{{FULLPAGENAME}}]]|format=Plainlist}}  
</td></tr>
</table>
</table>
 
</div>
{{#ifeq:{{{Description|}}}|||{{{Description|}}} }}
 
{{#ask: [[HasApplication::{{PAGENAME}}]]
|format=ul
|intro=<h2>Usage</h2>This application is referred by:
}}
 
 
[[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.