Difference between revisions of "Template:RLV Documentation/Command"

From Second Life Wiki
Jump to navigation Jump to search
m (second exampe does not show right, testing why)
(Close noinclude tag properly)
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__{{#if:{{{lock|}}}|
== {{{command}}} ==
<div style="background:#ff9999; padding:1em; font-size:12px; text-align:center">'''LOCKED - Locked by {{{lock}}} - Please do not modify! - LOCKED'''</div>}}


{{#if:{{{deprecated|}}}|
== @{{SUBPAGENAME}} ==
<div id="box" style="margin-top: 2em; clear: both; color: red;"><h2>DEPRECATED</h2>
<div style="padding: 0.5em;">
'''This function is DEPRECATED - Do not use it!'''
</div></div>
|}}


<div id="box" style="margin-top: 2em; float: right;"><h2>Type</h2>
{{#if:{{{deprecated|}}}|<div id="box" style="margin-top:2em; clear:both; color:red">
<div style="padding: 0.5em;">
<h2>DEPRECATED</h2>
{{{type|<noinclude>"Restriction", "Force", "Exception" or "General"</noinclude>}}}
<div style="padding: 0.5em">'''This function is DEPRECATED - Do not use it!'''</div>
</div></div>
</div>}}


<div id="box" style="margin-top: 2em; margin-right: 2em; float: right;"><h2>Implemented</h2>
<div id="box" style="margin-top:2em; float:right">
<div style="padding: 0.5em;">
<h2>Type</h2>
Implemented since RLV version {{{version|<noinclude>NUMBER</noinclude>}}}
<div style="padding: 0.5em">{{{type|<noinclude>"Restriction", "Force", "Exception" or "General"</noinclude>}}}</div>
</div></div>
</div>


<div id="box" style="margin-top: 2em; float: left;"><h2>Usage</h2>
<div id="box" style="margin-top:2em; margin-right:2em; float:right">
<div style="padding: 0.5em;">
<h2>Implemented</h2>
{{{usage|<noinclude>Usage here</noinclude>}}}
<div style="padding:0.5em">Implemented since RLV version {{{version|<noinclude>NUMBER</noinclude>}}}</div>
</div></div>
</div>


<div id="box" style="margin-top: 2em; clear: both;"><h2>Purpose</h2>
<div id="box" style="margin-top:2em; float:left">
<div style="padding: 0.5em;">
<h2>Usage</h2>
{{{purpose|<noinclude>Purpose of this command here</noinclude>}}}
<div style="padding: 0.5em">{{{usage|<noinclude>Usage here</noinclude>}}}</div>
</div></div>
</div>


<div id="box" style="margin-top: 2em;"><h2>See Also</h2>
<div id="box" style="margin-top:2em; clear:both">
<div style="padding: 0.5em;">
<h2>Purpose</h2>
{{#if:{{{seealso|}}}|
<div style="padding: 0.5em">{{{purpose|<noinclude>Purpose of this command here</noinclude>}}}</div>
</div>


{{#vardefine:path|User:Toy_Wylie/RLV_Documentation/}}
{{#if:{{{notes|}}}|<div id="box" style="margin-top:2em; clear:both">
{{#vardefine:commands|{{{seealso}}}}}
<h2>Notes</h2>
<div style="padding:0.5em">{{{notes|<noinclude>Additional notes go here</noinclude>}}}</div>
</div>}}


{{#vardefine:cmd|{{#explode:{{#var:commands}}| |0}}}}
<div id="box" style="margin-top:2em">
{{#if:{{#var:cmd|}}|[[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
<h2>See Also</h2>
{{#vardefine:cmd|{{#explode:{{#var:commands}}| |1}}}}
<div style="padding: 0.5em">{{#if:{{{seealso|}}}|
{{#if:{{#var:cmd|}}| [[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#vardefine:path|User:Toy Wylie/RLV Documentation/}}
{{#vardefine:cmd|{{#explode:{{#var:commands}}| |2}}}}
{{#vardefine:cmd|{{#explode:{{{seealso}}}| |0}}}}{{#if:{{#var:cmd|}}|*[[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#if:{{#var:cmd|}}| [[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#vardefine:cmd|{{#explode:{{{seealso}}}| |1}}}}{{#if:{{#var:cmd|}}|*[[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#vardefine:cmd|{{#explode:{{#var:commands}}| |3}}}}
{{#vardefine:cmd|{{#explode:{{{seealso}}}| |2}}}}{{#if:{{#var:cmd|}}|*[[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#if:{{#var:cmd|}}| [[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#vardefine:cmd|{{#explode:{{{seealso}}}| |3}}}}{{#if:{{#var:cmd|}}|*[[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#vardefine:cmd|{{#explode:{{#var:commands}}| |4}}}}
{{#vardefine:cmd|{{#explode:{{{seealso}}}| |4}}}}{{#if:{{#var:cmd|}}|*[[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#if:{{#var:cmd|}}| [[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#vardefine:cmd|{{#explode:{{{seealso}}}| |5}}}}{{#if:{{#var:cmd|}}|*[[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#vardefine:cmd|{{#explode:{{#var:commands}}| |5}}}}
{{#vardefine:cmd|{{#explode:{{{seealso}}}| |6}}}}{{#if:{{#var:cmd|}}|*[[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#if:{{#var:cmd|}}| [[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#vardefine:cmd|{{#explode:{{{seealso}}}| |7}}}}{{#if:{{#var:cmd|}}|*[[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#vardefine:cmd|{{#explode:{{#var:commands}}| |6}}}}
{{#vardefine:cmd|{{#explode:{{{seealso}}}| |8}}}}{{#if:{{#var:cmd|}}|*[[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#if:{{#var:cmd|}}| [[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#vardefine:cmd|{{#explode:{{{seealso}}}| |9}}}}{{#if:{{#var:cmd|}}|*[[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
{{#vardefine:cmd|{{#explode:{{#var:commands}}| |7}}}}
}} }} }} }} }} }} }} }} }} }}<noinclude>|
{{#if:{{#var:cmd|}}| [[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
*List of related commands here</noinclude>}}
{{#vardefine:cmd|{{#explode:{{#var:commands}}| |8}}}}
{{#if:{{{seealsoalso|}}}|{{{seealsoalso}}}<noinclude>|Further notes here</noinclude>}}
{{#if:{{#var:cmd|}}| [[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
</div>
{{#vardefine:cmd|{{#explode:{{#var:commands}}| |9}}}}
</div>
{{#if:{{#var:cmd|}}| [[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]]
}} }} }} }} }} }} }} }} }} }}


|<noinclude>List of related commands here</noinclude>}}
<div id="box" style="margin-top:2em">
{{#if:{{{seealsoalso|}}}|
<h2>{{#if:{{{example_2|}}}|Example 1|Example}}</h2>
<div style="padding:0.5em">{{{example<noinclude>|Example LSL code here</noinclude>}}}</div>
</div>


{{{seealsoalso}}}|<noinclude> - Further notes here</noinclude>}}
{{#if:{{{example_2|}}}|<div id="box" style="margin-top:2em">
</div></div>
<h2>Example 2</h2>
<div style="padding:0.5em">{{{example_2<noinclude>|Second Example LSL code here</noinclude>}}}</div>
</div>}}


<div id="box" style="margin-top: 2em;"><h2>Example {{#if:{{{example_2|}}}|1}}</h2>
[[Category:RestrainedLove/Documentation/Command<includeonly>|{{SUBPAGENAME}}</includeonly>]]
<div style="padding: 0.5em;">
{{{example|<noinclude>Example LSL code here</noinclude>}}}
</div></div>
 
{{#if:{{{example_2|}}}|
<div id="box" style="margin-top: 2em;"><h2>Example 2</h2>
<div style="padding: 0.5em;">
{{{example_2|<noinclude>Second Example LSL code here</noinclude>}}}
</div></div>
}}
 
[[Category:RestrainedLove]]
[[Category:RestrainedLove/Documentation]]
[[Category:RestrainedLove/Documentation/Command]]

Latest revision as of 18:24, 17 August 2012


@Command

Type

"Restriction", "Force", "Exception" or "General"

Implemented

Implemented since RLV version NUMBER

Usage

Usage here

Purpose

Purpose of this command here


See Also

  • List of related commands here

Further notes here

Example

Example LSL code here