Difference between revisions of "Template:InfoBoxTemplate"
Oostenrijr (talk | contribs) |
Oostenrijr (talk | contribs) |
||
Line 16: | Line 16: | ||
<tr><td class="InfoBoxCellStyleTemplate">Implemented in:</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Implemented in:</td></tr> | ||
<tr><td>{{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]] |format=ul}} | <tr><td>{{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]] |format=ul}} | ||
− | + | }}<!-- | |
The components of this computer model | The components of this computer model | ||
-->{{#arraymap:{{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]]|link=none}}|;|xx | -->{{#arraymap:{{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]]|link=none}}|;|xx | ||
− | + | |{{#ifexpr:{{PropertyTestTemplate|prop=IsImplementationOf|page=xx }}<2|</td></tr> | |
− | + | |Composition:<!-- | |
− | add namespace to result of this query! -- | + | add namespace to result of this query! |
− | + | -->{{#ask:[[-IsImplementationOf::xx]]|link=none|format=ul|template=AddNamespaceTemplate}} | |
− | </td></tr>}} | + | </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> |
Revision as of 09:36, 17 June 2016
It should be called in the following format:
{{InfoBoxtemplate}}