Template:DriverPartTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:
<tr><td>
<tr><td>
{{#ask: [[Category:Application]][[-HasApplication::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
{{#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>
</td></tr>
|}}
|}}
Line 26: Line 38:
</td></tr>
</td></tr>
|}}
|}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasReference|page={{PAGENAME}} }}|
{{#ifexpr:{{PropertyTestTemplate|prop=HasReference|page={{PAGENAME}}}}|
<tr>{{InfoBoxCellStyleTemplate}}<b>References</b></td></tr>
<tr>{{InfoBoxCellStyleTemplate}}<b>References</b></td></tr>
<tr><td> <ul>
<tr><td>  
<ul>
{{#arraymap:{{{Reference|}}}|;|x|<li>[[x]]</li>|}}
{{#arraymap:{{{Reference|}}}|;|x|<li>[[x]]</li>|}}
</ul></td></tr>
</ul></td></tr>
|}}
}}
</table>
</table>
|}}
|}}

Revision as of 15:51, 1 August 2013

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

{{DriverSubpageTemplate
|Status=
|Reference=
|Description=
}}

Edit the page to see the template text.