Difference between revisions of "Template:Badge"

m
m
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>__NOTOC__
+
<noinclude>__NOTOC__ __NOEDITSECTION__
__NOEDITSECTION__
 
 
== Template Preview ==</noinclude>
 
== Template Preview ==</noinclude>
<div class = "user-badge" style = "padding: .2em 0; background: #333; color: #fff; display: inline-block; border: 1px solid #ddd; box-sizing: border-box; height:2em; overflow:hidden;"><span id = "badge" style = "color: {{{badge color|#fff}}}; float: left; margin: -0.6em 0em 0em 0em; font-size: 1.5em; background: {{{badge bcolor|#22b42e}}}; padding: .4em;border-top-right-radius: 100%; border-bottom-right-radius: 100%; cursor: default;">{{{badge symbol|⚉}}}</span><span id = "badge-text" style = "float: right; margin:0 .6em;">{{{badge text|Innocent Editor}}}</span></div>
+
<div class = "user-badge" style = "background: #333; margin:1.2em .5em 0.8em 0em; display:inline-block; border-bottom-left-radius: 15px;"><span id = "badge" style = "font-size: 2em; vertical-align: middle; line-height: 1em; border-top-right-radius: 40%; border-bottom-right-radius: 20%; border-bottom-left-radius: 40%; border: 2px solid #333; padding: 0em .25em; color: {{{badge color|#fff}}}; background:{{{badge bcolor|#22b42e}}};">{{{badge symbol|⚉}}}</span><span id = "badge-text" style = "color: #fff; padding: 0 .5em; font-size: 1em; vertical-align: middle;">{{{badge text|Badge text}}}</span></div><noinclude>
<noinclude>
 
 
== Explanation ==
 
== Explanation ==
 
The badge template is used to award badges throughout swyde. Mostly, this template is often used to grant badges to the users.
 
The badge template is used to award badges throughout swyde. Mostly, this template is often used to grant badges to the users.
Line 9: Line 7:
 
== Frequently Asked Questions ==
 
== Frequently Asked Questions ==
 
=== How to use this template? ===
 
=== How to use this template? ===
To create a badge, use the following template in appropriate contexts.
+
To create a custom badge, use the template by filling in the following parameters. If you remove a parameter completely, the default values will be loaded. If you remove a parameter empty, the value will be empty as well.
 
<pre>
 
<pre>
 
{{badge
 
{{badge
 
| badge symbol =
 
| badge symbol =
| badge color  
+
| badge color =
 
| badge bcolor =  
 
| badge bcolor =  
 
| badge text =  
 
| badge text =  
Line 34: Line 32:
 
}}
 
}}
 
=== Who can create badges? ===
 
=== Who can create badges? ===
Except for the verified badge, anyone can create any badges and award it to users who deserve it. Verified badges will be awarded to you once any of the administrators or bureaucrats confirm your credentials upon your request.
+
Anyone can create any badges and award it to users who deserve it.
  
 
=== What type of badges can be created? ===
 
=== What type of badges can be created? ===
Badges are supposed to encourage and motivate users to learn and explore. As long as the badges are positive, you can create any badges. Be as creative as you can.  
+
[[Swyde:Badges|Badges]] are designed to encourage and motivate users to learn and explore. As long as the badges are positive and encouraging, you can create any badges. Be as creative as you can. Before you decide to create one, please check the list of badges that are already created to avoid duplication.
 +
[[Category: User templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 09:09, 15 March 2017

Template Preview

Badge text

Explanation

The badge template is used to award badges throughout swyde. Mostly, this template is often used to grant badges to the users.

Frequently Asked Questions

How to use this template?

To create a custom badge, use the template by filling in the following parameters. If you remove a parameter completely, the default values will be loaded. If you remove a parameter empty, the value will be empty as well.

{{badge
| badge symbol =
| badge color =
| badge bcolor = 
| badge text = 
}}

The badge symbol parameter should be an UTF-8 character.

Example

{{badge
| badge symbol = ☢
| badge color = #000000
| badge bcolor = #fff700
| badge text = Nuclear Expert
}}

renders

Nuclear Expert

Who can create badges?

Anyone can create any badges and award it to users who deserve it.

What type of badges can be created?

Badges are designed to encourage and motivate users to learn and explore. As long as the badges are positive and encouraging, you can create any badges. Be as creative as you can. Before you decide to create one, please check the list of badges that are already created to avoid duplication.