Difference between revisions of "Template: COA"
From A Wiki of Ice and Fire
m |
m |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#switch: {{{2|}}} | + | {{#ifeq:{{{1|}}}|Unknown|[[File:None.svg|link=|alt=Arms unknown|{{#switch: {{{2|}}} |
− | | small = [[File: | + | | small = 32px{{!}} |
− | | medium = [[File:{{{1}}}. | + | | medium = 100px{{!}} |
− | | large = [[File:{{{1}}}. | + | | large = 250px{{!}} |
− | | #default = [[File:{{{1}}}. | + | }}]]|{{#switch: {{{2|}}} |
− | }}<noinclude> | + | | small = [[File:{{{1}}}.svg|32px|link={{{3|{{ucfirst:{{{1|}}} }} }}}|alt={{{3|{{ucfirst:{{{1|}}} }} }}}]] |
+ | | medium = [[File:{{{1}}}.svg|100px|link={{{3|}}}|alt={{{3|}}}]] | ||
+ | | large = [[File:{{{1}}}.svg|250px|link={{{3|}}}|alt={{{3|}}}]] | ||
+ | | #default = [[File:{{{1}}}.svg|{{{2|}}}|link={{{3|}}}|alt={{{3|}}}]] | ||
+ | }}}}<noinclude> | ||
+ | ==Usage== | ||
+ | For the small 32x32 icons use it with icon name, for example to add use ''32x32 Peckledon.svg'' (As long as image named in a consistent way this stays vary simple) | ||
+ | <pre>{{COA|Peckledon|small}}</pre> | ||
+ | |||
+ | Options to use medium (the current 100px size), large (for House articles) and custom, will be added as well. | ||
+ | |||
+ | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 15:50, 4 October 2018
[[File:{{{1}}}.svg||link=|alt=]]
Usage
For the small 32x32 icons use it with icon name, for example to add use 32x32 Peckledon.svg (As long as image named in a consistent way this stays vary simple)
{{COA|Peckledon|small}}
Options to use medium (the current 100px size), large (for House articles) and custom, will be added as well.