Template:ComputerModelTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
m (Text replace - "ComputerModelType" to "HasSubject")
No edit summary
Line 14: Line 14:
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}}|
{{#ifexpr: {{#if:{{{FrameworkRelation|}}}|1|0}} or {{#if:{{{Component|}}}|1|0}} or {{#if:{{{Creator|}}}|1|0}}|
{{PageWidthTableTemplate}}
{{PageWidthTableTemplate}}
{{#ifeq:{{{Description|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Description:'''</td>{{PageWidthTableRemainderCellTemplate}}[[HasDescription::{{{Description|}}}]]</td></tr>
{{#ifeq:{{{Description|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Description:'''</td>{{PageWidthTableRemainderCellTemplate}}[[HasDescription::{{{Description|}}}]]</td></tr>
}}
}}
{{#ifeq:{{{ModelType|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Model type:'''</td>{{PageWidthTableRemainderCellTemplate}}[[HasSubject::{{{ModelType|}}}]]</td></tr>
{{#ifeq:{{{Subject|}}}|||<tr>{{PageWidthTableFirstCellTemplate}}'''Subject:'''</td>{{PageWidthTableRemainderCellTemplate}}[[HasSubject::{{{Subject|}}}]]</td></tr>
}}
}}
{{#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>
Line 36: Line 36:
|}}
|}}
[[Category:Computer Model]]
[[Category:Computer Model]]
[[HasStatus::{{{Status|}}}|]]
</includeonly>
</includeonly>

Revision as of 08:33, 18 October 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.