Difference between revisions of "Template:ArchIcon"
(I don't think we need all these if clauses. The template works fine by just taking arch directly.) |
(noinclude error) |
||
Line 5: | Line 5: | ||
{{#ifeq:{{{arch}}}|Teal| [[File:ArchTeal.png|20px]]| | {{#ifeq:{{{arch}}}|Teal| [[File:ArchTeal.png|20px]]| | ||
{{#ifeq:{{{arch}}}|Clear| [[File:ArchClear.png|20px]]|}}}}}}}}}}--><!-- | {{#ifeq:{{{arch}}}|Clear| [[File:ArchClear.png|20px]]|}}}}}}}}}}--><!-- | ||
− | {{#if:{{{arch|}}}|[[File: Arch{{{arch}}}.png|20px]]}}--></includeonly> | + | {{#if:{{{arch|}}}|[[File: Arch{{{arch}}}.png|20px]]}}--></includeonly><noinclude> |
− | <noinclude> | ||
=== Usage Example === | === Usage Example === | ||
<pre> | <pre> |
Revision as of 22:09, 31 May 2022
Usage Example
{{ArchIcon|arch=Red}}{{ArchIcon|arch=Clear}}{{ArchIcon|arch=Teal}}{{ArchIcon|arch=Yellow}}{{ArchIcon|arch=Purple}}