Template:InfoBoxTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
<div style="float:right; clear:right; ">
<div style="float:right; clear:right; ">
{{InfoBoxStyleTemplate}}
{{InfoBoxStyleTemplate}}
{{#ifexpr:{{PropertyTestTemplate|prop=belongsToPage|page={{PAGENAME}}|reverse=1}}>0|
  <tr>{{InfoBoxCellStyleTemplate}}<b>{{{PagePartHeader|}}}</b></td></tr>
  <tr><td>
  <ul>
{{#ask:[[{{PAGENAME}}]]|mainlabel=|? HasPageLabel=|link=none|format=template|template=PagePartTemplate}}
{{#ask: [[BelongsToPage::  {{PAGENAME}}]]|mainlabel=|? HasPageLabel=|? HasSequence=|sort=HasSequence|link=none|format=template|template=PagePartTemplate}}
</ul>
  </td></tr>
|}}
{{#ifeq:{{{IMAGEComponent|}}}|||
{{#ifeq:{{{IMAGEComponent|}}}|||
   <tr>{{InfoBoxCellStyleTemplate}}<b>Related IMAGE components</b></td></tr>
   <tr>{{InfoBoxCellStyleTemplate}}<b>Related IMAGE components</b></td></tr>

Revision as of 13:29, 19 November 2013

It should be called in the following format:

{{InfoBoxtemplate
|PagePartHeader=
|Application=
|IMAGEComponent=
|ExternalModel=
|KeyReference=
|Reference=
}}