Template:CharLink: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Restrict size of unknown icons) |
HiddenDragon (talk | contribs) (Square up the icon) |
||
Line 1: | Line 1: | ||
<includeonly><span style="display: inline-block; vertical-align: middle; border: hidden; border-radius:50%; overflow: hidden; width: {{{w|25}}}px; height: {{{ | <includeonly><span style="display: inline-block; vertical-align: middle; border: hidden; border-radius:50%; overflow: hidden; width: {{{w|25}}}px; height: {{{w|25}}}px">{{Icon|{{#if:{{{icon|}}}|{{{icon}}}|Portrait {{{1}}}.png}}|{{{w|25}}}|link={{{1}}}}}</span> [[{{{1}}}|{{{2|{{{1}}}}}}]] {{#ifexist: File:{{#if:{{{icon|}}}|{{{icon}}}|Portrait {{{1}}}.png}} | | {{Main namespace only|[[Category:Pages with missing charlink portraits]]}} }}</includeonly><noinclude>This template will let you make character icons. So far it only supports those who have {{InfoBlob|File:Portrait {Name}.png}}. | ||
{{CharLink|Lae'zel}} | {{CharLink|Lae'zel}} | ||
Line 5: | Line 5: | ||
{{CharLink|Jaheira}} | {{CharLink|Jaheira}} | ||
{{CharLink|Volo|Volo (Alias)}} | {{CharLink|Volo|Volo (Alias)|w=40}} | ||
{{CharLink|Unknown Character}} | {{CharLink|Unknown Character}} |
Revision as of 23:33, 9 July 2024
This template will let you make character icons. So far it only supports those who have File:Portrait {Name}.png.
You can set the icon manually: {{CharLink|Spectator|icon=Edward-vanderghote-beholder.webp}}