Difference between revisions of "Template:ArchIcon"

From SMT: Dx2 Wiki
Jump to: navigation, search
(9 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]]|}}}}}}}}}}<!--{{#if:{{{arch|}}}|[[File: Arch{{{arch}}}.png|20px]]}}--></includeonly>
#ifeq: {{{arch}}}  
+
<noinclude>
| Red
+
=== Usage Example ===
| [[File:ArchRed.png|20px]]
+
<pre>
| {{
+
{{ArchIcon|arch=Red}}{{ArchIcon|arch=Clear}}{{ArchIcon|arch=Teal}}{{ArchIcon|arch=Yellow}}{{ArchIcon|arch=Purple}}
#ifeq: {{{arch}}}  
+
</pre>
| Yellow
+
{{ArchIcon|arch=Red}}{{ArchIcon|arch=Clear}}{{ArchIcon|arch=Teal}}{{ArchIcon|arch=Yellow}}{{ArchIcon|arch=Purple}}
| [[File:ArchYellow.png|20px]]
+
</noinclude>
| {{
 
#ifeq: {{{arch}}}  
 
| Purple
 
| [[File:ArchPurple.png|20px]]
 
| {{
 
#ifeq: {{{arch}}}  
 
| Teal
 
| [[File:ArchTeal.png|20px]]
 
| {{
 
#ifeq: {{{arch}}}  
 
| Clear
 
| [[File:ArchClear.png|20px]]
 
|  
 
}}
 
}}
 
}}
 
}}
 
}}
 

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