Template:ComputerModelTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{{#ifeq:{{{ModelType|}}}||{{#ifeq:{{{FrameworkRelation|}}}|||The {{PAGENAME}} belongs to the [[RelationWithIMAGEFramework::{{{FrameworkRelation|}}}]]s}}<br>|The {{PAGENAME}} is the [[ComputerModelType::{{{ModelType|}}}]] of the IMAGE framework {{#ifeq:{{{FrameworkRelation|}}}|||and belongs to the [[RelationWithIMAGEFramework::{{{FrameworkRelation|}}}]]s}}.
<div style="float:right; clear:right; ">
<br>}}
{{#ifexpr: {{#if:{{{FrameworkRelation|}}}|1|0}} or {{#if:{{{Component|}}}|1|0}} or {{#if:{{{Creator|}}}|1|0}}|
{{#ifeq:{{{Component|}}}|||Components that are implemented in the FAIR computer model are: {{#arraymap:{{{Component|}}}|,|x|[[IsImplementedIn::x]]}}.<br>}}
{{InfoBoxStyleTemplate}}
{{#ifeq:{{{Creator|}}}|||The {{PAGENAME}} is developed by [[HasCreator::{{{Creator|}}}]].
{{#ifeq:{{{FrameworkRelation|}}}|||<tr>{{InfoBoxCellStyleTemplate}}'''Relation with IMAGE framework'''</tr>
<br>}}
<tr>[[RelationWithIMAGEFramework::{{{FrameworkRelation|}}}]]</tr>
}}
{{#ifeq:{{{Component|}}}|||<tr>{{InfoBoxCellStyleTemplate}}'''Implementation of component'''</tr>
<tr>{{#arraymap:{{{Component|}}}|,|x|[[IsImplementedIn::x]]}}</tr>
}}
{{#ifeq:{{{Creator|}}}|||<tr>{{InfoBoxCellStyleTemplate}}'''Developed by'''</tr>
<tr>[[HasCreator::{{{Creator|}}}]]</tr>
</table>
</div>|}}
{{{Description|}}}
{{{Description|}}}
[[Category:Computer Model]]
[[Category:Computer Model]]
</includeonly>
</includeonly>

Revision as of 09:32, 4 June 2013

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

{{ComputerModelTemplate
|ModelType=
|Creator=
|Component=
|FrameworkRelation=
|Description=
}}

Edit the page to see the template text.