Difference between revisions of "Template:ASG"
From Geohashing
imported>Tjtrumpet2323 (adding decade-based age categorisation) |
imported>Tjtrumpet2323 |
||
Line 1: | Line 1: | ||
− | <includeonly>{{ #if: {{{age|}}} | {{#vardefine:age|{{{age}}}}} | {{#vardefine:age|{{age|{{{Y|{{CURRENTYEAR}}}}}|{{{m|{{CURRENTMONTH}}}}}|{{{d|{{CURRENTDAY2}}}}}}} | + | <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]] {{#var:age}} / {{{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 {{{ | + | | #default = [[Category:Geohashers|{{PAGENAME}}]][[Category:Geohashers in their {{#expr:{{#var:age}} - ({{#var:age}} mod 10)}}s|{{#expr:{{#var:age}} mod 10}}]][[Category:Geohashers in {{{lat}}},{{{lon}}}|{{PAGENAME}}]] |
}}</includeonly><noinclude>{{ASG/Documentation}}</noinclude> | }}</includeonly><noinclude>{{ASG/Documentation}}</noinclude> |