Difference between revisions of "Template:User Favorite Character"
Wikisimpsons - The Simpsons Wiki
Solar Dragon (talk | contribs) (Created page with "{{Userbox|[[File:{{{1|Homer Simpson}}}.png|40px]]|This user's favorite character is [[{{{1|Homer Simpson}}}]].}}<noinclude> == Usage == Homer is the default. To change charac...") |
m |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Userbox|[[File:{{{1|Homer Simpson}}}.png|40px]]|This user's favorite character is [[{{{1|Homer Simpson}}}]].}}<noinclude> | + | {{Userbox|[[File:{{{image|{{{1|Homer Simpson}}}}}}.{{{ext|png}}}|{{{size|40px}}}|link={{{1|Homer Simpson}}}]]|This user's favorite character is [[{{{1|Homer Simpson}}}]].}}<noinclude> |
== Usage == | == Usage == | ||
Homer is the default. To change character, just type: | Homer is the default. To change character, just type: | ||
− | < | + | <pre>{{User Favorite Character|Character name}}</pre> |
+ | |||
+ | If the image is under a different name to the page, you can type: | ||
+ | |||
+ | <pre>{{User Favorite Character|Character name|image=Image name}}</pre> | ||
+ | |||
+ | If the file extension is not .png, you can type: | ||
+ | |||
+ | <pre>{{User Favorite Character|Character name|image=Image name|ext=jpg}}</pre> | ||
+ | |||
+ | If you want the image with an other size to the default one (40px), you can type: | ||
+ | |||
+ | <pre>{{User Favorite Character|Character name|size=?px}} | ||
+ | |||
+ | {{User Favorite Character|Character name|image=Image name|size=?px}} | ||
+ | |||
+ | {{User Favorite Character|Character name|image=Image name|ext=jpg|size=?px}}</pre> | ||
− | |||
[[Category:Templates]][[Category:Userbox templates]]</noinclude> | [[Category:Templates]][[Category:Userbox templates]]</noinclude> |
Latest revision as of 08:27, December 28, 2014
|
This user's favorite character is Homer Simpson. |
Usage[edit]
Homer is the default. To change character, just type:
{{User Favorite Character|Character name}}
If the image is under a different name to the page, you can type:
{{User Favorite Character|Character name|image=Image name}}
If the file extension is not .png, you can type:
{{User Favorite Character|Character name|image=Image name|ext=jpg}}
If you want the image with an other size to the default one (40px), you can type:
{{User Favorite Character|Character name|size=?px}} {{User Favorite Character|Character name|image=Image name|size=?px}} {{User Favorite Character|Character name|image=Image name|ext=jpg|size=?px}}