Difference between revisions of "Template:Region"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
{{#switch:{{#lc:{{{rating|}}}}}
{{#switch:{{{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:{{{grid|}}}
   | aditi = Aditi/secondlife/
   | aditi = Aditi/secondlife/
}}{{#urlencode:{{{region|}}}|PATH}}/{{#if:{{{x|}}}|{{#if:{{{y|}}}|{{{x}}}/{{{y}}}{{#if:{{{z|}}}|{{{z}}}}}}}}} {{{region}}} ({{#if:{{{x|}}}|{{#if:{{{y|}}}|{{{x}}}, {{{y}}}{{#if:{{{z}}}|, {{{z}}}}}}}})]]
}}{{#urlencode:{{{region|}}}|PATH}}/{{#if:{{{x|}}}|{{#if:{{{y|}}}|{{{x}}}/{{{y}}}{{#if:{{{z|}}}|/{{{z}}}}}}}}} {{{region}}} ({{#if:{{{x|}}}|{{#if:{{{y|}}}|{{{x}}}, {{{y}}}{{#if:{{{z}}}|, {{{z}}}}}}}}})]
</onlyinclude>
</onlyinclude>
<noinclude>{{Region|rating=adult|grid=aditi|region=Sandbox Wanderton}}</noinclude>
<noinclude>{{Region|rating=a|grid=aditi|region=Sandbox Wanderton|x=1|y=1|z=1}}</noinclude>

Revision as of 16:09, 26 September 2018