Difference between revisions of "Template:ASG"

From Geohashing
imported>Tjtrumpet2323
(fixing - will now accept pre-1970 dates :) ... this is a breaking change, so i'll be nice and go around to userpages next... it was my fault anyway :()
imported>Tjtrumpet2323
Line 1: Line 1:
<includeonly>{{ #if: {{{age|}}}
+
<includeonly>{{ #if: {{{age|}}} | {{#vardefine:age|{{{age}}}}} | {{#vardefine:age|{{age|{{{Y|{{CURRENTYEAR}}}}}|{{{m|{{CURRENTMONTH}}}}}|{{{d|{{CURRENTDAY2}}}}}}}}} }}<div style="border: 1px solid #ddd; float: right; font-size: 20px; width: 238px;">[[Image:Lol-asg.png|60px]] {{#var:age}} / {{{gender}}} / [[{{{lat}}},{{{lon}}}]]</div>{{#switch: {{PAGENAME}}
| <div style="border: 1px solid #ddd; float: right; font-size: 20px; width: 238px;">[[Image:Lol-asg.png|60px]] {{{age}}} / {{{gender}}} / [[{{{lat}}},{{{lon}}}]]</div>
 
| <div style="border: 1px solid #ddd; float: right; font-size: 20px; width: 238px;">[[Image:Lol-asg.png|60px]] {{age|{{{Y|{{CURRENTYEAR}}}}}|{{{m|{{CURRENTMONTH}}}}}|{{{d|{{CURRENTDAY2}}}}}}} / {{{gender}}} / [[{{{lat}}},{{{lon}}}]]</div>
 
}}
 
{{#switch: {{PAGENAME}}
 
 
  | ASG = <div style="font-size: 90%;">Created by [[User:Phyzome|Phyzome]] and [[User:Tjtrumpet2323|Tjtrumpet2323]].</div>
 
  | ASG = <div style="font-size: 90%;">Created by [[User:Phyzome|Phyzome]] and [[User:Tjtrumpet2323|Tjtrumpet2323]].</div>
 
  | ASG/Documentation = <div style="font-size: 90%;">Created by [[User:Phyzome|Phyzome]] and [[User:Tjtrumpet2323|Tjtrumpet2323]].</div>
 
  | ASG/Documentation = <div style="font-size: 90%;">Created by [[User:Phyzome|Phyzome]] and [[User:Tjtrumpet2323|Tjtrumpet2323]].</div>
 
  | #default = [[Category:Geohashers|{{PAGENAME}}]][[Category:Geohashers in {{{lat}}},{{{lon}}}|{{PAGENAME}}]]
 
  | #default = [[Category:Geohashers|{{PAGENAME}}]][[Category:Geohashers in {{{lat}}},{{{lon}}}|{{PAGENAME}}]]
 
}}</includeonly><noinclude>{{ASG/Documentation}}</noinclude>
 
}}</includeonly><noinclude>{{ASG/Documentation}}</noinclude>

Revision as of 18:52, 8 July 2008