Template:InfoBoxTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
Line 24: | Line 24: | ||
-->{{#ifeq:{{NAMESPACE}}||<!-- main namespace | -->{{#ifeq:{{NAMESPACE}}||<!-- main namespace | ||
-->{{#ask:[[IsCurrentVersion::true]][[IsVersionOf::yy }}<!-- | -->{{#ask:[[IsCurrentVersion::true]][[IsVersionOf::yy }}<!-- | ||
-->|[[ | -->|{{#ask:[[IsCurrentVersion::false]][[IsVersionOf::yy ]]|mainlabel=-|? hasNamespace=}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->)</li></ul><!-- The components of this computer model | |||
The components of this computer model | -->{{#ifexpr:{{PropertyTestTemplate|prop=IsImplementationOf|page=yy }}<2|</td></tr> | ||
--> | |||
|<!--add namespace to result of this query! | |<!--add namespace to result of this query! | ||
-->{{#ask:[[Category:AggregatedComponent]][[-IsImplementationOf:: | -->{{#ask:[[Category:AggregatedComponent]][[-IsImplementationOf::yy]] | ||
|link=none|intro=Aggregated component:|format=ul|template=AddNamespaceTemplate}}<!-- | |link=none|intro=Aggregated component:|format=ul|template=AddNamespaceTemplate}}<!-- | ||
-->{{#ask:[[Category:Component]][[-IsImplementationOf:: | -->{{#ask:[[Category:Component]][[-IsImplementationOf::yy]] | ||
|link=none|intro=Components:|format=ul|template=AddNamespaceTemplate}} | |link=none|intro=Components:|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|| |
Revision as of 15:03, 7 July 2017
It should be called in the following format:
{{InfoBoxtemplate}}