Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:CharacterIcon: Difference between revisions

Template page
The link on the image did not link the correct page if parameter 4 was used
mNo edit summary
Line 1: Line 1:
<includeonly><div style="background-color: var(--theme-background-color--secondary); border-radius: 1rem; display: inline-block; margin: .2rem; text-align: center;>[[File:{{{1}}} ({{{2}}} {{{3}}} portrait).png|100px|link={{#if:{{{4|}}}|{{{4}}}|{{{1}}}}}]]<br />{{#if:{{{4|}}}|[[{{{4}}}{{!}}{{{5}}}]]|[[{{{1}}}]]}}</div></includeonly><noinclude>[[Category:Icon templates]]</noinclude>
<includeonly><div style="background-color: var(--theme-background-color--secondary); border-radius: 1rem; display: inline-block; margin: .2rem; text-align: center; padding: .4rem;">
[[File:{{{1}}} ({{{2}}} {{{3}}} portrait).png|100px|link={{{4|{{{1}}}}}}]]
<br />
[[{{{4|{{{1}}}}}}|{{{5|{{{1}}}}}}]]
</div>
</includeonly><noinclude>[[Category:Icon templates]]</noinclude>

Revision as of 10:13, 4 November 2025