Template:CharLink: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(CharLink should be link first, then (optional) alias after)
(Categorize pages with missing charlink portraits)
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}}}}}}]]</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">{{Icon|{{#if:{{{icon|}}}|{{{icon}}}|Portrait {{{1}}}.png}}|{{{w|25}}}|link={{{1}}}}}</span> [[{{{1}}}|{{{2|{{{1}}}}}}]]{{#ifexists: {{#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}}

Revision as of 20:03, 2 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{{#ifexists: Portrait Lae'zel.png | | }}

Jaheira Jaheira{{#ifexists: Portrait Jaheira.png | | }}

Volo Volo (Alias){{#ifexists: Portrait Volo.png | | }}

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

Spectator Spectator{{#ifexists: Edward-vanderghote-beholder.webp | | }}