Difference between revisions of "Template:SLurl/simple"

From Second Life Wiki
Jump to navigation Jump to search
m (whoops. wiki-typo)
m (adding wiki-code example)
 
(9 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}}}
|}}}}|<strong style="color:red">Required templates have not been supplied.</strong>}}</includeonly><noinclude>




==Usage==
==Usage==
Simple SLurl:
Simple SLurl:
<pre>
<div style="font-size:140%"><code><pre><nowiki>{{simpleslurl|Ahern|18|11|20|Ahern Welcome Area}}</nowiki></pre></code></div>
{{simpleslurl
=== Using the prefix parameter ===
|Ahern
<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>
|1
|2
|3
|Link Text}}
</pre>
==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}}


{{simpleslurl|Ahern|1|2|3|Link Text}}
=== 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