Difference between revisions of "Template:SLurl/simple"
Jump to navigation
Jump to search
(simple slurl. no confusing syntax. might need verification..) |
m (adding wiki-code example) |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{ #if: {{{1}}} && {{{2}}} && {{{3}}} && {{{4}}}|{{SLurl | ||
|prefix={{{prefix|http://slurl.com/secondlife/}}} | |||
|region={{{1}}} | |||
|x={{{2|128}}} | |||
|y={{{3|128}}} | |||
|z={{{4|0}}} | |||
|title={{{5|SLurl}}}}}|<strong style="color:red">Required templates have not been supplied.</strong>}}</includeonly><noinclude> | |||
==Usage== | ==Usage== | ||
Simple | 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 10: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.