Template:InfoBoxTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
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={{ | -->{{#ifeq:{{PropertyTestTemplate|prop=HasOverview|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0|| | ||
<tr><td class="InfoBoxCellStyleTemplate">Relevant overviews</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Relevant overviews</td></tr> | ||
<tr><td>{{#ask:[[-HasOverview::{{ | <tr><td>{{#ask:[[-HasOverview::{{#titleparts: {{FULLPAGENAME}}|1}}]]|format=ul}} | ||
</td></tr>}}<!-- | </td></tr>}}<!-- | ||
-->{{#ifeq:{{PropertyTestTemplate|prop=HasIMAGEComponent|page={{ | -->{{#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> | ||
<tr ><td>{{#ask:[[-HasIMAGEComponent::{{ | <tr ><td>{{#ask:[[-HasIMAGEComponent::{{#titleparts: {{FULLPAGENAME}}|1}}]]|format=ul}} | ||
</td></tr>}}<!-- | </td></tr>}}<!-- | ||
-->{{#ifeq:{{PropertyTestTemplate|prop=HasApplication|page={{ | -->{{#ifeq:{{PropertyTestTemplate|prop=HasApplication|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0|| | ||
<tr><td class="InfoBoxCellStyleTemplate">Projects/Applications</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Projects/Applications</td></tr> | ||
<tr><td>{{#ask:[[-HasApplication::{{ | <tr><td>{{#ask:[[-HasApplication::{{#titleparts: {{FULLPAGENAME}}|1}}]]|format=ul}} | ||
</td></tr>}}<!-- | </td></tr>}}<!-- | ||
-->{{#ifeq:{{PropertyTestTemplate|prop=HasModelDatabase|page={{ | -->{{#ifeq:{{PropertyTestTemplate|prop=HasModelDatabase|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0|| | ||
<tr><td class="InfoBoxCellStyleTemplate">Models/Databases</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Models/Databases</td></tr> | ||
<tr><td>{{#ask:[[-HasModelDatabase::{{ | <tr><td>{{#ask:[[-HasModelDatabase::{{#titleparts: {{FULLPAGENAME}}|1}}]]|format=ul}} | ||
</td></tr>}}<!-- | </td></tr>}}<!-- | ||
-->{{#ifeq:{{PropertyTestTemplate|prop=IsImplementationOf|page={{ | -->{{#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>}}<!-- | |||
-->{{#ifeq:{{PropertyTestTemplate|prop=HasKeyReference|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0|| | |||
<tr><td class="InfoBoxCellStyleTemplate">Key publications</td></tr> | |||
}}<!-- | <tr><td><tr><td>{{#ask:[[-HasKeyReference::{{#titleparts: {{FULLPAGENAME}}|1}}]]|format=ul}} | ||
-->{{#ifeq:{{{ | </td></tr>}}<!-- | ||
-->{{#ifeq:{{PropertyTestTemplate|prop=HasReference|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0|| | |||
<tr><td class="InfoBoxCellStyleTemplate">References</td></tr> | |||
<tr><td class="mw-collapsible mw-collapsed"> | |||
{{#ask:[[-HasReference::{{#titleparts: {{FULLPAGENAME}}|1}}]]|format=ul}} | |||
</td></tr> | |||
}}<!-- | |||
-->{{#ifeq:{{{ | |||
}} | }} | ||
</table> | </table> |
Revision as of 12:15, 13 May 2016
It should be called in the following format:
{{InfoBoxtemplate}}