Template:InfoBoxTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
</td></tr>}}<!-- | </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 | <tr><td class="InfoBoxCellStyleTemplate">Implemented in</td></tr> | ||
<tr><td>{{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]] |format=ul}} | <tr><td>{{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]] |format=ul}} | ||
</td></tr>}}<!-- | </td></tr>}}<!-- | ||
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| | |{{#ifexpr:{{PropertyTestTemplate|prop=IsImplementationOf|page=xx }}<2| | ||
|<tr><td class="InfoBoxCellStyleTemplate">xx components</td></tr> | |<tr><td class="InfoBoxCellStyleTemplate">xx components</td></tr><!-- | ||
<tr ><td>{{#ask:[[-IsImplementationOf::xx]]|format=ul}} | add namespace to result of this query! --> | ||
<tr ><td>{{#ifeq:{{NAMESPACE}}|||{{NAMESPACE}}:}}{{#ask:[[-IsImplementationOf::xx]]|format=ul}} | |||
</td></tr>}} | </td></tr>}} | ||
|}}<!-- | |}}<!-- |
Revision as of 17:26, 13 June 2016
It should be called in the following format:
{{InfoBoxtemplate}}