Template:AggregatedComponentTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
__NOEDITSECTION__
{{StatusWarning|Status={{{Status|}}} }}{{#ifexpr:{{InfoboxTestTemplate|basepage={{#titleparts: {{PAGENAME}}|1}}|subpage={{#titleparts: {{PAGENAME}}|1|2}} }}|
<div style="float:right; clear:right; ">
{{InfoBoxStyleTemplate}}
{{#ifeq:{{{IMAGEComponent|}}}|||<tr>{{InfoBoxCellStyleTemplate}}<b>IMAGE components</b></td></tr>
<tr><td>
<ul>
{{#arraymap:{{{IMAGEComponent|}}}|;|x|[[HasIMAGEComponent::x]]}}
</ul>
</td></tr>
}}
{{#ifeq:{{{Application|}}}|||<tr>{{InfoBoxCellStyleTemplate}}<b>Applications</b></td></tr>
<tr><td>
<ul>
{{#arraymaptemplate:{{{Application|}}}|ComponentHasApplicationTemplate|;|x|[[HasApplication::x]]}}
</ul>
</td></tr>
}}
{{#ifeq:{{{ExternalModel|}}}|||<tr>{{InfoBoxCellStyleTemplate}}<b>External models</b></td></tr>
<tr><td>
<ul>
{{#arraymaptemplate:{{{ExternalModel|}}}|ComponentHasExternalModelTemplate|;|y|[[HasExternalModel::y]]}}
</ul>
</td></tr>
}}
{{#ifeq:{{{KeyReference|}}}|||
<tr>{{InfoBoxCellStyleTemplate}}<b>Key references</b></td></tr>
<tr><td>
<ul>
{{#arraymaptemplate:{{{KeyReference|}}}|ComponentHasKeyReferenceTemplate|;|x|[[HasKeyReference::x]]}}
</ul>
</td></tr>
}}
{{#ifeq:{{{Reference|}}}|||<tr>{{InfoBoxCellStyleTemplate}}<b>References</b></td></tr>
<tr><td>
<ul>
{{#arraymaptemplate:{{{Reference|}}}|ComponentHasReferenceTemplate|;|x|[[HasReference::x]]}}
</ul>
</td></tr>
}}
</table>
</div>
|}}
==Description==
==Description==
[[Has description::{{{Description|}}}]]
[[Has description::{{{Description|}}}]]

Revision as of 13:34, 30 July 2013

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

{{MainComponentTemplate
|Description=
}}

Edit the page to see the template text.