Template:UserTag: Difference between revisions

From Xenharmonic Reference
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div style="
<includeonly><div style="/* everything goes in one horrible line because sometimes line breaks display dghfsa;glkjhfdlgkfdjhg */ display: flex; align-items: flex-start; gap: 0.5em;">[[User:{{{2}}}|<span style=" --s: color-mix(in srgb, #{{{3}}} 50%, #000 50%); /* use color-mix instead of rgba to avoid visible overlapping */ display: inline-block; text-align: center; padding: 0.2em; min-width: 1.5em; height: 1.5em; color: #fff; box-shadow: inset  1px  1px 0 rgba(255,255,255,0.5), inset -1px -1px 0 rgba(0,0,0,0.5); text-shadow: -1px -1px 2px var(--s), 1px -1px 2px var(--s), -1px 1px 2px var(--s), 1px 1px 2px var(--s);background: #{{{3}}};">{{{1}}}</span>]]<div style="color: color-mix(in srgb, #{{{3}}} 33%, currentColor 67%);">{{{4}}}</div></div></includeonly>
display: flex;
align-items: flex-start;
gap: 0.5em;
">[[User:{{{2}}}|<span style="
--s: color-mix(in srgb, #{{{3}}} 50%, #000 50%); /* use color-mix instead of rgba to avoid visible overlapping */
display: inline-block;
text-align: center;
padding: 0.2em;
min-width: 1.5em;
height: 1.5em;
color: #fff;
box-shadow:
inset  1px  1px 0 rgba(255,255,255,0.5),
inset -1px -1px 0 rgba(0,0,0,0.5);
text-shadow:
-1px -1px 2px var(--s),
1px -1px 2px var(--s),
-1px 1px 2px var(--s),
1px 1px 2px var(--s);
background: #{{{3}}};
">{{{1}}}</span>]]<div style="
color: color-mix(in srgb, #{{{3}}} 33%, currentColor 67%);
">{{{4}}}</div></div></includeonly>
<noinclude>
<noinclude>
UserTag should be used to indicate any user writing in first-person.
UserTag should be used to indicate any user writing in first-person.

Revision as of 02:34, 10 June 2026


UserTag should be used to indicate any user writing in first-person.

{{UserTag|g|GeorgeLopez|eeff66|I'm from TV.
One million edo.}}
  1. User tag, ideally one or two letters
  2. Username for the link to the user page
  3. Hex color without #
  4. Text block assigned to the tag