Difference between revisions of "Template:ArchIcon"

From SMT: Dx2 Wiki
Jump to: navigation, search
(noinclude error)
(allow for size specification (default 20px))
Line 1: Line 1:
<includeonly>[[File:Arch{{{arch}}}.png|20px|link=]]<!--
+
<includeonly>[[File:Arch{{{arch}}}.png|{{{size|20px}}}|link=]]<!--
 
{{#ifeq:{{{arch}}}|Red| [[File:ArchRed.png|20px]]|
 
{{#ifeq:{{{arch}}}|Red| [[File:ArchRed.png|20px]]|
 
{{#ifeq:{{{arch}}}|Yellow| [[File:ArchYellow.png|20px]]|
 
{{#ifeq:{{{arch}}}|Yellow| [[File:ArchYellow.png|20px]]|
Line 11: Line 11:
 
</pre>
 
</pre>
 
{{ArchIcon|arch=Red}}{{ArchIcon|arch=Clear}}{{ArchIcon|arch=Teal}}{{ArchIcon|arch=Yellow}}{{ArchIcon|arch=Purple}}
 
{{ArchIcon|arch=Red}}{{ArchIcon|arch=Clear}}{{ArchIcon|arch=Teal}}{{ArchIcon|arch=Yellow}}{{ArchIcon|arch=Purple}}
 +
<pre>
 +
{{ArchIcon|arch=Red|size=15px}}{{ArchIcon|arch=Clear|size=15px}}{{ArchIcon|arch=Teal|size=15px}}{{ArchIcon|arch=Yellow|size=15px}}{{ArchIcon|arch=Purple|size=15px}}
 +
</pre>
 +
{{ArchIcon|arch=Red|size=15px}}{{ArchIcon|arch=Clear|size=15px}}{{ArchIcon|arch=Teal|size=15px}}{{ArchIcon|arch=Yellow|size=15px}}{{ArchIcon|arch=Purple|size=15px}}
 
</noinclude>
 
</noinclude>

Revision as of 22:10, 31 May 2022

Usage Example

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

Red Clear Teal Yellow Purple

{{ArchIcon|arch=Red|size=15px}}{{ArchIcon|arch=Clear|size=15px}}{{ArchIcon|arch=Teal|size=15px}}{{ArchIcon|arch=Yellow|size=15px}}{{ArchIcon|arch=Purple|size=15px}}

Red Clear Teal Yellow Purple