Skip to content
lsl.devlsl.devLSL Dev

Template:SLurl

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)

Templates based on Template:SLurl

This template might be overkill to use directly in some cases. The following templates might be easier to use:

Usage

Minimum Requirements
<nowiki>{{SLurl|<REGION>}}</nowiki>
Example:
<nowiki>{{SLurl|Help Island Public}}</nowiki>
Full Options
All the options found in the template are as described on the SLurl Builder, with a few exceptions:
  • Window Width and Window Height are referred to as width and height' respectively, in order to avoid confusing conflicts with the region co-ordinates.
  • no-title disables the display of the title in the wiki link. This should be set to enabled if you intend to use it.
  • display-url outputs the link as a full URL, instead of a numbered or titled link. This should be set to enabled if you intend to use it. This option forces the 'no-title' option to be ignored.
  • Remark: The variable names region, x, y and z aren't needed. {{SLurl|Help Island Public|10|15|30}} works as well.
<nowiki>{{SLurl
|region=
|x=
|y=
|z=
|title=
|no-title=
|image=
|message=
|iframe=
|width=
|height=
}}</nowiki>

Examples

Basic
SLurl: {{SLurl |region=Ahern |x=18 |y=11 |z=20 |title=Ahern Welcome Area }}
<nowiki>{{SLurl
|region=Ahern
|x=18
|y=11
|z=20
|title=Ahern Welcome Area
}}</nowiki>
Basic, no title
SLurl: {{SLurl |region=Ahern |x=18 |y=11 |z=20 |title=Ahern Welcome Area |no-title=enabled }}
<nowiki>
{{SLurl
|region=Ahern
|x=18
|y=11
|z=20
|title=Ahern Welcome Area
|no-title=enabled
}}</nowiki>
Basic, displayed as URL
SLurl: {{SLurl |region=Ahern |x=18 |y=11 |z=20 |title=Ahern Welcome Area |display-url=enabled }}
<nowiki>
{{SLurl
|region=Ahern
|x=18
|y=11
|z=20
|title=Ahern Welcome Area
|display-url=enabled
}}</nowiki>
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.

From the Second Life Wiki

Community documentation adapted from Template:SLurl, by Linden Research, Inc. and contributing residents.View contributors and history.

Imported wiki revision:

Licensed under CC BY-SA 3.0. Last wiki edit: .Formatting and links have been adapted for this site; API metadata follows the LSL definitions.