Template:InfoBoxTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
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=IsImplementationOf|page={{ROOTPAGENAME}}|reverse=1 }}|0|| | -->{{#ifeq:{{PropertyTestTemplate|prop=IsImplementationOf|page={{ROOTPAGENAME}}|reverse=1 }}|0|| | ||
<tr><td class="InfoBoxCellStyleTemplate">Component is implemented in:</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Component is implemented in:</td></tr> | ||
<tr><td>{{#arraymap: | <tr><td>{{#arraymap: | ||
{{#ask: | {{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]]|link=none|sep=;}} | ||
|;|yy | |;|yy | ||
|{{#arraymap: {{#ask:[[Category:ModelVersion]][[IsVersionOf::yy]]|link=none|sep=;}} | |{{#arraymap: {{#ask:[[Category:ModelVersion]][[IsVersionOf::yy]]|link=none|sep=;}} | ||
|;|xx | |||
|{{#ifeq:{{#ask:[[IsCurrentVersion::true]][[IsVersionOf::yy]]|link=none}}|xx | |||
|<ul><li>[[yy]] (version {{#ask:[[xx]]|format=Plainlist}})</li></ul> | |||
{{#ask:[[Category:AggregatedComponent]][[-IsImplementationOf::yy]] | |||
|intro=Aggregated component:|format=ul | |||
}}{{#ask:[[Category:Component]][[-IsImplementationOf::yy]] | |||
| | |||
|intro=Components:|format=ul}} | |intro=Components:|format=ul}} | ||
|}} | |||
|}} | |}} | ||
|and}} | | and }} | ||
</td></tr><!-- | </td></tr><!-- | ||
-->{{#ifeq:{{PropertyTestTemplate|prop=HasIMAGEComponent|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0|| | -->{{#ifeq:{{PropertyTestTemplate|prop=HasIMAGEComponent|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0|| |
Latest revision as of 16:41, 24 March 2020
It should be called in the following format:
{{InfoBoxtemplate}}