Difference between revisions of "Template:Region"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>
<includeonly>{{#switch:{{{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]]
}}
}} [{{#switch:{{{grid|}}}
[{{#switch:{{{grid|}}}
   | aditi = {{#if:{{{webmap|}}}||secondlife://Aditi/secondlife/}}
   | aditi = {{#if:{{{webmap|}}}||secondlife://Aditi/secondlife/}}
   | #default|agni = {{#if:{{{webmap|}}}|https://maps.secondlife.com/secondlife/|secondlife://}}
   | #default|agni = {{#if:{{{webmap|}}}|https://maps.secondlife.com/secondlife/|secondlife://}}

Revision as of 17:21, 26 September 2018

Demo

Parcel lght G.png Island|PATH}}/128/128 Bug Island (128, 128)

Usage

{{Region
| region       = Name of the region
}}

Extra options:

| x            = X location
| y            = Y location
| z            = Z location
| rating       = a/adult, m/moderate, or g/general. This prepends a rating icon
| grid         = Currently only supports "Aditi" as a option, default is no grid/default location
| webmap       = If present, it will use the webmap URL instead of a secondlife:// url.