Template:ComputerModelTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
m (Reverted edits by PascaldeVink (talk) to last revision by LiselotteHeukelom)
No edit summary
 
(47 intermediate revisions by 5 users not shown)
Line 15: Line 15:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{{#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:{{{Subject|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Subject:'''</td>{{PageWidthTableRemainderCellTemplate}}[[HasSubject::{{{Subject|}}}]]</td></tr>
[[HasSubject::{{{Subject|}}}]]</td></tr>
}}
}}
{{#ifeq:{{{Description|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Description:'''</td>{{PageWidthTableRemainderCellTemplate}}[[HasDescription::{{{Description|}}}]]</td></tr>
{{#ifeq:{{{Description|}}}|||<tr><td class="PageWidthTableFirstCell">'''Description:'''</td><td class="PageWidthTableRemainderCell">
[[HasDescription::{{{Description|}}}]]</td></tr>
}}
}}
{{#ifeq:{{{FrameworkRelation|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Relation with IMAGE framework:'''</td>{{PageWidthTableRemainderCellTemplate}}[[RelationWithIMAGEFramework::{{{FrameworkRelation|}}}]]</td></tr>
{{#ifeq:{{{FrameworkRelation|}}}|||<tr><td class="PageWidthTableFirstCell">'''Relation with IMAGE framework:'''</td><td class="PageWidthTableRemainderCell">
[[RelationWithIMAGEFramework::{{{FrameworkRelation|}}}]]</td></tr>
}}
}}
{{#ifeq:{{{Component|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Implements:'''</td>{{PageWidthTableRemainderCellTemplate}}{{#arraymap:{{{Component|}}}|;|x|[[IsImplementationOf::x]]|; }}</td></tr>
{{#ifeq:{{{Component|}}}|||<tr><td class="PageWidthTableFirstCell">'''Implements:'''</td>
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{Component|}}}|;|x|[[IsImplementationOf::x]]|;&nbsp;}}</td></tr>
}}
}}
{{#ifeq:{{{Creator|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Developed by:'''</td>
{{#ifeq:{{{Creator|}}}|||<tr><td class="PageWidthTableFirstCell">'''Developed by:'''</td>
{{PageWidthTableRemainderCellTemplate}}[[HasCreator::{{{Creator|}}}]]</td></tr>
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{Creator|}}}|;|x|[[HasCreator::x]]|;&nbsp;}}</td></tr>
}}
}}
{{#ifeq:{{{ExternalURL|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''External link:'''</td>
{{#ifeq:{{{ExternalURL|}}}|||<tr><td class="PageWidthTableFirstCell">'''External link:'''</td>
{{PageWidthTableRemainderCellTemplate}}[[HasURL::{{{ExternalURL|}}}]]</td></tr>
<td class="PageWidthTableRemainderCell">
[[HasURL::{{{ExternalURL|}}}]]</td></tr>
}}
}}
{{#ifeq:{{{Reference|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''References:'''</td>
{{#ifeq:{{{Reference|}}}|||<tr><td class="PageWidthTableFirstCell">'''References:'''</td>
{{PageWidthTableRemainderCellTemplate}}{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]|; }}</td></tr>
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]|;&nbsp;}}</td></tr>
}}
{{#ifeq:{{{ModelVersionOverview|}}}|||<tr><td class="PageWidthTableFirstCell">'''Model version overview:'''</td>
<td class="PageWidthTableRemainderCell">
[[HasVersionOverview::{{{ModelVersionOverview|}}}]]</td></tr>
}}
}}
</table>
</table>
|}}
Pages that refer to {{PAGENAME}}:
{{#ask:[[HasSource::{{PAGENAME}}]]  OR [[concept:AllComponentLevels]][[HasModelDatabase::{{PAGENAME}}]] OR [[concept:AllComponentLevels]][[-IsImplementationOf::{{PAGENAME}}]] }}
 
 
 
[[Category:ComputerModelAndDatabase]]
[[Category:ComputerModelAndDatabase]]
</includeonly>
</includeonly>

Latest revision as of 13: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.