Difference between revisions of "Template:SLurl"

From Second Life Wiki
Jump to navigation Jump to search
(clarify applies to two fields)
(hide template from reader for easier understanding, add highlighting)
Line 1: Line 1:
[http://slurl.com/secondlife/{{{1}}}/{{{2}}}/{{{3}}}/{{{4}}}/?title={{{5}}} {{{5}}}]
<includeonly>[http://slurl.com/secondlife/{{{1}}}/{{{2}}}/{{{3}}}/{{{4}}}/?title={{{5}}} {{{5}}}]</includeonly><noinclude>This template permits the easy inclusion of an '''SLurl''' as a link without the need to create them manually or via ''tinyurl'' or similar external service (which is open to spamming problems)
<noinclude>
 
This template permits the easy inclusion of an '''SLurl''' as a link without the need to create them manually or via ''tinyurl'' or similar (which is open to spamming problems)


===Usage===
===Usage===
<nowiki>{{Template:SLurl | <region name> | <x> | <y> | <z> | <target description}}</nowiki>
'''<nowiki>{{</nowiki>Template:SLurl |''' <region name> '''|''' <x> '''|''' <y> '''|''' <z> '''|''' <target description>'''<nowiki>}}</nowiki>'''


Any spaces in the ''<region name>'' and ''<target description>'' '''must''' be replaced by the code for a space - %20 - as otherwise the URL will not work correctly.
Any spaces in the ''<region name>'' and ''<target description>'' '''must''' be replaced by the code for a space - %20 - as otherwise the URL will not work correctly.
</noinclude>
</noinclude>

Revision as of 14:38, 9 January 2007

This template permits the easy inclusion of an 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>}}

Any spaces in the <region name> and <target description> must be replaced by the code for a space - %20 - as otherwise the URL will not work correctly.