Template:User Pet: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (final adjustment, sorry server)
m (Protected "Template:User Pet": High traffic page: Used over 250 times. ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| class="userboxitem" style="background: #{{{4|{{#switch:{{{1|cat}}}|dog|Dog=FF58A00
{| class="userboxitem" style="background: #{{{4|{{#switch:{{{1|rabbit}}}|dog|Dog=FF58A00
|cat|Cat=E6C772
|cat|Cat=E6C772
|parrot|Parrot|bird|Bird=A890f0
|parrot|Parrot|bird|Bird=A890f0
Line 11: Line 11:
|lizard|Lizard|frog|Frog=78C850
|lizard|Lizard|frog|Frog=78C850
|tarantula|Tarantula|spider|Spider=705898
|tarantula|Tarantula|spider|Spider=705898
|Echidna=FF5A00}}}}}; border: 1px solid #cca; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" cellspacing="0" cellpadding="0"
|Echidna=FF5A00}}}}}; border: 1px solid #cca; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" cellspacing="0" cellpadding="0"
{{#switch: {{{1|none}}}  
{{#switch: {{{1|none}}}  
|dog
|dog
|Dog=! style="background: #{{{3|FFA800}}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|058}}}.png|50px]]
|Dog=! style="background: #{{{3|FFA800}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|058}}}.png|50px]]
{{!}} style="color: #{{{5|110F0F}}};" {{!}} This user has a pet '''[[wp:{{{1|Dog}}}|<span style="color:#{{{5|110F0F}}}">{{{1|dog}}}</span>]]'''.
{{!}} style="color: #{{{5|110F0F}}};" {{!}} This user has a pet '''[[wp:{{{1|Dog}}}|<span style="color:#{{{5|110F0F}}}">{{{1|dog}}}</span>]]'''.
|cat
|cat
|Cat=! style="background: #{{{3|FFE1B2}}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|053}}}.png|50px]]
|Cat=! style="background: #{{{3|FFE1B2}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|053}}}.png|50px]]
{{!}} style="color: #{{{5|7E3F11}}};" {{!}} This user has a pet '''[[wp:{{{1|Cat}}}|<span style="color:#{{{5|7E3F11}}}">{{{1|cat}}}</span>]]'''.
{{!}} style="color: #{{{5|7E3F11}}};" {{!}} This user has a pet '''[[wp:{{{1|Cat}}}|<span style="color:#{{{5|7E3F11}}}">{{{1|cat}}}</span>]]'''.
|parrot
|parrot
|Parrot
|Parrot
|bird
|bird
|Bird=! style="background: #{{{3|BEC0FF}}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|441}}}.png|50px]]
|Bird=! style="background: #{{{3|BEC0FF}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|441}}}.png|50px]]
{{!}} style="color: #{{{5|21249E}}};" {{!}} This user has a pet '''[[wp:{{{1|Bird}}}|<span style="color:#{{{5|21249E}}}">{{{1|bird}}}</span>]]'''.
{{!}} style="color: #{{{5|21249E}}};" {{!}} This user has a pet '''[[wp:{{{1|Bird}}}|<span style="color:#{{{5|21249E}}}">{{{1|bird}}}</span>]]'''.
|turtle
|turtle
|Turtle=! style="background: #{{{3|98D8D8}}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|007}}}.png|50px]]
|Turtle=! style="background: #{{{3|98D8D8}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|007}}}.png|50px]]
{{!}} style="color: #{{{5|3C1D9F}}};" {{!}} This user has a pet '''[[wp:{{{1|Turtle}}}|<span style="color:#{{{5|3C1D9F}}}">{{{1|turtle}}}</span>]]'''.
{{!}} style="color: #{{{5|3C1D9F}}};" {{!}} This user has a pet '''[[wp:{{{1|Turtle}}}|<span style="color:#{{{5|3C1D9F}}}">{{{1|turtle}}}</span>]]'''.
|hamster
|hamster
|Hamster=! style="background: #{{{3|A8A878}}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|399}}}.png|50px]]
|Hamster=! style="background: #{{{3|A8A878}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|399}}}.png|50px]]
{{!}} style="color: #{{{5|A4752A}}};" {{!}} This user has a pet '''[[wp:{{{1|Hamster}}}|<span style="color:#{{{5|A4752A}}}">{{{1|hamster}}}</span>]]'''.
{{!}} style="color: #{{{5|A4752A}}};" {{!}} This user has a pet '''[[wp:{{{1|Hamster}}}|<span style="color:#{{{5|A4752A}}}">{{{1|hamster}}}</span>]]'''.
|guinea pig
|guinea pig
|Guinea pig
|Guinea Pig=! style="background: #{{{3|A8A878}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|399}}}.png|50px]]
|Guinea Pig=! style="background: #{{{3|A8A878}}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|399}}}.png|50px]]
{{!}} style="color: #{{{5|A4752A}}};" {{!}} This user has a pet '''[[wp:{{{1|Guinea Pig}}}|<span style="color:#{{{5|A4752A}}}">{{{1|guinea pig}}}</span>]]'''.
{{!}} style="color: #{{{5|A4752A}}};" {{!}} This user has a pet '''[[wp:{{{1|Guinea Pig}}}|<span style="color:#{{{5|A4752A}}}">{{{1|guinea pig}}}</span>]]'''.
|rabbit
|rabbit
|Rabbit=! style="background: #{{{3|DA9C4B}}} {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|427}}}.png|50px]]
|Rabbit=! style="background: #{{{3|FFE1B2}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|427}}}.png|50px]]
{{!}} style="color: #{{{5|DFA928}}};" {{!}} This user has a pet '''[[wp:{{{1|Rabbit}}}|<span style="color:#{{{5|DFA928}}}">{{{1|rabbit}}}</span>]]'''.
{{!}} style="color: #{{{5|7E3F11}}};" {{!}} This user has a pet '''[[wp:{{{1|Rabbit}}}|<span style="color:#{{{5|7E3F11}}}">{{{1|rabbit}}}</span>]]'''.
|mouse
|mouse
|Mouse=! style="background: #{{{3|F1E7D7}}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|019}}}.png|50px]]
|Mouse=! style="background: #{{{3|F1E7D7}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|019}}}.png|50px]]
{{!}} style="color: #{{{5|A4752A}}};" {{!}} This user has a pet '''[[wp:{{{1|Mouse}}}|<span style="color:#{{{5|A4752A}}}">{{{1|mouse}}}</span>]]'''.
{{!}} style="color: #{{{5|A4752A}}};" {{!}} This user has a pet '''[[wp:{{{1|Mouse}}}|<span style="color:#{{{5|A4752A}}}">{{{1|mouse}}}</span>]]'''.
|ferret
|ferret
|Ferret=! style="background: #{{{3|E8D38A}}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|162}}}.png|50px]]
|Ferret=! style="background: #{{{3|E8D38A}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|162}}}.png|50px]]
{{!}} style="color: #{{{5|9C6823}}};" {{!}} This user has a pet '''[[wp:{{{1|Ferret}}}|<span style="color:#{{{5|9C6823}}}">{{{1|ferret}}}</span>]]'''.
{{!}} style="color: #{{{5|9C6823}}};" {{!}} This user has a pet '''[[wp:{{{1|Ferret}}}|<span style="color:#{{{5|9C6823}}}">{{{1|ferret}}}</span>]]'''.
|fish
|fish
|Fish=! style="background: #{{{3|B9F4FF}}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|457}}}.png|50px]]
|Fish=! style="background: #{{{3|B9F4FF}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|457}}}.png|50px]]
{{!}} style="color: #{{{5|CC4598}}};" {{!}} This user has a pet '''[[wp:{{{1|Fish}}}|<span style="color:#{{{6|CC4598}}}">{{{1|fish}}}</span>]]'''.
{{!}} style="color: #{{{5|CC4598}}};" {{!}} This user has a pet '''[[wp:{{{1|Fish}}}|<span style="color:#{{{6|CC4598}}}">{{{1|fish}}}</span>]]'''.
|snake
|snake
|Snake=! style="background: #{{{3|A040A0}}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|336}}}.png|50px]]
|Snake=! style="background: #{{{3|A040A0}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|336}}}.png|50px]]
{{!}} style="color: #{{{5|471749}}};" {{!}} This user has a pet '''[[wp:{{{1|Snake}}}|<span style="color:#{{{5|471749}}}">{{{1|snake}}}</span>]]'''.
{{!}} style="color: #{{{5|471749}}};" {{!}} This user has a pet '''[[wp:{{{1|Snake}}}|<span style="color:#{{{5|471749}}}">{{{1|snake}}}</span>]]'''.
|lizard
|lizard
|Lizard=! style="background: #{{{3|66D570}}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|352}}}.png|50px]]
|Lizard=! style="background: #{{{3|66D570}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|352}}}.png|50px]]
{{!}} style="color: #{{{5|2B7A32}}};" {{!}} This user has a pet '''[[wp:{{{1|Lizard}}}|<span style="color:#{{{5|2B7A32}}}">{{{1|lizard}}}</span>]]'''.
{{!}} style="color: #{{{5|2B7A32}}};" {{!}} This user has a pet '''[[wp:{{{1|Lizard}}}|<span style="color:#{{{5|2B7A32}}}">{{{1|lizard}}}</span>]]'''.
|frog
|frog
|Frog=! style="background: #{{{3|C2F678}}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|186}}}.png|50px]]
|Frog=! style="background: #{{{3|C2F678}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|186}}}.png|50px]]
{{!}} style="color: #{{{5|566A39}}};" {{!}} This user has a pet '''[[wp:{{{1|Frog}}}|<span style="color:#{{{5|566A39}}}">{{{1|frog}}}</span>]]'''.
{{!}} style="color: #{{{5|566A39}}};" {{!}} This user has a pet '''[[wp:{{{1|Frog}}}|<span style="color:#{{{5|566A39}}}">{{{1|frog}}}</span>]]'''.
|tarantula
|tarantula
|Tarantula
|Tarantula
|spider
|spider
|Spider=! style="background: #{{{3|A040A0}}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|168}}}.png|50px]]
|Spider=! style="background: #{{{3|A040A0}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|168}}}.png|50px]]
{{!}} style="color: #{{{5|3D2455}}};" {{!}} This user has a pet '''[[wp:{{{1|Frog}}}|<span style="color:#{{{5|3D2455}}}">{{{1|frog}}}</span>]]'''.
{{!}} style="color: #{{{5|3D2455}}};" {{!}} This user has a pet '''[[wp:{{{1|Frog}}}|<span style="color:#{{{5|3D2455}}}">{{{1|frog}}}</span>]]'''.
|Echidna=! style="background: #FF9A00; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:155.png|50px]]
|Echidna=! style="background: #FF9A00; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:Spr_4d_155.png|50px]]
{{!}} style="color: #F9F9E9; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} This user has a pet '''[[User:TTEchidna|<span style="color:#F9F9E9">Echidna</span>]]'''.
{{!}} style="color: #F9F9E9; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} This user has a pet '''[[User:TTEchidna|<span style="color:#F9F9E9">Echidna</span>]]'''.
|{{{1}}}=! style="background: #{{{3|FFE1B2}}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|052}}}.png|50px]]
|{{{1}}}=! style="background: #{{{3|FFE1B2}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|052}}}.png|50px]]
{{!}} style="color: #{{{5|7E3F11}}};" {{!}} This user has a pet '''[[wp:{{{1|Cat}}}|<span style="color:#{{{5|7E3F11}}} {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}">{{{1|cat}}}</span>]]'''.
{{!}} style="color: #{{{5|7E3F11}}};" {{!}} This user has a pet '''[[wp:{{{1|cat}}}|<span style="color:#{{{5|7E3F11}}} {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}">{{{1|cat}}}</span>]]'''.
|none=! style="background: #{{{3|FFE1B2}}}; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" {{!}} [[Image:{{{2|053}}}.png|50px]]
|none=! style="background: #{{{3|FFE1B2}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} [[Image:{{{2|053}}}.png|50px]]
{{!}} style="color: #{{{5|7E3F11}}} {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}};" {{!}} This user has a pet.}}
{{!}} style="color: #{{{5|7E3F11}}} {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" {{!}} This user has a pet.}}
|}<noinclude>
|}<noinclude>
[[Category:Personal information tags]]
[[Category:Personal information tags]]
Line 81: Line 80:
And also optional, the third, fourth, and fifth variables will respectively change the colors of the image background, text background, and text color.
And also optional, the third, fourth, and fifth variables will respectively change the colors of the image background, text background, and text color.


A listing of preset pets:
Some animals have preset colors and pictures. If yours isn't on this list, all you need to do is write:
<nowiki>{{User Pet|animal|001}}</nowiki>
 
And change the number depending on what sprite you want.


*Cat
*Cat
Line 123: Line 125:


*Turtle
*Turtle
{{User Pet|turtle}}</noinclude>
{{User Pet|turtle}}
 
*Rock
{{User Pet|rock|074}}</noinclude>

Latest revision as of 13:22, 24 December 2011

053.png This user has a pet.

To put in the type of pet you have, fill in the type of pet you have in the first variable, like so:

{{User Pet|cat}}

The template will automatically switch the colors and picture to match.

You can also optionally change the second variable if you'd like a different picture, like so:

{{User Pet|cat|052}}

And also optional, the third, fourth, and fifth variables will respectively change the colors of the image background, text background, and text color.

Some animals have preset colors and pictures. If yours isn't on this list, all you need to do is write:

{{User Pet|animal|001}}

And change the number depending on what sprite you want.

  • Cat
053.png This user has a pet cat.
  • Dog
058.png This user has a pet dog.
  • Mouse
019.png This user has a pet mouse.
  • Rabbit
427.png This user has a pet rabbit.
  • Bird (or Parrot)
441.png This user has a pet bird.
  • Lizard
352.png This user has a pet lizard.
  • Frog
186.png This user has a pet frog.
  • Fish
457.png This user has a pet fish.
  • Guinea Pig
399.png This user has a pet guinea pig.
  • Hamster
399.png This user has a pet hamster.
  • Snake
336.png This user has a pet snake.
  • Spider (or Tarantula)
168.png This user has a pet spider.
  • Ferret
162.png This user has a pet ferret.
  • Turtle
007.png This user has a pet turtle.
  • Rock
074.png This user has a pet rock.