Template:Infobox section/doc

From Kindred Fates Wiki
< Template:Infobox section
Revision as of 15:19, 20 April 2021 by WikiSysop (talk | contribs) (Created page with "{{Doc/start}} Creates a section divider in an infobox ==Usage== <pre>{{Infobox section|title|test-value|else-value}}</pre> ''Note these are all unnamed parameters when using...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template-info.png Documentation

Creates a section divider in an infobox

Usage

{{Infobox section|title|test-value|else-value}}

Note these are all unnamed parameters when using the template

  • title is the text to be shown in the section.
  • If test-value (optional) is given, the section will only show if this value is not empty.
  • If else-value (optional) is given and Test-value is empty, the section is displayed and shows Else-value as its value

Example

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

Will create a crafting section heading, but only if the ingredient1 parameter is given and not empty, otherwise the heading uses the text "Statistics".