Template:ComputerModelTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(60 intermediate revisions by 5 users not shown)
Line 4: Line 4:
<pre>
<pre>
{{ComputerModelTemplate
{{ComputerModelTemplate
|ModelType=
|Subject=
|Description=
|FrameworkRelation=
|Component=
|Creator=
|Creator=
|Component=
|FrameworkRelation=
|ExternalURL=
|ExternalURL=
|Description=
|Reference=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{{StatusWarning|Status={{{Status|}}} }}{{#ifexpr: {{#if:{{{FrameworkRelation|}}}|1|0}} or {{#if:{{{Component|}}}|1|0}} or {{#if:{{{Creator|}}}|1|0}}|
<table class="PageWidthTableTemplate">
{{PageWidthTableTemplate}}
{{#ifeq:{{{Subject|}}}|||<tr><td class="PageWidthTableFirstCell">'''Subject:'''</td><td class="PageWidthTableRemainderCell">
{{#ifeq:{{{Description|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Description:'''</td>{{PageWidthTableRemainderCellTemplate}}[[HasDescription::{{{Description|}}}]]</td></tr>
[[HasSubject::{{{Subject|}}}]]</td></tr>
}}
{{#ifeq:{{{Description|}}}|||<tr><td class="PageWidthTableFirstCell">'''Description:'''</td><td class="PageWidthTableRemainderCell">
[[HasDescription::{{{Description|}}}]]</td></tr>
}}
{{#ifeq:{{{FrameworkRelation|}}}|||<tr><td class="PageWidthTableFirstCell">'''Relation with IMAGE framework:'''</td><td class="PageWidthTableRemainderCell">
[[RelationWithIMAGEFramework::{{{FrameworkRelation|}}}]]</td></tr>
}}
}}
{{#ifeq:{{{FrameworkRelation|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Relation with IMAGE framework:'''</td>{{PageWidthTableRemainderCellTemplate}}[[RelationWithIMAGEFramework::{{{FrameworkRelation|}}}]]</td></tr>
{{#ifeq:{{{Component|}}}|||<tr><td class="PageWidthTableFirstCell">'''Implements:'''</td>
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{Component|}}}|;|x|[[IsImplementationOf::x]]|;&nbsp;}}</td></tr>
}}
}}
{{#ifeq:{{{Component|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Implementation of component:'''</td>{{PageWidthTableRemainderCellTemplate}}{{#arraymap:{{{Component|}}}|;|x|[[IsImplementationOf::x|; ]]}}</td></tr>
{{#ifeq:{{{Creator|}}}|||<tr><td class="PageWidthTableFirstCell">'''Developed by:'''</td>
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{Creator|}}}|;|x|[[HasCreator::x]]|;&nbsp;}}</td></tr>
}}
}}
{{#ifeq:{{{Creator|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Developed by:'''</td>
{{#ifeq:{{{ExternalURL|}}}|||<tr><td class="PageWidthTableFirstCell">'''External link:'''</td>
{{PageWidthTableRemainderCellTemplate}}[[HasCreator::{{{Creator|}}}]]</td></tr>
<td class="PageWidthTableRemainderCell">
[[HasURL::{{{ExternalURL|}}}]]</td></tr>
}}
}}
{{#ifeq:{{{ExternalURL|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''External link:'''</td>
{{#ifeq:{{{Reference|}}}|||<tr><td class="PageWidthTableFirstCell">'''References:'''</td>
{{PageWidthTableRemainderCellTemplate}}[[HasURL::{{{ExternalURL|}}}]]</td></tr>
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]|;&nbsp;}}</td></tr>
}}
}}
{{#ifeq:{{{Reference|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Model reference(s):'''</td>
{{#ifeq:{{{ModelVersionOverview|}}}|||<tr><td class="PageWidthTableFirstCell">'''Model version overview:'''</td>
{{PageWidthTableRemainderCellTemplate}}{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x|; ]]}}</td></tr>
<td class="PageWidthTableRemainderCell">
[[HasVersionOverview::{{{ModelVersionOverview|}}}]]</td></tr>
}}
}}
</table>
</table>
|}}
Pages that refer to {{PAGENAME}}:
[[Category:Computer Model]]
{{#ask:[[HasSource::{{PAGENAME}}]]  OR [[concept:AllComponentLevels]][[HasModelDatabase::{{PAGENAME}}]] OR [[concept:AllComponentLevels]][[-IsImplementationOf::{{PAGENAME}}]] }}
[[HasStatus::{{{Status|}}}|]]
 
 
 
[[Category:ComputerModelAndDatabase]]
</includeonly>
</includeonly>

Latest revision as of 12:46, 11 July 2017

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

{{ComputerModelTemplate
|Subject=
|Description=
|FrameworkRelation=
|Component=
|Creator=
|ExternalURL=
|Reference=
}}

Edit the page to see the template text.