Template:CharLink: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
(Restrict size of unknown icons)
Line 1: Line 1:
<includeonly><span style="display: inline-block; vertical-align: middle; border: hidden; border-radius:50%; overflow: hidden">{{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}}.
<includeonly><span style="display: inline-block; vertical-align: middle; border: hidden; border-radius:50%; overflow: hidden; width: {{{w|25}}}px; height: {{{h|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 6: Line 6:


{{CharLink|Volo|Volo (Alias)}}
{{CharLink|Volo|Volo (Alias)}}
{{CharLink|Unknown Character}}


You can set the icon manually: {{InfoBlob|<nowiki>{{CharLink|Spectator|icon=Edward-vanderghote-beholder.webp}}</nowiki>}}
You can set the icon manually: {{InfoBlob|<nowiki>{{CharLink|Spectator|icon=Edward-vanderghote-beholder.webp}}</nowiki>}}

Revision as of 16:50, 4 July 2024

This template will let you make character icons. So far it only supports those who have File:Portrait {Name}.png.

Lae'zel Lae'zel

Jaheira Jaheira

Volo Volo (Alias)

File:Portrait Unknown Character.png Unknown Character

You can set the icon manually: {{CharLink|Spectator|icon=Edward-vanderghote-beholder.webp}}

Spectator Spectator