Template:InfoBoxTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
</pre> | </pre> | ||
</noinclude><includeonly>{{#ifexpr: | </noinclude><includeonly>{{#ifexpr: | ||
{{InfoboxTestTemplate|basepage={{#titleparts: {{PAGENAME}}|1}}|subpage={{#titleparts: {{PAGENAME}}|1|2}} }}|<div class="InfoBoxTemplateClear"><table class="InfoBoxStyle"> | {{InfoboxTestTemplate|basepage={{#titleparts: {{PAGENAME}}|1}}|subpage={{#titleparts: {{PAGENAME}}|1|2}} }}|<div class="InfoBoxTemplateClear"><table class="InfoBoxStyle">{{#ifeq:{{{Overview|}}}||| | ||
{{#ifeq:{{{Overview|}}}||| | |||
<tr><td class="InfoBoxCellStyleTemplate">Relevant overviews</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Relevant overviews</td></tr> | ||
<tr><td> | <tr><td> | ||
Line 18: | Line 17: | ||
{{#arraymap:{{{Overview|}}}|;|xx|<li>[[HasOverview::xx]]|</li>}} | {{#arraymap:{{{Overview|}}}|;|xx|<li>[[HasOverview::xx]]|</li>}} | ||
</ul></td></tr> | </ul></td></tr> | ||
}} | }}{{#ifeq:{{{IMAGEComponent|}}}||| | ||
{{#ifeq:{{{IMAGEComponent|}}}||| | |||
<tr><td class="InfoBoxCellStyleTemplate">Related IMAGE components</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Related IMAGE components</td></tr> | ||
<tr ><td> | <tr ><td> | ||
Line 25: | Line 23: | ||
{{#arraymap:{{{IMAGEComponent|}}}|;|xx|<li>[[HasIMAGEComponent::xx]]|</li>}} | {{#arraymap:{{{IMAGEComponent|}}}|;|xx|<li>[[HasIMAGEComponent::xx]]|</li>}} | ||
</ul></td></tr> | </ul></td></tr> | ||
}} | }}{{#ifeq:{{{Application|}}}||| | ||
{{#ifeq:{{{Application|}}}||| | |||
<tr><td class="InfoBoxCellStyleTemplate">Projects/Applications</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Projects/Applications</td></tr> | ||
<tr><td> | <tr><td> | ||
Line 32: | Line 29: | ||
{{#arraymap:{{{Application|}}}|;|xx|<li>[[HasApplication::xx]]|</li>}} | {{#arraymap:{{{Application|}}}|;|xx|<li>[[HasApplication::xx]]|</li>}} | ||
</ul></td></tr> | </ul></td></tr> | ||
}} | }}{{#ifeq:{{{Model-Database|}}}||| | ||
{{#ifeq:{{{Model-Database|}}}||| | |||
<tr><td class="InfoBoxCellStyleTemplate">Models/Databases</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Models/Databases</td></tr> | ||
<tr><td> | <tr><td> | ||
Line 39: | Line 35: | ||
{{#arraymap:{{{Model-Database|}}}|;|xx|<li>[[HasModelDatabase::xx]]|</li>}} | {{#arraymap:{{{Model-Database|}}}|;|xx|<li>[[HasModelDatabase::xx]]|</li>}} | ||
</ul></td></tr> | </ul></td></tr> | ||
}} | }}{{#ifeq:{{#ask:[[Category:ComputerModelAndDatabase]][[IsImplementationOf::{{PAGENAME}}]]|format=count}}|0|| | ||
{{#ifeq:{{#ask:[[Category:ComputerModelAndDatabase]][[IsImplementationOf::{{PAGENAME}}]]|format=count}}|0|| | |||
<tr><td class="InfoBoxCellStyleTemplate">Implemented in computer model</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Implemented in computer model</td></tr> | ||
<tr><td> | <tr><td> | ||
Line 46: | Line 41: | ||
|format=ul | |format=ul | ||
}}</td></tr> | }}</td></tr> | ||
}} | }}{{#ifeq:{{{KeyReference|}}}||| | ||
{{#ifeq:{{{KeyReference|}}}||| | |||
<tr><td class="InfoBoxCellStyleTemplate">Key publications</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Key publications</td></tr> | ||
<tr><td> | <tr><td> | ||
Line 53: | Line 47: | ||
{{#arraymap:{{{KeyReference|}}}|;|xx|<li>[[HasKeyReference::xx]]|</li>}} | {{#arraymap:{{{KeyReference|}}}|;|xx|<li>[[HasKeyReference::xx]]|</li>}} | ||
</ul></td></tr> | </ul></td></tr> | ||
}} | }}{{#ifeq:{{{Reference|}}}||| | ||
{{#ifeq:{{{Reference|}}}||| | |||
<tr><td class="InfoBoxCellStyleTemplate">References</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">References</td></tr> | ||
<tr class="mw-collapsible mw-collapsed"><td> | <tr class="mw-collapsible mw-collapsed"><td> |
Revision as of 11:06, 27 May 2014
It should be called in the following format:
{{InfoBoxtemplate |Application= |IMAGEComponent= |Model-Database= |KeyReference= |Reference= }}