Template:ComputerModelTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
{{#ifeq:{{{FrameworkRelation|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Relation with IMAGE framework:'''</td>{{PageWidthTableRemainderCellTemplate}}[[RelationWithIMAGEFramework::{{{FrameworkRelation|}}}]]</td></tr>
{{#ifeq:{{{FrameworkRelation|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Relation with IMAGE framework:'''</td>{{PageWidthTableRemainderCellTemplate}}[[RelationWithIMAGEFramework::{{{FrameworkRelation|}}}]]</td></tr>
}}
}}
{{#ifeq:{{{Component|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Implementation of component:'''</td>{{PageWidthTableRemainderCellTemplate}}{{#arraymap:{{{Component|}}}|,|x|[[IsImplementedIn::x]]}}</td></tr>
{{#ifeq:{{{Component|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Implementation of component:'''</td>{{PageWidthTableRemainderCellTemplate}}{{#arraymap:{{{Component|}}}|;|x|[[IsImplementedIn::x]]}}</td></tr>
}}
}}
{{#ifeq:{{{Creator|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Developed by:'''</td>
{{#ifeq:{{{Creator|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Developed by:'''</td>
Line 27: Line 27:
{{#ifeq:{{{ExternalURL|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''External link:'''</td>
{{#ifeq:{{{ExternalURL|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''External link:'''</td>
{{PageWidthTableRemainderCellTemplate}}[[HasURL::{{{ExternalURL|}}}]]</td></tr>
{{PageWidthTableRemainderCellTemplate}}[[HasURL::{{{ExternalURL|}}}]]</td></tr>
}}
{{#ifeq:{{{Reference|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Model reference(s):'''</td>
{{PageWidthTableRemainderCellTemplate}}{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]}}</td></tr>
}}
}}
</table>
</table>

Revision as of 15:43, 8 August 2013

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

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

Edit the page to see the template text.