Jump to content

Template:User badge: Difference between revisions

From NixOS Wiki
DoggoBit (talk | contribs)
No edit summary
DoggoBit (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>{{Box|extraStyle="flex-grow: 1;"|color={{{color|var(--color-base)}}}|background={{{background|var(--background-color-neutral-subtle)}}}|borderColor={{{var(--border-color-muted)|}}}|1=<div style="display: flex; gap: 0.6rem;"><div style="font-size: 200%; align-items: center;">{{unicon|{{{icon}}}}}</div><div style="flex-grow: 1;">'''{{{1}}}'''{{#if:{{{2|}}}|<br>{{{2}}}|}}</div></div>}}</includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly>{{Box|extraStyle=flex-grow: 1;|color={{{color|var(--color-base)}}}|background={{{background|var(--background-color-neutral-subtle)}}}|borderColor={{{var(--border-color-muted)|}}}|1=<div style="display: flex; gap: 0.6rem;"><div style="font-size: 200%; align-items: center;">{{unicon|{{{icon}}}}}</div><div style="flex-grow: 1;">'''{{{1}}}'''{{#if:{{{2|}}}|<br>{{{2}}}|}}</div></div>}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 23:02, 8 June 2025

Template Documentation [edit source| uses| help]

This template is used to display user badges. This is a fun functionality to allow users to display information about their wiki activity, such as belonging to a specific WikiProject. This template shouldn't be used directly, it should be used in sub-templates created as sub-pages to this template. For example, {{user badge/wikiproject popular boards}}.

♥︎
Template lover
This user loves Templates

Usage

Include the specific badge you want into your user page. For example:

{{user badge/wikiproject popular boards}}
⟚︎
WikiProject Popular Boards
This user is interested in development boards.