Template:Infobox/header: Difference between revisions
Template page
More actions
Initial setup: templates, Main Page, style guide |
Automatic category lists and Create buttons; easier-to-read privacy policy; remove em dashes |
||
| Line 1: | Line 1: | ||
{{#if:{{{2|}}}|<div class="evo-infobox-header">{{{1}}}</div>}}<noinclude> | {{#if:{{{2|}}}|<div class="evo-infobox-header">{{{1}}}</div>}}<noinclude> | ||
Internal helper used by the infobox templates. Shows a section header, but only when the second parameter (normally all of that section's values joined together) is non-empty | Internal helper used by the infobox templates. Shows a section header, but only when the second parameter (normally all of that section's values joined together) is non-empty, so empty sections disappear. | ||
<code><nowiki>{{Infobox/header|Biology|{{{diet|}}}{{{size|}}}}}</nowiki></code> | <code><nowiki>{{Infobox/header|Biology|{{{diet|}}}{{{size|}}}}}</nowiki></code> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 21:33, 14 October 2026
Internal helper used by the infobox templates. Shows a section header, but only when the second parameter (normally all of that section's values joined together) is non-empty, so empty sections disappear.
{{Infobox/header|Biology|{{{diet|}}}{{{size|}}}}}