Template:User Age: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary
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)))
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="userboxitem" style="border: 1px solid #374; background: #{{{5|{{grass color}}}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" 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: #{{{4|9e9}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" | [[Image:{{{2|251}}}.png|{{{3|60}}}px]]
! style="background: #{{{4|9e9}}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" | [[Image:{{{2|251}}}.png|{{{3|60}}}px|link=]]
| style="color: #374;" | This user is '''[[wp:{{{1}}} (number)#Age {{{1}}}|<span style="color: #{{{6|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>'''How to change'''
|}<noinclude>'''How to change'''


Line 14: Line 14:
#Another background color.
#Another background color.
#The link's text 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:
For example, if you entered the following:


<nowiki>{{User Age|10|Emerald May|25|86E575|000)}}</nowiki>
<nowiki>{{User Age|10|Emerald May|25|86E575|fff}}</nowiki>


It should come out like this:
It should come out like this:


{{User Age|10|Emerald May|25|86E575|000)}}[[Category:Personal information tags]]</noinclude>
{{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.