Template:InfoBoxTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
<tr><td>{{#ask:[[-HasOverview::{{#titleparts: {{FULLPAGENAME}}|1}}]]|format=ul}}
<tr><td>{{#ask:[[-HasOverview::{{#titleparts: {{FULLPAGENAME}}|1}}]]|format=ul}}
</td></tr>}}<!--
</td></tr>}}<!--
-->{{#ifeq:{{PropertyTestTemplate|prop=IsImplementationOf|page={{ROOTPAGENAME}}|reverse=1 }}|0||
<tr><td class="InfoBoxCellStyleTemplate">Implemented in computer model</td></tr>
<tr><td>{{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]] |format=ul}}
</td></tr>}}<!--
-->{{#arraymap:{{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}|link=none}}|;|xx
    |{{#ifexpr:{{PropertyTestTemplate|prop=IsImplementationOf|page=xx }}<2|
        |<tr><td class="InfoBoxCellStyleTemplate">xx components</td></tr>
    }}
|}}<!--
-->{{#ifeq:{{PropertyTestTemplate|prop=HasIMAGEComponent|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0||
-->{{#ifeq:{{PropertyTestTemplate|prop=HasIMAGEComponent|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0||
<tr><td class="InfoBoxCellStyleTemplate">Related IMAGE components</td></tr>
<tr><td class="InfoBoxCellStyleTemplate">Related IMAGE components</td></tr>
Line 24: Line 33:
<tr><td class="InfoBoxCellStyleTemplate">Models/Databases</td></tr>
<tr><td class="InfoBoxCellStyleTemplate">Models/Databases</td></tr>
<tr><td>{{#ask:[[-HasModelDatabase::{{#titleparts: {{FULLPAGENAME}}|1}}]]|format=ul}}
<tr><td>{{#ask:[[-HasModelDatabase::{{#titleparts: {{FULLPAGENAME}}|1}}]]|format=ul}}
</td></tr>}}<!--
-->{{#ifeq:{{PropertyTestTemplate|prop=IsImplementationOf|page={{ROOTPAGENAME}}|reverse=1 }}|0||
<tr><td class="InfoBoxCellStyleTemplate">Implemented in computer model</td></tr>
<tr><td>{{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]] |format=ul}}
</td></tr>}}<!--
</td></tr>}}<!--
-->{{#ifeq:{{PropertyTestTemplate|prop=HasKeyReference|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0||
-->{{#ifeq:{{PropertyTestTemplate|prop=HasKeyReference|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0||

Revision as of 12:30, 13 May 2016

It should be called in the following format:

{{InfoBoxtemplate}}