Template:ComputerModelTemplate: Difference between revisions
Jump to navigation
Jump to search
PascaldeVink (talk | contribs) m (Text replace - "{{PageWidthTableFirstCellTemplate}}" to "<td class="PageWidthTableFirstCell">") |
PascaldeVink (talk | contribs) m (Text replace - "PageWidthTableRemainderCellTemplate" to "<td class="PageWidthTableRemainderCell"> ") |
||
| Line 17: | Line 17: | ||
{{#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}}| | ||
<table class="PageWidthTableTemplate"> | <table class="PageWidthTableTemplate"> | ||
{{#ifeq:{{{Subject|}}}|||<tr><td class="PageWidthTableFirstCell">'''Subject:'''</td>{{ | {{#ifeq:{{{Subject|}}}|||<tr><td class="PageWidthTableFirstCell">'''Subject:'''</td>{{<td class="PageWidthTableRemainderCell"> | ||
}}[[HasSubject::{{{Subject|}}}]]</td></tr> | |||
}} | }} | ||
{{#ifeq:{{{Description|}}}|||<tr><td class="PageWidthTableFirstCell">'''Description:'''</td>{{ | {{#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>{{ | {{#ifeq:{{{FrameworkRelation|}}}|||<tr><td class="PageWidthTableFirstCell">'''Relation with IMAGE framework:'''</td>{{<td class="PageWidthTableRemainderCell"> | ||
}}[[RelationWithIMAGEFramework::{{{FrameworkRelation|}}}]]</td></tr> | |||
}} | }} | ||
{{#ifeq:{{{Component|}}}|||<tr><td class="PageWidthTableFirstCell">'''Implements:'''</td>{{ | {{#ifeq:{{{Component|}}}|||<tr><td class="PageWidthTableFirstCell">'''Implements:'''</td>{{<td class="PageWidthTableRemainderCell"> | ||
}}{{#arraymap:{{{Component|}}}|;|x|[[IsImplementationOf::x]]|; }}</td></tr> | |||
}} | }} | ||
{{#ifeq:{{{Creator|}}}|||<tr><td class="PageWidthTableFirstCell">'''Developed by:'''</td> | {{#ifeq:{{{Creator|}}}|||<tr><td class="PageWidthTableFirstCell">'''Developed by:'''</td> | ||
{{ | {{<td class="PageWidthTableRemainderCell"> | ||
}}[[HasCreator::{{{Creator|}}}]]</td></tr> | |||
}} | }} | ||
{{#ifeq:{{{ExternalURL|}}}|||<tr><td class="PageWidthTableFirstCell">'''External link:'''</td> | {{#ifeq:{{{ExternalURL|}}}|||<tr><td class="PageWidthTableFirstCell">'''External link:'''</td> | ||
{{ | {{<td class="PageWidthTableRemainderCell"> | ||
}}[[HasURL::{{{ExternalURL|}}}]]</td></tr> | |||
}} | }} | ||
{{#ifeq:{{{Reference|}}}|||<tr><td class="PageWidthTableFirstCell">'''References:'''</td> | {{#ifeq:{{{Reference|}}}|||<tr><td class="PageWidthTableFirstCell">'''References:'''</td> | ||
{{ | {{<td class="PageWidthTableRemainderCell"> | ||
}}{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]|; }}</td></tr> | |||
}} | }} | ||
</table> | </table> | ||
Revision as of 14:13, 13 December 2013
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.