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