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|display=flex|1={{unicon|{{{icon}}}}}<div style="flex-grow: 1;">'''{{{2}}}'''{{#if:{{{3|}}}|<br>{{{3}}}|}}</div>}}</includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly>{{Box|display=flex|color={{{color|}}}|background={{{background|}}}|borderColor={{{borderColor|}}}|1={{unicon|{{{icon}}}}}<div style="flex-grow: 1;">'''{{{1}}}'''{{#if:{{{2|}}}|<br>{{{2}}}|}}</div>}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 22:45, 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.