Difference between revisions of "Template:Region"
Jump to navigation
Jump to search
Chaser Zaks (talk | contribs) |
Chaser Zaks (talk | contribs) |
||
Line 6: | Line 6: | ||
}} | }} | ||
[{{#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://}} | ||
}}{{#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> |
Revision as of 16:17, 26 September 2018
Demo
Island|PATH}}/128/128 Bug Island (128, 128, {{{z}}})
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.