Difference between revisions of "Template:User Singapore"

From Geohashing
imported>R0d3n7z
m (Usage: fix)
imported>R0d3n7z
m
Line 4: Line 4:
 
| 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]]</includeonly>
+
<includeonly>[[Category:Geohashers in Singapore|{{subst:PAGENAME}}]]</includeonly>
 
<noinclude>
 
<noinclude>
 
{{-}}
 
{{-}}

Revision as of 15:44, 30 May 2008

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.