Template:InfoBoxTemplate: Difference between revisions
Jump to navigation
Jump to search
PascaldeVink (talk | contribs) No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
{{InfoBoxStyleTemplate}} | {{InfoBoxStyleTemplate}} | ||
{{#ifeq:{{{Overview|}}}||| | {{#ifeq:{{{Overview|}}}||| | ||
<tr><td class="InfoBoxCellStyleTemplate">Relevant overviews</td></tr> | <div class="mw-collapsible mw-collapsed" ><tr class=><td class="InfoBoxCellStyleTemplate">Relevant overviews</td></tr> | ||
<tr><td> | <tr><td> | ||
<ul> | <ul> | ||
{{#arraymaptemplate:{{{Overview|}}}|ContentHasOverviewTemplate|;|}} | {{#arraymaptemplate:{{{Overview|}}}|ContentHasOverviewTemplate|;|}} | ||
</ul> | </ul> | ||
</td></tr> | </td></tr></div> | ||
}} | }} | ||
{{#ifeq:{{{IMAGEComponent|}}}||| | {{#ifeq:{{{IMAGEComponent|}}}||| | ||
<tr><td class="InfoBoxCellStyleTemplate">Related IMAGE components</td></tr> | <div class="mw-collapsible mw-collapsed" ><tr><td class="InfoBoxCellStyleTemplate">Related IMAGE components</td></tr> | ||
<tr><td> | <tr><td> | ||
<ul> | <ul> | ||
{{#arraymaptemplate:{{{IMAGEComponent|}}}|ComponentHasIMAGEComponentTemplate|;|}} | {{#arraymaptemplate:{{{IMAGEComponent|}}}|ComponentHasIMAGEComponentTemplate|;|}} | ||
</ul> | </ul> | ||
</td></tr> | </td></tr></div> | ||
}} | }} | ||
{{#ifeq:{{{Application|}}}||| | {{#ifeq:{{{Application|}}}||| | ||
<tr><td class="InfoBoxCellStyleTemplate">Projects/Applications</td></tr> | <div class="mw-collapsible mw-collapsed" ><tr><td class="InfoBoxCellStyleTemplate">Projects/Applications</td></tr> | ||
<tr><td> | <tr><td> | ||
<ul> | <ul> | ||
{{#arraymaptemplate:{{{Application|}}}|ComponentHasApplicationTemplate|;|}} | {{#arraymaptemplate:{{{Application|}}}|ComponentHasApplicationTemplate|;|}} | ||
</ul> | </ul> | ||
</td></tr> | </td></tr></div> | ||
}} | }} | ||
{{#ifeq:{{{ExternalModel|}}}||| | {{#ifeq:{{{ExternalModel|}}}||| | ||
<tr><td class="InfoBoxCellStyleTemplate">External models</td></tr> | <div class="mw-collapsible mw-collapsed" ><tr><td class="InfoBoxCellStyleTemplate">External models</td></tr> | ||
<tr><td> | <tr><td> | ||
<ul> | <ul> | ||
{{#arraymaptemplate:{{{ExternalModel|}}}|ComponentHasExternalModelTemplate|;|}} | {{#arraymaptemplate:{{{ExternalModel|}}}|ComponentHasExternalModelTemplate|;|}} | ||
</ul> | </ul> | ||
</td></tr> | </td></tr></div> | ||
}} | }} | ||
{{#ifeq:{{#ask:[[Category:ComputerModelAndDatabase]][[IsImplementationOf::{{PAGENAME}}]]|format=count}}|0|| | {{#ifeq:{{#ask:[[Category:ComputerModelAndDatabase]][[IsImplementationOf::{{PAGENAME}}]]|format=count}}|0|| | ||
<div class="mw-collapsible mw-collapsed" > <tr><td class="InfoBoxCellStyleTemplate">Implemented in computer model</td></tr> | |||
<tr><td> | <tr><td> | ||
{{#ask:[[Category:ComputerModelAndDatabase]][[IsImplementationOf::{{PAGENAME}}]] | {{#ask:[[Category:ComputerModelAndDatabase]][[IsImplementationOf::{{PAGENAME}}]] | ||
|format=ul | |format=ul | ||
}}</td></tr> | }}</td></tr></div> | ||
}} | }} | ||
{{#ifeq:{{{KeyReference|}}}||| | {{#ifeq:{{{KeyReference|}}}||| | ||
<tr><td class="InfoBoxCellStyleTemplate">Main publications</td></tr> | <div class="mw-collapsible mw-collapsed" ><tr><td class="InfoBoxCellStyleTemplate">Main publications</td></tr> | ||
<tr><td> | <tr><td> | ||
<ul> | <ul> | ||
{{#arraymaptemplate:{{{KeyReference|}}}|ComponentHasKeyReferenceTemplate|;|}} | {{#arraymaptemplate:{{{KeyReference|}}}|ComponentHasKeyReferenceTemplate|;|}} | ||
</ul> | </ul> | ||
</td></tr> | </td></tr></div> | ||
}} | }} | ||
{{#ifeq:{{{Reference|}}}||| | {{#ifeq:{{{Reference|}}}||| | ||
<tr><td class="InfoBoxCellStyleTemplate">References</td></tr> | <div class="mw-collapsible mw-collapsed" ><tr><td class="InfoBoxCellStyleTemplate">References</td></tr> | ||
<tr><td> | <tr><td> | ||
<ul> | <ul> | ||
{{#arraymaptemplate:{{{Reference|}}}|ComponentHasReferenceTemplate|;|}} | {{#arraymaptemplate:{{{Reference|}}}|ComponentHasReferenceTemplate|;|}} | ||
</ul> | </ul> | ||
</td></tr> | </td></tr></div> | ||
}} | }} | ||
</table> | </table> |
Revision as of 16:47, 20 March 2014
It should be called in the following format:
{{InfoBoxtemplate |Application= |IMAGEComponent= |ExternalModel= |KeyReference= |Reference= }}