Template:ComputerModelTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(42 intermediate revisions by 4 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">
<table class="PageWidthTableTemplate">
{{#ifeq:{{{Subject|}}}|||<tr><td class="PageWidthTableFirstCell">'''Subject:'''</td><td class="PageWidthTableRemainderCell">
{{#ifeq:{{{Subject|}}}|||<tr><td class="PageWidthTableFirstCell">'''Subject:'''</td><td class="PageWidthTableRemainderCell">
Line 26: Line 25:
[[RelationWithIMAGEFramework::{{{FrameworkRelation|}}}]]</td></tr>
[[RelationWithIMAGEFramework::{{{FrameworkRelation|}}}]]</td></tr>
}}
}}
{{#ifeq:{{{Component|}}}|||<tr><td class="PageWidthTableFirstCell">'''Implements:'''</td><td class="PageWidthTableRemainderCell">
{{#ifeq:{{{Component|}}}|||<tr><td class="PageWidthTableFirstCell">'''Implements:'''</td>
{{#arraymap:{{{Component|}}}|;|x|[[IsImplementationOf::x]]|; }}</td></tr>
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{Component|}}}|;|x|[[IsImplementationOf::x]]|;&nbsp;}}</td></tr>
}}
}}
{{#ifeq:{{{Creator|}}}|||<tr><td class="PageWidthTableFirstCell">'''Developed by:'''</td>
{{#ifeq:{{{Creator|}}}|||<tr><td class="PageWidthTableFirstCell">'''Developed by:'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{Creator|}}}|;|x|[[HasCreator::x]]|; }}</td></tr>
{{#arraymap:{{{Creator|}}}|;|x|[[HasCreator::x]]|;&nbsp;}}</td></tr>
<!--[[HasCreator::{{{Creator|}}}]]</td></tr> -->
}}
}}
{{#ifeq:{{{ExternalURL|}}}|||<tr><td class="PageWidthTableFirstCell">'''External link:'''</td>
{{#ifeq:{{{ExternalURL|}}}|||<tr><td class="PageWidthTableFirstCell">'''External link:'''</td>
Line 40: Line 39:
{{#ifeq:{{{Reference|}}}|||<tr><td class="PageWidthTableFirstCell">'''References:'''</td>
{{#ifeq:{{{Reference|}}}|||<tr><td class="PageWidthTableFirstCell">'''References:'''</td>
<td class="PageWidthTableRemainderCell">
<td class="PageWidthTableRemainderCell">
{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]|; }}</td></tr>
{{#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.