Difference between revisions of "Template:User Singapore"

From Geohashing
imported>R0d3n7z
m
m (changing cat)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="float: left; border: solid lightgrey 1px; margin: 1px;">
+
<div style="float: right; border: solid lightgrey 1px; margin: 1px;">
 
{| cellspacing="0" style="width: 238px; background: white;"
 
{| cellspacing="0" style="width: 238px; background: white;"
 
| style="width: 45px; height: 45px; background: lightgrey; text-align: center; font-size: {{{5|{{{id-s|14}}}}}}pt; color: {{{id-fc|black}}};" | '''[[Image:Flag of Singapore.png|40px]]'''
 
| style="width: 45px; height: 45px; background: lightgrey; text-align: center; font-size: {{{5|{{{id-s|14}}}}}}pt; color: {{{id-fc|black}}};" | '''[[Image:Flag of Singapore.png|40px]]'''
 
| style="font-size: {{{info-s|8}}}pt; padding: 4pt; line-height: 1.25em; color: {{{info-fc|black}}};" | This geohasher {{#switch:{{{status|}}}|r=lives in '''[[Singapore, Singapore|Singapore]]'''|sr=is a Singaporean living in '''[[Singapore, Singapore|Singapore]]'''|so=is a Singaporean living outside '''[[Singapore, Singapore|Singapore]]'''|is '''[[Singapore, Singapore|Singapore]]an'''}}.
 
| style="font-size: {{{info-s|8}}}pt; padding: 4pt; line-height: 1.25em; color: {{{info-fc|black}}};" | This geohasher {{#switch:{{{status|}}}|r=lives in '''[[Singapore, Singapore|Singapore]]'''|sr=is a Singaporean living in '''[[Singapore, Singapore|Singapore]]'''|so=is a Singaporean living outside '''[[Singapore, Singapore|Singapore]]'''|is '''[[Singapore, Singapore|Singapore]]an'''}}.
 
|}</div>
 
|}</div>
<includeonly>[[Category:Geohashers in Singapore|{{subst:PAGENAME}}]]</includeonly>
+
<includeonly>[[Category:Geohashers in Singapore|{{PAGENAME}}]]</includeonly>
 
<noinclude>
 
<noinclude>
 
{{-}}
 
{{-}}
Line 52: Line 52:
 
|}</div>
 
|}</div>
 
|}
 
|}
 
+
[[Category:Location userboxes|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:18, 19 September 2021

Flag of Singapore.png This geohasher is Singaporean.



Blatantly stolen and modified from Wikipedia's Template:User Singapore

Usage

This template can be used by geohashers on their user pages to show their affiliation to Singapore. It takes an optional parameter called "status":

  • If "status" is set to "r" ("resident") the template indicates that the user "lives in Singapore".
  • "sr" ("Singaporean resident") indicates the user "is a Singaporean living in Singapore".
  • "so" ("Singaporean overseas") indicates a user who "is a Singaporean living outside Singapore".
  • Omitting the "status" parameter results in the template defaulting to indicate that the user "is Singaporean".

The template automatically adds users' pages to Category:Geohashers in Singapore, irrespective of parameter values used.

Template Output
{{User Singapore}}
Flag of Singapore.png This geohasher is Singaporean.
{{User Singapore|status=r}}
Flag of Singapore.png This geohasher lives in Singapore.
{{User Singapore|status=sr}}
Flag of Singapore.png This geohasher is a Singaporean living in Singapore.
{{User Singapore|status=so}}
Flag of Singapore.png This geohasher is a Singaporean living outside Singapore.