Difference between revisions of "Template:SLurl"

From Second Life Wiki
Jump to navigation Jump to search
m (possibly uneeded wiki-code)
m (whoops. moved code to proper place)
Line 1: Line 1:
<includeonly>{{ #if: {{{region|}}} && {{{x|}}} && {{{y|}}} && {{{z|}}}||<strong style="color:red;">Region name as well as X, Y and Z co-ordinates are required fields.</strong>}}[http://slurl.com/secondlife/{{urlencode:{{{region}}}}}/{{{x}}}/{{{y}}}/{{{z}}}/{{ #if: {{{title|}}} |?title={{urlencode:{{{title}}}}}|}}{{ #if: {{{image|}}}|?img={{urlencode:{{{image}}}}}{{ #if: {{{iframe|}}}|?iframe={{urlencode:{{{iframe}}}}}|}}]</includeonly><noinclude>
<includeonly>{{ #if: {{{region|}}} && {{{x|}}} && {{{y|}}} && {{{z|}}}||<strong style="color:red;">Region name as well as X, Y and Z co-ordinates are required fields.</strong>}}[http://slurl.com/secondlife/{{urlencode:{{{region}}}}}/{{{x}}}/{{{y}}}/{{{z}}}/{{ #if: {{{title|}}} |?title={{urlencode:{{{title}}}}}|}}{{ #if: {{{image|}}}|?img={{urlencode:{{{image}}}}}|}}{{ #if: {{{iframe|}}}|?iframe={{urlencode:{{{iframe}}}}}|}}]</includeonly><noinclude>
This template permits the easy inclusion of a '''[http://slurl.com/ SLurl]''' as a link without the need to create them manually or via ''tinyurl'' or similar external service (which is open to spamming problems)
This template permits the easy inclusion of a '''[http://slurl.com/ SLurl]''' as a link without the need to create them manually or via ''tinyurl'' or similar external service (which is open to spamming problems)


Line 18: Line 18:
|z=20
|z=20
|title=Ahern Welcome Area
|title=Ahern Welcome Area
|iframe=foo
|}}
|}}


</noinclude>
</noinclude>

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

{{SLurl
|region=Ahern
|x=18
|y=11
|z=20
|}}

Example

[1]