Template:DriverPartTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
</noinclude><includeonly>
</noinclude><includeonly>
<!--Display a warning of the status of the page is not publishable-->
<!--Display a warning of the status of the page is not publishable-->
{{StatusWarning|Status={{{Status|}}} }}<div style="float:right; clear:right; ">
{{StatusWarning|Status={{{Status|}}} }}{{InfoBoxSubPageTemplate|Reference={{{Reference|}}} }}
<!--If any of the components present in the Infobox has a value, the infobox is shown.-->
{{#ifexpr:{{InfoboxTestTemplate|basepage={{#titleparts: {{PAGENAME}}|1}}|subpage={{#titleparts: {{PAGENAME}}|1|2}} }}|
{{InfoBoxStyleTemplate}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasApplication|page={{#titleparts: {{PAGENAME}}|1}} }}|
  <tr>{{InfoBoxCellStyleTemplate}}<b>Projects/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>Related 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:34, 15 October 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.