Difference between revisions of "Template:InfoBoxTemplate"

From IMAGE
Jump to: navigation, search
Line 9: Line 9:
 
existing data for infobox
 
existing data for infobox
 
--><div class="InfoBoxTemplateClear"><table class="InfoBoxStyle"> <!--
 
--><div class="InfoBoxTemplateClear"><table class="InfoBoxStyle"> <!--
-->{{#ifeq:{{PropertyTestTemplate|prop=HasOverview|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0||
+
-->{{#ifeq: {{#ask:[[-HasVersionOverview::<q>[[IsImplementationOf::{{PAGENAME}}]]</q>]]|format =count}}|0||
<tr><td class="InfoBoxCellStyleTemplate">Relevant  overviews</td></tr>
+
<tr><td class="InfoBoxCellStyleTemplate">Version Overviews</td></tr>
<tr><td>{{#ask:[[-HasOverview::{{#titleparts: {{FULLPAGENAME}}|1}}]]|format=ul}}
+
<tr><td> <li>
</td></tr>}}<!--
+
<ul>[[IMAGE framework version overview]]</ul>
 +
<ul>{{#ask:[[-HasVersionOverview::<q>[[IsImplementationOf::{{PAGENAME}}]]</q>]]|link=none}}</ul>
 +
</li></td></tr>
 +
}}<!--
 
-->{{#ifeq:{{PropertyTestTemplate|prop=IsImplementationOf|page={{ROOTPAGENAME}}|reverse=1 }}|0||
 
-->{{#ifeq:{{PropertyTestTemplate|prop=IsImplementationOf|page={{ROOTPAGENAME}}|reverse=1 }}|0||
 
<tr><td class="InfoBoxCellStyleTemplate">Implemented in:</td></tr>
 
<tr><td class="InfoBoxCellStyleTemplate">Implemented in:</td></tr>
Line 39: Line 42:
 
<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=HasOverview|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0||
 +
<tr><td class="InfoBoxCellStyleTemplate">Relevant  overviews</td></tr>
 +
<tr><td>{{#ask:[[-HasOverview::{{#titleparts: {{FULLPAGENAME}}|1}}]]|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 10:00, 17 June 2016

It should be called in the following format:

{{InfoBoxtemplate}}