Template:InfoBoxTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
<pre> | <pre> | ||
{{InfoBoxtemplate | {{InfoBoxtemplate | ||
|Overview= | |||
|Application= | |Application= | ||
|IMAGEComponent= | |IMAGEComponent= | ||
Line 10: | Line 11: | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude><includeonly>{{#ifexpr: | </noinclude><includeonly><!-- | ||
{{InfoboxTestTemplate|basepage={{#titleparts: {{ | -->{{#ifexpr:<!-- | ||
check the need for an infobox on this page (most recent version is the norm) | |||
-->{{InfoboxTestTemplate|basepage={{#titleparts: {{PAGENAME}}|1}}|subpage={{#titleparts: {{PAGENAME}}|1|2}} }}--> | |||
existing data for infobox | |||
-->|<div class="InfoBoxTemplateClear"><table class="InfoBoxStyle">> | |||
-->{{#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>[[ | {{#arraymap:{{{Overview|}}}|;|xx|<li>[[xx]]|</li>}} | ||
</ul></td></tr> | </ul></td></tr> | ||
}}{{#ifeq:{{{IMAGEComponent|}}}||| | }}<!-- | ||
-->{{#ifeq:{{{IMAGEComponent|}}}||| | |||
<tr><td class="InfoBoxCellStyleTemplate">Related IMAGE components</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Related IMAGE components</td></tr> | ||
<tr ><td> | <tr ><td> | ||
<ul> | <ul> | ||
{{#arraymap:{{{IMAGEComponent|}}}|;|xx|<li>[[ | {{#arraymap:{{{IMAGEComponent|}}}|;|xx|<li>[[xx]]|</li>}} | ||
</ul></td></tr> | </ul></td></tr> | ||
}}{{#ifeq:{{{Application|}}}||| | }}<!-- | ||
-->{{#ifeq:{{{Application|}}}||| | |||
<tr><td class="InfoBoxCellStyleTemplate">Projects/Applications</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Projects/Applications</td></tr> | ||
<tr><td> | <tr><td> | ||
<ul> | <ul> | ||
{{#arraymap:{{{Application|}}}|;|xx|<li>[[ | {{#arraymap:{{{Application|}}}|;|xx|<li>[[xx]]|</li>}} | ||
</ul></td></tr> | </ul></td></tr> | ||
}}{{#ifeq:{{{Model-Database|}}}||| | }}<!-- | ||
-->{{#ifeq:{{{Model-Database|}}}||| | |||
<tr><td class="InfoBoxCellStyleTemplate">Models/Databases</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Models/Databases</td></tr> | ||
<tr><td> | <tr><td> | ||
<ul> | <ul> | ||
{{#arraymap:{{{Model-Database|}}}|;|xx|<li>[[ | {{#arraymap:{{{Model-Database|}}}|;|xx|<li>[[xx]]|</li>}} | ||
</ul></td></tr> | </ul></td></tr> | ||
}}{{#ifeq:{{ | }}<!-- | ||
-->{{#ifeq:{{PropertyTestTemplate|prop=IsImplementationOf|page={{PAGENAME}}|0|| | |||
<tr><td class="InfoBoxCellStyleTemplate">Implemented in computer model</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Implemented in computer model</td></tr> | ||
<tr><td> | <tr><td> | ||
Line 41: | Line 51: | ||
|format=ul | |format=ul | ||
}}</td></tr> | }}</td></tr> | ||
}}{{#ifeq:{{{KeyReference|}}}||| | }}<!-- | ||
-->{{#ifeq:{{{KeyReference|}}}||| | |||
<tr><td class="InfoBoxCellStyleTemplate">Key publications</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Key publications</td></tr> | ||
<tr><td> | <tr><td> | ||
<ul> | <ul> | ||
{{#arraymap:{{{KeyReference|}}}|;|xx|<li>[[ | {{#arraymap:{{{KeyReference|}}}|;|xx|<li>[[xx]]|</li>}} | ||
</ul></td></tr> | </ul></td></tr> | ||
}}{{#ifeq:{{{Reference|}}}||| | }}<!-- | ||
-->{{#ifeq:{{{Reference|}}}||| | |||
<tr><td class="InfoBoxCellStyleTemplate">References</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">References</td></tr> | ||
<tr><td class="mw-collapsible mw-collapsed"> | <tr><td class="mw-collapsible mw-collapsed"> | ||
<ul> | <ul> | ||
{{#arraymap:{{{Reference|}}}|;|xx|<li>[[ | {{#arraymap:{{{Reference|}}}|;|xx|<li>[[xx]]|</li>}} | ||
</ul></td></tr> | </ul></td></tr> | ||
}} | }} | ||
</table> | </table> | ||
</div> | </div> | ||
|}} | |}}<!-- | ||
</includeonly> | --></includeonly> |
Revision as of 12:23, 11 May 2016
It should be called in the following format:
{{InfoBoxtemplate |Overview= |Application= |IMAGEComponent= |Model-Database= |KeyReference= |Reference= }}