Difference between revisions of "Template:Region"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>
<onlyinclude>
{{#switch: {{#lc: {{{rating}}}}
{{#switch: {{#lc:{{{rating|}}}}
   | a|adult = [[File:Parcel_lght_A.png]]
   | a|adult = [[File:Parcel_lght_A.png]]
   | m|moderate = [[File:Parcel_lght_M.png]]
   | m|moderate = [[File:Parcel_lght_M.png]]
   | g|general = [[File:Parcel_lght_G.png]]
   | g|general = [[File:Parcel_lght_G.png]]
}}
}}
[[secondlife://{{ #switch: {{ #lc: {{{grid}}}}}
[[secondlife://{{#switch:{{#lc:{{{grid|}}}}}
   | aditi = Aditi/secondlife/
   | aditi = Aditi/secondlife/
}}{{ #urlencode: {{{region}}}}}/{{ #if: {{{x}}}|{{ #if: {{{y}}}| {{{x}}}/{{{y}}}{{ #if:{{{z}}}|{{{z}}}}}}} {{{region}}} ({{ #if: {{{x}}}|{{ #if: {{{y}}}| {{{x}}}, {{{y}}}{{ #if:{{{z}}}|, {{{z}}}}}}})]]
}}{{ #urlencode: {{{region|}}}}}/{{#if:{{{x|}}}|{{#if:{{{y|}}}|{{{x}}}/{{{y}}}{{#if:{{{z|}}}|{{{z}}}}}}} {{{region}}} ({{#if:{{{x|}}}|{{#if:{{{y|}}}|{{{x}}}, {{{y}}}{{#if:{{{z}}}|, {{{z}}}}}}})]]
</includeonly>
</onlyinclude>
<noinclude>{{Region|rating=a|Aditi|region=Sandbox Wanderton}}</noinclude>
<noinclude>{{Region|rating=a|Aditi|region=Sandbox Wanderton}}</noinclude>

Revision as of 15:52, 26 September 2018

{{#switch: {{#lc:}

  | a|adult = Parcel lght A.png
  | m|moderate = Parcel lght M.png
  | g|general = Parcel lght G.png

}} [#urlencode: }}/{{#if:| {{{region}}} ({{#if:|)]


{{#switch: {{#lc:a}

  | a|adult = Parcel lght A.png
  | m|moderate = Parcel lght M.png
  | g|general = Parcel lght G.png

}} [#urlencode: Sandbox Wanderton}}/{{#if:| Sandbox Wanderton ({{#if:|)]