Template:InfoboxTestTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#ifexpr:{{{IMAGEComponent|}}} or {{{Application|}}} or {{{ExternalModel|}}} or {{{KeyReference|}}} or {{{Reference|}}} |1|0}} | {{#ifexpr: {{#if:{{{IMAGEComponent|}}}|1|0}} or {{#if:{{{Application|}}}|1|0}} or {#if:{{{ExternalModel|}}}|1|0}} or {#if:{{{KeyReference|}}}|1|0}} or {{#if:{{{Reference|}}}|1|0}} |1|0}} | ||
<!--{{#ifexpr:{{PropertyTestTemplate|prop=HasApplication|page={{{basepage|}}}}} or | <!--{{#ifexpr:{{PropertyTestTemplate|prop=HasApplication|page={{{basepage|}}}}} or | ||
{{PropertyTestTemplate|prop=HasIMAGEComponent|page={{{basepage|}}}}} or | {{PropertyTestTemplate|prop=HasIMAGEComponent|page={{{basepage|}}}}} or |
Revision as of 10:30, 1 August 2013
This is the "InfoboxTestTemplate" template. it returns 1 (true) if an infobox should be displayed, 0 (false) otherwise It should be called in the following format; subpage is optional
{{InfoboxTestTemplate |basepage= |subpage= }}
Edit the page to see the template text.