Template:User Age: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Celebi fits better, as not everyone is a ten-year-old guy. Also, you can always change it when you put it on your page.)
m (Protected "Template:User Age": Regular users shouldn't be editing these due to the traffic they can cause. ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(16 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{| class="userboxitem" style="border: 1px solid #374;" cellspacing="0" cellpadding="0"
{| class="userboxitem" style="border: 1px solid #374; background: #{{{5|{{grass color}}}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" cellspacing="0" cellpadding="0"
! style="background: #{{{3|9e9}}};" | [[Image:{{{2|251}}}.png|50px]]
! style="background: #{{{4|9e9}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" | [[Image:{{{2|251}}}.png|{{{3|60}}}px|link=]]
| style="background: #{{{4|{{grass color}}}}}; color: #374;" | This user is '''[[wp:{{{1}}} (number)#Age {{{1}}}|<span style="color: #{{{5|00A550}}};">{{{1}}}</span>]]''' years old.
| style="color: #374;" | This user is '''[[wp:{{#switch:{{{1|}}}|={{#expr:({{CURRENTYEAR}})-({{{year|2001}}})-(({{CURRENTMONTH}})<({{{month|02}}})or({{CURRENTMONTH}})=({{{month|02}}})and({{CURRENTDAY}})<({{{day|17}}}))}}|{{{1}}}}} (number)#Age {{#switch:{{{1|}}}|={{#expr:({{CURRENTYEAR}})-({{{year|2001}}})-(({{CURRENTMONTH}})<({{{month|02}}})or({{CURRENTMONTH}})=({{{month|02}}})and({{CURRENTDAY}})<({{{day|17}}}))}}|{{{1}}}}}|<span style="color: #{{{6|00A550}}};">{{#switch:{{{1|}}}|={{#expr:({{CURRENTYEAR}})-({{{year|2001}}})-(({{CURRENTMONTH}})<({{{month|02}}})or({{CURRENTMONTH}})=({{{month|02}}})and({{CURRENTDAY}})<({{{day|17}}}))}}|{{{1}}}}}</span>]]''' years old.
|}<noinclude><br>Example:
|}<noinclude>'''How to change'''


{{User Age|10}} [[Category:Other tags]]</noinclude>
Begin with <nowiki>{{User Age|</nowiki>.
 
For each of the other fields, put in information as follows in order:
 
#Your age.
#An image on the [[Bulbagarden Archives|Archives]] with the extension of png.
#A size if the image in question is too large or too small.
#A background color.
#Another background color.
#The link's text color.
 
If you want your age to be updated automatically every year then leave the first field ("Your age") blank and add:<br>
year=your birth year<br>
month=your birth month<br>
day=your birth day<br>
 
For example, if you entered the following:
 
<nowiki>{{User Age|10|Emerald May|25|86E575|fff}}</nowiki>
 
It should come out like this:
 
{{User Age|10|Emerald May|25|86E575|fff}}
 
Or if you enter the following:
 
<nowiki>{{User Age||Emerald May|25|86E575|fff|year=2001|month=02|day=17}}</nowiki>
 
It should come out like this:
 
{{User Age||Emerald May|25|86E575|fff|year=2001|month=02|day=17}}
 
[[Category:Personal information tags]]</noinclude>

Latest revision as of 07:50, 1 February 2012

251.png This user is 23 years old.

How to change

Begin with {{User Age|.

For each of the other fields, put in information as follows in order:

  1. Your age.
  2. An image on the Archives with the extension of png.
  3. A size if the image in question is too large or too small.
  4. A background color.
  5. Another background color.
  6. The link's text color.

If you want your age to be updated automatically every year then leave the first field ("Your age") blank and add:
year=your birth year
month=your birth month
day=your birth day

For example, if you entered the following:

{{User Age|10|Emerald May|25|86E575|fff}}

It should come out like this:

Emerald May.png This user is 10 years old.

Or if you enter the following:

{{User Age||Emerald May|25|86E575|fff|year=2001|month=02|day=17}}

It should come out like this:

Emerald May.png This user is 23 years old.