Difference between revisions of "Template:SLurl"

From Second Life Wiki
Jump to navigation Jump to search
(fixed previous typos)
(added image)
Line 1: Line 1:
<includeonly>{{ #if: {{{region|}}} && {{{x|}}} && {{{y|}}} && {{{z|}}} | [http://slurl.com/secondlife/{{urlencode:{{{region}}}}}/{{{x}}}/{{{y}}}/{{{z}}}/{{ #if: {{{title|}}} |?title={{urlencode:{{{title}}}}}| }}{{{title| {{{title}}}|}}}]| <strong style="color:red;">Region name as well as X, Y and Z co-ordinates are required fields.</strong>
<includeonly>{{ #if: {{{region|}}} && {{{x|}}} && {{{y|}}} && {{{z|}}} | [http://slurl.com/secondlife/{{urlencode:{{{region}}}}}/{{{x}}}/{{{y}}}/{{{z}}}/{{ #if: {{{title|}}} |?title={{urlencode:{{{title}}}}}|}}{{ #if: {{{image|}}}|?img={{urldecode:{{{image}}}}}|}}]| <strong style="color:red;">Region name as well as X, Y and Z co-ordinates are required fields.</strong>


}}</includeonly><noinclude>
}}</includeonly><noinclude>

Revision as of 17:06, 12 January 2007

This template permits the easy inclusion of a SLurl as a link without the need to create them manually or via tinyurl or similar external service (which is open to spamming problems)

Usage

{{Template:SLurl | <region name> | <x> | <y> | <z> | <target description>}}

Example

[1]