Template:InfoBoxTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) 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}} | ||
}} | |||
</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={{ | -->{{#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= | -->{{#ifeq:{{PropertyTestTemplate|prop=hasOverview|page={{ROOTPAGENAME}}|reverse=1 }}|0|| | ||
<tr><td class="InfoBoxCellStyleTemplate">Relevant overviews</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Relevant overviews</td></tr> | ||
<tr><td> | |||
<ul> | |||
{{#ask:[[-hasOverview::{{ROOTPAGENAME}}]]|format=ul}} | |||
</td></tr> | |||
}}<!-- | }}<!-- | ||
-->{{#ifeq:{{{IMAGEComponent|}}}||| | -->{{#ifeq:{{{IMAGEComponent|}}}||| |
Revision as of 11:41, 12 May 2016
It should be called in the following format:
{{InfoBoxtemplate}}