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

From Second Life Wiki
Jump to navigation Jump to search
m (Take care of commands that are neither restrictions nor exceptions)
(Close noinclude tag properly)
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== {{{command}}} ==
__NOTOC__{{#if:{{{lock|}}}|
<div style="background:#ff9999; padding:1em; font-size:12px; text-align:center">'''LOCKED - Locked by {{{lock}}} - Please do not modify! - LOCKED'''</div>}}


=== Type ===
== @{{SUBPAGENAME}} ==


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


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


{{#ifeq:{{{type}}}|Restriction|{{{command}}}=n, {{{command}}}=y|
<div id="box" style="margin-top:2em; margin-right:2em; float:right">
{{#ifeq:{{{type}}}|Exception|{{{command}}}=add, {{{command}}}=rem|{{{command}}}
<h2>Implemented</h2>
}}
<div style="padding:0.5em">Implemented since RLV version {{{version|<noinclude>NUMBER</noinclude>}}}</div>
}}
</div>
=== Purpose ===


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


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


Implemented since RLV version {{{version}}}
{{#if:{{{notes|}}}|<div id="box" style="margin-top:2em; clear:both">
<h2>Notes</h2>
<div style="padding:0.5em">{{{notes|<noinclude>Additional notes go here</noinclude>}}}</div>
</div>}}


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


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


=== Example ===
{{#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>}}


{{{example}}}
[[Category:RestrainedLove/Documentation/Command<includeonly>|{{SUBPAGENAME}}</includeonly>]]
 
[[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