Difference between revisions of "Template:Avatar"
m (Change to Template:From other wiki) |
m (+.cn) (Tag: Automation tool) |
||
Line 1: | Line 1: | ||
− | <includeonly><img src="https://commons.moegirl.org/extensions/Avatar/avatar.php?user={{{user|{{{1}}}}}}" style="width:{{#if:{{{width|{{{size|}}}}}}|{{{width|{{{size}}}}}}|80px}};height:auto;{{{style}}}" /></includeonly> | + | <includeonly><img src="https://commons.moegirl.org.cn/extensions/Avatar/avatar.php?user={{{user|{{{1}}}}}}" style="width:{{#if:{{{width|{{{size|}}}}}}|{{{width|{{{size}}}}}}|80px}};height:auto;{{{style}}}" /></includeonly> |
<noinclude>{{Documentation|content= | <noinclude>{{Documentation|content= | ||
{{From other wiki|Chinese Moegirlpedia}} | {{From other wiki|Chinese Moegirlpedia}} |
Revision as of 14:22, 8 October 2020
Template Documentation [Edit]
This is an in-line documentation.
This template was originally from page Template:Avatar in Chinese Moegirlpedia, and the license might be different from English Moegirlpedia. The contents might differ after being modified by different users on both sides. For more information, see Moegirlpedia:Copyrights.
|
Insert a user's avatar.
Usage
{{Avatar|user=Username|size=Image size|style=Additional CSS styles}}
Example
{{Avatar|user=Baskice|size=100px|style=border:4px solid white;border-radius:50%;box-shadow:0px 0px 8px gray;}}
Result: