Template:AdditionalInfoTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>__NOEDITSECTION__ __TOC__  
</noinclude><includeonly>__NOEDITSECTION__ __TOC__<div class="container">
{{InfoBoxTemplate|IMAGEComponent={{{IMAGEComponent|}}}|Application={{{Application|}}}|ExternalModel={{{ExternalModel|}}}|Reference={{{Reference|}}} }}
{{InfoBoxTemplate|IMAGEComponent={{{IMAGEComponent|}}}|Application={{{Application|}}}|ExternalModel={{{ExternalModel|}}}|Reference={{{Reference|}}} }}<div class="page_standard">
{{{Description|}}}
{{{Description|}}}


{{#ifexpr:
{{#ifexpr:{{PropertyTest|page={{PAGENAME}}|prop=AIBelongsToPage|reverse=1}}>0
  {{#ask:[[Category:Component]][[-AIBelongsToPage::{{PAGENAME}}]] |format=count}}  
|This page is referred by {{#arraymap:{{{BelongsTo|}}}|;|x|[[AIBelongsToPage::x]]|; }}
|This page is referred by {{#arraymap:{{{BelongsTo|}}}|;|x|[[AIBelongsToPage::x]]|; }}
|}}
|}}
 
</div></div>
[[Category:AdditionalInfo]]
[[Category:AdditionalInfo]]
[[HasPageLabel::{{#titleparts:{{PAGENAME}}||-1}}| ]]  <!-- last segement of name -->
[[HasPageLabel::{{#titleparts:{{PAGENAME}}||-1}}| ]]  <!-- last segement of name -->
</includeonly>
</includeonly>

Revision as of 13:17, 20 May 2014

This is the "AdditionalInfoTemplate" template. The page will appear as a subpage of the component that is given at: BelongsTo. A link appears in the contentbox of the given component. The AdditionalInfo page contains an infobox.

It should be called in the following format:

{{AdditionalInfoTemplate
|Application
|IMAGEComponent
|ExternalModel
|References
|Description
|BelongsTo=
}}

Edit the page to see the template text.