Template:DriverPartTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
(37 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 11: Line 13:
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; ">
<div class="top_container">{{IconTemplate|{{#titleparts: {{PAGENAME}}|1}} }}
 
{{ContentPartsTemplate|PagePartHeader=Parts of {{#titleparts: {{PAGENAME}}|1}} }}__TOC____NOEDITSECTION__
HasApplication ({{#titleparts: {{PAGENAME}}|1}}): {{PropertyTestTemplate|prop=HasApplication|page={{#titleparts: {{PAGENAME}}|1}} }}<br/>
</div><div class="container">{{InfoBoxTemplate}}
HasKeyRef: {{PropertyTestTemplate|prop=HasKeyReference|page={{#titleparts: {{PAGENAME}}|1}} }}<br/>
{{DisplayFlowchartTemplate|{{#titleparts: {{PAGENAME}}|1}} }}<div class="page_standard">{{{Description|}}}
HasRef: {{PropertyTestTemplate|prop=HasReference|page={{PAGENAME}} }} <br/><br/>
</div></div>
 
{{#ifeq:{{{Table|}}}|||{{{Table|}}} }}
 
{{ContentPartsTemplate|PagePartHeader=Parts of {{#titleparts: {{PAGENAME}}|1}} }}
 
[[Category:DriverPart]]
{{#ifexpr:{{InfoboxTestTemplate|basepage={{#titleparts: {{PAGENAME}}|1}}|subpage={{#titleparts: {{PAGENAME}}|1|2}} }}|
{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x| ]]|}}
{{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=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]]
[[HasPageLabel::{{{PageLabel}}}| ]]
[[HasStatus::{{{Status|}}}|]]
[[BelongsToPage::{{#titleparts: {{PAGENAME}}|1}}| ]]
[[HasSequence::{{{Sequence|}}}| ]]
</includeonly>
</includeonly>

Revision as of 16:22, 14 July 2017

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.