Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox/header: Difference between revisions

Template page
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 — so empty sections disappear.
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|}}}}}