Template:DriverPartTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
m (1 revision imported)
 
(35 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "DriverSubpageTemplate" template.
This is the "DriverPartTemplate" template.
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{DriverSubpageTemplate
{{DriverPartTemplate
|Status=
|Pagelabel=
|Sequence=
|Reference=
|Reference=
|Description=
|Description=
Line 10: Line 11:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>{{ComponentFrameTemplate}}


{{#titleparts: {{PAGENAME}}|1}}
[[Category:DriverPart]]
{{#ask: [[Category:Component]][[-HasIMAGEComponent::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
{{#set:{{{PageLabel}}}
 
|HasReference={{{Reference|}}}|+sep=;
{{StatusWarning|Status={{{Status|}}} }}<div style="float:right; clear:right; ">
|HasPageLabel={{{PageLabel|}}}
{{#ifexpr:{{InfoboxTestTemplate|basepage={{#titleparts: {{PAGENAME}}|1}}|subpage={{#titleparts: {{PAGENAME}}|1|2}} }}|
|BelongsToPage={{#titleparts: {{PAGENAME}}|1}}
{{InfoBoxStyleTemplate}}
|HasSequence={{{Sequence|}}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasApplication|page={{#titleparts: {{PAGENAME}}|1}} }}|
}}</includeonly>
<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__
 
{{{Description|}}}
 
==Driver figures==
{{#ask:[[Category:DriverFigure]][[BelongsToComponent::{{#titleparts: {{BASEPAGENAME}} | 1 }}]]
|mainlabel=-
|?HasPageName=pagina
|?HasCaption=template
|?HasAltTitle=alt
|format=gallery
}}
<br clear=all>
 
[[Category:DriverSubpage]]
[[HasStatus::{{{Status|}}}|]]
</includeonly>

Latest revision as of 09:36, 17 November 2018

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

{{DriverPartTemplate
|Pagelabel=
|Sequence=
|Reference=
|Description=
}}

Edit the page to see the template text.