Difference between revisions of "Template:Region"

From Second Life Wiki
Jump to navigation Jump to search
Line 8: Line 8:
   | 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://}}
}}{{#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}}}}}}}}})]
</includeonly>
</includeonly>
<noinclude>==Demo==
<noinclude>==Demo==

Revision as of 16:18, 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.