Template:DriverPartTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
m (1 revision imported)
 
(41 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}}
{{StatusWarning|Status={{{Status|}}} }}<div style="float:right; clear:right; ">


{{InfoboxTestTemplate|basepage={{#titleparts: {{PAGENAME}}|1}}|subpage={{#titleparts: {{PAGENAME}}|1|2}} }}
[[Category:DriverPart]]
 
{{#set:{{{PageLabel}}}
{{#ifexpr:{{InfoboxTestTemplate|basepage={{#titleparts: {{PAGENAME}}|1}}|subpage={{#titleparts: {{PAGENAME}}|1|2}} }}|
|HasReference={{{Reference|}}}|+sep=;
{{InfoBoxStyleTemplate}}
|HasPageLabel={{{PageLabel|}}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasApplication|page={{#titleparts: {{PAGENAME}}|1}} }}|
|BelongsToPage={{#titleparts: {{PAGENAME}}|1}}
<tr>{{InfoBoxCellStyleTemplate}}<b>Applications</b></td></tr>
|HasSequence={{{Sequence|}}}
<tr><td>
}}</includeonly>
{{#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]]
[[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.