Template:Avatar: Difference between revisions
Template page
More actions
LightSwitch (talk | contribs) 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..." |
LightSwitch (talk | contribs) 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> | ||
{{ | {{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> | ||
{{ | {{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}}