• New article from the Springfield Shopper: The Simpsons are trapped on a flight from Hell this December!
  • New article from the Springfield Shopper: A Sneak Peek for “Treehouse of Horror Presents: Simpsons Wicked This Way Comes” has been released!
  • New article from the Springfield Shopper: Season 36 News: Even more Preview Images for “O C’mon All Ye Faithful” have been released!
  • Wikisimpsons needs more Featured Article, Picture, Quote, Episode and Comprehensive article nominations!
  • Wikisimpsons has a Discord server! Click here for your invite! Join to talk about the wiki, Simpsons and Tapped Out news, or just to talk to other users.
  • Make an account! It's easy, free, and your work on the wiki can be attributed to you.
TwitterFacebookDiscord

Difference between revisions of "Template:User Favorite Character"

Wikisimpsons - The Simpsons Wiki
m
 
Line 1: Line 1:
{{Userbox|[[File:{{{image|{{{1|Homer Simpson}}}}}}.{{{ext|png}}}|40px|link={{{1|Homer Simpson}}}]]|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:
  
<nowiki>{{User Favorite Character|Character name}}</nowiki>
+
<pre>{{User Favorite Character|Character name}}</pre>
  
 
If the image is under a different name to the page, you can type:
 
If the image is under a different name to the page, you can type:
  
<nowiki>{{User Favorite Character|Character name|image=Image name}}</nowiki>
+
<pre>{{User Favorite Character|Character name|image=Image name}}</pre>
  
 
If the file extension is not .png, you can type:
 
If the file extension is not .png, you can type:
  
<nowiki>{{User Favorite Character|Character name|image=Image name|ext=jpg}}</nowiki>
+
<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

Homer Simpson.png
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}}