Apex Legends Wiki

It's Pride Month with Fandom, and Apex Legends' colorful cast of characters includes plenty of LGBTQIA+ representation: Bangalore, Bloodhound, Fuse, Gibraltar, Loba, Mirage, Seer, and Valkyrie. A big thank you to everyone who has helped make those articles and the whole wiki what they are!

There will also be three roundtable discussions in the Fandom Discord server over the month: Discussing LGBTQIA+ video games and characters on June 15, LGBTQIA+ icons and activists on June 22, and a discussion with LGBTQIA+ wiki admins on June 29.

READ MORE

Apex Legends Wiki
MrBot5 (talk | contribs)
(Bot: Automated import of articles)
 
Line 2: Line 2:
 
{{#if: {{{3|{{{2|}}}}}}{{{4|}}} |
 
{{#if: {{{3|{{{2|}}}}}}{{{4|}}} |
 
! class="infobox-row-name" {{!}} '''{{{1|}}}'''
 
! class="infobox-row-name" {{!}} '''{{{1|}}}'''
{{!}} class="infobox-row-value" {{!}} {{#if: {{{3|{{{2|}}}}}} | {{{2|}}} | {{{4|}}} }} }}</includeonly><noinclude>{{doc}}[[Category:Infobox part templates]]</noinclude>
+
{{!}} class="infobox-row-value" {{!}} {{#if: {{{3|{{{2|}}}}}} | {{{2|}}} | {{{4|}}} }} }}</includeonly><noinclude>{{doc}}[[Category:Infobox part templates]]
  +
|-</noinclude>

Revision as of 19:50, 5 April 2021

Template-info.png Documentation

Displays a row in an infobox.

Usage

{{infobox row|title|value|test-value|else-value}}

Note these are all unnamed parameters when using the template

  • title is displayed as keyword to the row, describing the value (e.g. "HP", "Size", etc.)
  • value is displayed as the value and can be formatted (e.g. 1000, "huge", {{ItemLink|Wall}}, etc.)
  • If test-value (optional) is given, the row is only displayed if it is not empty
  • If else-value (optional) is given and test-value is empty, the row is displayed and shows else-value as its value

Example

{{Infobox row|HP|{{{hp}}}|{{{hp|}}}}}

Displays a row titled HP, followed by the value of hp, but if it is not given, hides the whole row.


{{Infobox row|Location|{{{location}}}|{{{location|}}}|''Unknown''}}

Displays a row titled Location, followed by the value of location, but if it is not given, displays Unknown as the value instead.

|-