Template:ComponentDescriptionTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{{StatusWarning|Status={{{Status|}}} }}<div style="float:right; clear:right; ">
{{StatusWarning|Status={{{Status|}}} }}{{InfoBoxSubPageTemplate|Reference={{{Reference|}}} }}
{{#ifexpr:{{InfoboxTestTemplate|basepage={{#titleparts: {{PAGENAME}}|1}}|subpage={{#titleparts: {{PAGENAME}}|1|2}} }}|
{{InfoBoxStyleTemplate}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasApplication|page={{#titleparts: {{PAGENAME}}|1}} }}|
<tr>{{InfoBoxCellStyleTemplate}}<b>Applications</b></td></tr>
<tr><td>
{{#ask: [[Category:Application]][[-HasApplication::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
</td></tr>
|}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasIMAGEComponent|page={{#titleparts: {{PAGENAME}}|1}} }}|
<tr>{{InfoBoxCellStyleTemplate}}<b>IMAGE components</b></td></tr>
<tr><td>
{{#ask: [[Category:Component]][[-HasIMAGEComponent::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
</td></tr>
|}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasExternalModel|page={{#titleparts: {{PAGENAME}}|1}}}}|
<tr>{{InfoBoxCellStyleTemplate}}<b>External models</b></td></tr>
<tr><td>
{{#ask: [[Category:External Model]][[-HasExternalModel::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
</td></tr>
|}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasKeyReference|page={{#titleparts: {{PAGENAME}}|1}}}}|
<tr>{{InfoBoxCellStyleTemplate}}<b>Key references</b></td></tr>
<tr><td>
{{#ask: [[Category:Reference]][[-HasKeyReference::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
</td></tr>
|}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasReference|page={{PAGENAME}} }}|
<tr>{{InfoBoxCellStyleTemplate}}<b>References</b></td></tr>
<tr><td> <ul>
{{#arraymap:{{{Reference|}}}|;|x|<li>[[x]]</li>|}}
</ul></td></tr>
|}}
</table>
|}}
</div>
__TOC__
__TOC__



Revision as of 11:17, 15 October 2013

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

{{ComponentSubDescriptionTemplate
|Status=
|Reference=
|Description=
}}

Edit the page to see the template text.