Difference between revisions of "Template:SLurl/simple"

From Second Life Wiki
Jump to navigation Jump to search
m (Template:Simpleslurl moved to Template:SLurl/simple: makes sense to have all Template:SLurl-based templates under one "roof")
m (adding wiki-code example)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{ #if: {{{1}}} && {{{2}}} && {{{3}}} && {{{4}}}|{{ #if: {{{5}}}|{{SLurl
<includeonly>{{ #if: {{{1}}} && {{{2}}} && {{{3}}} && {{{4}}}|{{SLurl
|prefix={{{prefix|http://slurl.com/secondlife/}}}
|region={{{1}}}
|region={{{1}}}
|x={{{2}}}
|x={{{2|128}}}
|y={{{3}}}
|y={{{3|128}}}
|z={{{4}}}
|z={{{4|0}}}
|title={{{5}}}
|title={{{5|SLurl}}}}}|<strong style="color:red">Required templates have not been supplied.</strong>}}</includeonly><noinclude>
|}}|{{SLurl
|region={{{1}}}
|x={{{2}}}
|y={{{3}}}
|z={{{4}}}
|title=slurl}}}}|<strong style="color:red">Required templates have not been supplied.</strong>}}</includeonly><noinclude>




Line 16: Line 11:
Simple SLurl:
Simple SLurl:
<div style="font-size:140%"><code><pre><nowiki>{{simpleslurl|Ahern|18|11|20|Ahern Welcome Area}}</nowiki></pre></code></div>
<div style="font-size:140%"><code><pre><nowiki>{{simpleslurl|Ahern|18|11|20|Ahern Welcome Area}}</nowiki></pre></code></div>
=== Using the prefix parameter ===
<div style="font-size:140%"><code><pre><nowiki>{{simpleslurl|Ahern|18|11|20|Ahern Welcome Area|prefix=http://agni.sl.mapapi.net/}}</nowiki></pre></code></div>
==Example==
==Example==
Link Text defaults to "slurl" if missing.
Link Text defaults to "SLurl" if missing.


*{{simpleslurl|Ahern|18|11|20|Ahern Welcome Area}}
*{{simpleslurl|Ahern|18|11|20|Ahern Welcome Area}}
*{{simpleslurl|Ahern|18|11|20|}}
*{{simpleslurl|Ahern|18|11|20}}
 
=== Using the prefix parameter ===
*{{simpleslurl|Ahern|18|11|20|Ahern Welcome Area|prefix=http://agni.sl.mapapi.net/}}
*{{simpleslurl|Ahern|18|11|20|prefix=http://agni.sl.mapapi.net/}}
</noinclude>
</noinclude>

Latest revision as of 11:47, 4 July 2009


Usage

Simple SLurl:

{{simpleslurl|Ahern|18|11|20|Ahern Welcome Area}}

Using the prefix parameter

{{simpleslurl|Ahern|18|11|20|Ahern Welcome Area|prefix=http://agni.sl.mapapi.net/}}

Example

Link Text defaults to "SLurl" if missing.

Using the prefix parameter