Template:InfoBoxTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{InfoBoxtemplate
{{InfoBoxtemplate}}
|basepage
|subpage
|pageinclns
}}
</pre>
</pre>
</noinclude><includeonly><!--
</noinclude><includeonly><!--
check the need for an infobox on this page (most recent version is the norm)
check the need for an infobox on this page (most recent version is the norm)
-->{{#ifeq:{{InfoboxTestTemplate|basepage={{{basepage|}}}|subpage={{{subpage|}}} }}|0|| <!--
-->{{#ifeq:{{InfoboxTestTemplate|basepage={{ROOTPAGENAME}}|subpage={{SUBPAGENAME}} }}|0|| <!--
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=basepage|reverse=1 }}|0||
-->{{#ifeq:{{PropertyTestTemplate|prop=hasOverview|page={{ROOTPAGENAME}}|reverse=1 }}|0||
{{#ifeq:{{{Overview|}}}|||
<tr><td class="InfoBoxCellStyleTemplate">Relevant  overviews</td></tr>
<tr><td class="InfoBoxCellStyleTemplate">Relevant  overviews</td></tr>
  <tr><td>
<tr><td>
  <ul>
<ul>
  {{#arraymap:{{{Overview|}}}|;|xx|<li>[[xx]]|</li>}}
{{#ask:[[-hasOverview::{{ROOTPAGENAME}}]]|format=ul}}
  </ul></td></tr>
</td></tr>
}}<!--
}}<!--
-->{{#ifeq:{{{IMAGEComponent|}}}|||
-->{{#ifeq:{{{IMAGEComponent|}}}|||

Revision as of 11:41, 12 May 2016

It should be called in the following format:

{{InfoBoxtemplate}}