Difference between revisions of "Template:ArchIcon"

From SMT: Dx2 Wiki
Jump to: navigation, search
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{arch}}}|Red|[[File:ArchRed.png|20px]]|{{#ifeq:{{{arch}}}|Yellow|[[File:ArchYellow.png|20px]]|{{#ifeq:{{{arch}}}|Purple|[[File:ArchPurple.png|20px]]|{{#ifeq:{{{arch}}}|Teal|[[File:ArchTeal.png|20px]]|{{#ifeq:{{{arch}}}|Clear|[[File:ArchClear.png|20px]]|}}}}}}}}}}</includeonly>
+
<includeonly>{{#ifeq:{{{arch}}}|Red| [[File:ArchRed.png|20px]]|{{#ifeq:{{{arch}}}|Yellow| [[File:ArchYellow.png|20px]]|{{#ifeq:{{{arch}}}|Purple| [[File:ArchPurple.png|20px]]|{{#ifeq:{{{arch}}}|Teal| [[File:ArchTeal.png|20px]]|{{#ifeq:{{{arch}}}|Clear| [[File:ArchClear.png|20px]]|}}}}}}}}}}<!--{{#if:{{{arch|}}}|[[File: Arch{{{arch}}}.png|20px]]}}--></includeonly>
 
<noinclude>
 
<noinclude>
 +
=== Usage Example ===
 
<pre>
 
<pre>
{{ArchIcon|arch=Red}}
+
{{ArchIcon|arch=Red}}{{ArchIcon|arch=Clear}}{{ArchIcon|arch=Teal}}{{ArchIcon|arch=Yellow}}{{ArchIcon|arch=Purple}}
 
</pre>
 
</pre>
{{ArchIcon|arch=Red}}
+
{{ArchIcon|arch=Red}}{{ArchIcon|arch=Clear}}{{ArchIcon|arch=Teal}}{{ArchIcon|arch=Yellow}}{{ArchIcon|arch=Purple}}
 
</noinclude>
 
</noinclude>

Revision as of 12:18, 17 January 2020


Usage Example

{{ArchIcon|arch=Red}}{{ArchIcon|arch=Clear}}{{ArchIcon|arch=Teal}}{{ArchIcon|arch=Yellow}}{{ArchIcon|arch=Purple}}

Red Clear Teal Yellow Purple