Difference between revisions of "Template:GachaFlag"

From SMT: Dx2 Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{#ifeq: {{{banner|}}}| True | [[File: Banner_s.png|30px|link=|Banner Demon]]|}}{{#ifeq: {{{event|}}}| True |[[File: Event_s.png|30px|link=|Event Demon]]|}}{{#ifeq: {{{fusible|}}}| True |[[File: Fusible_s.png|30px|link={{{fusionLink}}}|Fusible Demon]]|}}{{#ifeq: {{{gacha|}}}| True |[[File: Gacha_s.png|30px|link=|Gacha Demon]]|}}</includeonly>
+
<includeonly>{{#ifeq: {{{banner|}}}| True | [[File: Banner_s.png|30px|link=|Banner Demon]]|}}{{#ifeq: {{{event|}}}| True |[[File: Event_s.png|30px|link=|Event Demon]]|}}{{#ifeq: {{{fusible|}}}| True | <a href={{{fusionLink}}}>[[File: Fusible_s.png|30px|link=|Fusible Demon]]</a>|}}{{#ifeq: {{{gacha|}}}| True |[[File: Gacha_s.png|30px|link=|Gacha Demon]]|}}</includeonly>
 
<noinclude>[[Category:Templates|{{PAGENAME}}]]
 
<noinclude>[[Category:Templates|{{PAGENAME}}]]
 
==Usage/Example==
 
==Usage/Example==

Revision as of 03:36, 23 February 2020

Usage/Example

This template is designed to one or more flags and display the corresponding image flag.

  • Banner: Banner available demon.
  • Fusible: Fusible available demon. Either multi or normal.
  • Gacha: Gacha available demon.
  • Event: Event available demon.
{{GachaFlag|banner=True}}

Banner Demon

{{GachaFlag|fusible=True|gacha=True}}

Fusible DemonGacha Demon

{{GachaFlag|fusible=True|banner=True|event=True|gacha=True}}

Banner DemonEvent DemonFusible DemonGacha Demon