Template:DriverPartTemplate: 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>
 
<!--Display a warning of the status of the page is not publishable-->
{{#titleparts: {{PAGENAME}}|1}}
{{#ask: [[Category:Component]][[-HasIMAGEComponent::Drivers]]|format=table}}
 
{{StatusWarning|Status={{{Status|}}} }}<div style="float:right; clear:right; ">
{{StatusWarning|Status={{{Status|}}} }}<div style="float:right; clear:right; ">
<!--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}} }}|
{{#ifexpr:{{InfoboxTestTemplate|basepage={{#titleparts: {{PAGENAME}}|1}}|subpage={{#titleparts: {{PAGENAME}}|1|2}} }}|
{{InfoBoxStyleTemplate}}
{{InfoBoxStyleTemplate}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasApplication|page={{#titleparts: {{PAGENAME}}|1}} }}|
{{#ifexpr:{{PropertyTestTemplate|prop=HasApplication|page={{#titleparts: {{PAGENAME}}|1}} }}|
<tr>{{InfoBoxCellStyleTemplate}}<b>Applications</b></td></tr>
  <tr>{{InfoBoxCellStyleTemplate}}<b>Applications</b></td></tr>
<tr><td>
  <tr><td>
{{#ask: [[Category:Application]][[-HasApplication::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
  {{#ask: [[Category:Application]][[-HasApplication::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
</td></tr>
  </td></tr>
|}}
|}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasIMAGEComponent|page={{#titleparts: {{PAGENAME}}|1}} }}|
{{#ifexpr:{{PropertyTestTemplate|prop=HasIMAGEComponent|page={{#titleparts: {{PAGENAME}}|1}} }}|
<tr>{{InfoBoxCellStyleTemplate}}<b>IMAGE components</b></td></tr>
  <tr>{{InfoBoxCellStyleTemplate}}<b>IMAGE components</b></td></tr>
<tr><td>
  <tr><td>
{{#ask: [[Category:Component]][[-HasIMAGEComponent::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
  {{#ask: [[Category:Component]][[HasIMAGEComponent::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
</td></tr>
  </td></tr>
}}
}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasExternalModel|page={{#titleparts: {{PAGENAME}}|1}}}}|
{{#ifexpr:{{PropertyTestTemplate|prop=HasExternalModel|page={{#titleparts: {{PAGENAME}}|1}}}}|
<tr>{{InfoBoxCellStyleTemplate}}<b>External models</b></td></tr>
  <tr>{{InfoBoxCellStyleTemplate}}<b>External models</b></td></tr>
<tr><td>
  <tr><td>
{{#ask: [[Category:External Model]][[-HasExternalModel::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
  {{#ask: [[Category:External Model]][[-HasExternalModel::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
</td></tr>
  </td></tr>
|}}
|}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasKeyReference|page={{#titleparts: {{PAGENAME}}|1}}}}|
{{#ifexpr:{{PropertyTestTemplate|prop=HasKeyReference|page={{#titleparts: {{PAGENAME}}|1}}}}|
<tr>{{InfoBoxCellStyleTemplate}}<b>Key references</b></td></tr>
  <tr>{{InfoBoxCellStyleTemplate}}<b>Key references</b></td></tr>
<tr><td>
  <tr><td>
{{#ask: [[Category:Reference]][[-HasKeyReference::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
  {{#ask: [[Category:Reference]][[-HasKeyReference::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
</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>  
  <tr><td>  
<ul>
  <ul>
{{#arraymap:{{{Reference|}}}|;|x|<li>[[x]]</li>|}}
  {{#arraymap:{{{Reference|}}}|;|x|<li>[[x]]</li>|}}
</ul></td></tr>
  </ul></td></tr>
}}
}}
</table>
</table>

Revision as of 16:01, 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.