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

Template:Avatar: Difference between revisions

Template page
Created page with "<onlyinclude><includeonly><div style="display: inline-block; width: {{#iferror:{{#expr:{{{2|100}}} + 1}}|100|{{#ifexpr:{{{2|100}}} > 16|{{#ifexpr:{{{2|100}}} > 150|150|{{{2|10..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
To use it, simply include the template name and the username of the user in the content.
To use it, simply include the template name and the username of the user in the content.
<pre>
<pre>
{{Template Name|Username}}
{{Avatar|Username}}
</pre>
</pre>
You can also change the size of the avatar (minimum size: 16 x 16px, maximum: 150 x 150px, default: 100 x 100px), (leave the px out) like so:
You can also change the size of the avatar (minimum size: 16 x 16px, maximum: 150 x 150px, default: 100 x 100px), (leave the px out) like so:
<pre>
<pre>
{{Template Name|Username|Size}}
{{Avatar|Username|Size}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 12:29, 15 October 2017


Using

To use it, simply include the template name and the username of the user in the content.

{{Avatar|Username}}

You can also change the size of the avatar (minimum size: 16 x 16px, maximum: 150 x 150px, default: 100 x 100px), (leave the px out) like so:

{{Avatar|Username|Size}}
Contents