Difference between revisions of "Template:ArchIcon"
(allow for size specification (default 20px)) |
(adding alt text (for screen readers), caption text (hover-over text)) |
||
Line 1: | Line 1: | ||
− | <includeonly>[[File:Arch{{{arch}}}.png|{{{size|20px}}}|link=]]<!-- | + | <includeonly>[[File:Arch{{{arch}}}.png|{{{size|20px}}}|link=|alt={{{arch}}}|{{{arch}}}]]<!-- |
{{#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]]| |
Revision as of 01:24, 1 June 2022
Usage Example
{{ArchIcon|arch=Red}}{{ArchIcon|arch=Clear}}{{ArchIcon|arch=Teal}}{{ArchIcon|arch=Yellow}}{{ArchIcon|arch=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}}