Template:ApplicationTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
m (Text replace - "{{PageWidthTableFirstCellTemplate}}" to "<td class="PageWidthTableFirstCell">")
No edit summary
 
(34 intermediate revisions by 2 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><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]]}}</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|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Role of IMAGE framework:'''</td>
<td class="PageWidthTableRemainderCell">{{{IMAGERoleDescription|}}}
</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]]}}</td></tr>
</td></tr>}}
}}
{{#ifeq:{{{KeyReference|}}}|||
{{#ifeq:{{{KeyReference|}}}|||
<tr><td class="PageWidthTableFirstCell">'''Main 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]]}}</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>
{{#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.