Difference between revisions of "Template:SLurl/simple"
Jump to navigation
Jump to search
(testing lazy option) |
m (adding wiki-code example) |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ #if {{{1}}} && {{{2}}} && {{{3}}} && {{{4}}}|{{ | <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> | ||
|} | |||
==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> | ||
| | |||
| | |||
| | |||
| | |||
</pre> | |||
==Example== | ==Example== | ||
Link Text defaults to " | Link Text defaults to "SLurl" if missing. | ||
*{{simpleslurl|Ahern|18|11|20|Ahern Welcome Area}} | |||
*{{simpleslurl|Ahern|18|11|20}} | |||
{{simpleslurl|Ahern| | === 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.