ARK: Survival Evolved Wiki
Línea 1: Línea 1:
 
<includeonly>|- {{#if:{{{class|}}}|class="{{{class|}}}"}}
 
<includeonly>|- {{#if:{{{class|}}}|class="{{{class|}}}"}}
  +
{{#if: {{{2|{{{1|}}}}}} |
! colspan="2" class="infobox-section" | {{{1|}}}</includeonly><noinclude>[[Category:Infobox part templates]]</noinclude>
+
{{!}} colspan="2" class="infobox-section" {{!}} '''{{{1|}}}''' }}</includeonly><noinclude>{{Doc}}[[Category:Infobox part templates]]</noinclude>

Revisión del 20:55 22 jun 2021

Template-info.png Documentación

Creates a section divider in an infobox

Usage

{{Infobox section|title|test-value}}
  • title is the text to be shown in the section.
  • If test-value is given, the section will only show if this value is not empty.

Example

{{Infobox section|Crafting|{{{ingredient1|}}}}}

Will create a crafting section heading, but only if the ingredient1 parameter is given and not empty.