Difference between revisions of "Template:SLurl/simple"
Jump to navigation
Jump to search
m (adding wiki-code example) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ #if: {{{1}}} && {{{2}}} && {{{3}}} && {{{4}}}|{{SLurl | <includeonly>{{ #if: {{{1}}} && {{{2}}} && {{{3}}} && {{{4}}}|{{SLurl | ||
|region={{{1 | |prefix={{{prefix|http://slurl.com/secondlife/}}} | ||
|x={{{2| | |region={{{1}}} | ||
|y={{{3| | |x={{{2|128}}} | ||
|z={{{4| | |y={{{3|128}}} | ||
|z={{{4|0}}} | |||
|title={{{5|SLurl}}}}}|<strong style="color:red">Required templates have not been supplied.</strong>}}</includeonly><noinclude> | |title={{{5|SLurl}}}}}|<strong style="color:red">Required templates have not been supplied.</strong>}}</includeonly><noinclude> | ||
Line 9: | Line 10: | ||
==Usage== | ==Usage== | ||
Simple SLurl: | Simple SLurl: | ||
<div style="font-size:140%"><code><pre><nowiki>{{simpleslurl| | <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| | *{{simpleslurl|Ahern|18|11|20|Ahern Welcome Area}} | ||
*{{simpleslurl| | *{{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.