Template:InfoBoxTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:
   <tr><td>
   <tr><td>
   <ul>
   <ul>
   {{#arraymaptemplate:{{{Overview|}}}|ContentHasOverviewTemplate|;|}}
   {{#arraymap:{{{Overview|}}}|;|xx|<li>[[HasOverview::xx]]|</li>}}
   </ul>
   </ul>
   </td></tr>
   </td></tr>
Line 24: Line 24:
{{#ifeq:{{{IMAGEComponent|}}}|||
{{#ifeq:{{{IMAGEComponent|}}}|||
   <tr><td class="InfoBoxCellStyleTemplate">Related IMAGE components</td></tr>
   <tr><td class="InfoBoxCellStyleTemplate">Related IMAGE components</td></tr>
   <tr class="mw-collapsible mw-collapsed"><td>
   <tr ><td>
   <ul>
   <ul>
   {{#arraymaptemplate:{{{IMAGEComponent|}}}|ComponentHasIMAGEComponentTemplate|;|}}
   {{#arraymap:{{{IMAGEComponent|}}}|;|xx|<li>[[HasIMAGEComponent::xx]]|</li>}}
   </ul>
   </ul>
   </td></tr>
   </td></tr>
Line 34: Line 34:
   <tr><td>
   <tr><td>
   <ul>
   <ul>
   {{#arraymaptemplate:{{{Application|}}}|ComponentHasApplicationTemplate|;|}}
   {{#arraymap:{{{Application|}}}|;|xx|<li>[[HasApplication::xx]]|</li>}}
   </ul>
   </ul>
   </td></tr>
   </td></tr>
Line 42: Line 42:
   <tr><td>
   <tr><td>
   <ul>
   <ul>
   {{#arraymaptemplate:{{{ExternalModel|}}}|ComponentHasExternalModelTemplate|;|}}
   {{#arraymap:{{{ExternalModel|}}}|;|xx|<li>[[HasExternalModel::xx]]|</li>}}
   </ul>
   </ul>
   </td></tr>
   </td></tr>
Line 57: Line 57:
   <tr><td>
   <tr><td>
   <ul>
   <ul>
   {{#arraymaptemplate:{{{KeyReference|}}}|ComponentHasKeyReferenceTemplate|;|}}
   {{#arraymap:{{{KeyReference|}}}|;|xx|<li>[[HasKeyReference::xx]]|</li>}}
   </ul>
   </ul>
   </td></tr>
   </td></tr>
Line 63: Line 63:
{{#ifeq:{{{Reference|}}}|||
{{#ifeq:{{{Reference|}}}|||
   <tr><td class="InfoBoxCellStyleTemplate">References</td></tr>
   <tr><td class="InfoBoxCellStyleTemplate">References</td></tr>
   <tr><td>
   <tr class="mw-collapsible mw-collapsed"><td>
   <ul>
   <ul>
   {{#arraymaptemplate:{{{Reference|}}}|ComponentHasReferenceTemplate|;|}}
   {{#arraymap:{{{Reference|}}}|;|xx|<li>[[HasReference::xx]]|</li>}}
   </ul>
   </ul>
   </td></tr>
   </td></tr>

Revision as of 17:33, 20 March 2014

It should be called in the following format:

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