ARK: Survival Evolved Wiki
im>IllegalOpcode
(Fixed whitespace)
 
 
(No se muestran 7 ediciones intermedias de 4 usuarios)
Línea 1: Línea 1:
<includeonly>|-
+
<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:Plantillas de partes de infobox]][[en:Template:Infobox section]]</noinclude>

Revisión actual del 21:01 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.