Difference between revisions of "Template:RLV Documentation/Command"
Jump to navigation
Jump to search
m (second exampe does not show right, testing why) |
Felis Darwin (talk | contribs) (Close noinclude tag properly) |
||
(21 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __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>}} | ||
{{ | == @{{SUBPAGENAME}} == | ||
<div id="box" style="margin-top: 2em; | {{#if:{{{deprecated|}}}|<div id="box" style="margin-top:2em; clear:both; color:red"> | ||
<div style="padding: 0.5em | <h2>DEPRECATED</h2> | ||
<div style="padding: 0.5em">'''This function is DEPRECATED - Do not use it!'''</div> | |||
</div> | </div>}} | ||
<div id="box" style="margin-top | <div id="box" style="margin-top:2em; float:right"> | ||
<div style="padding: 0.5em | <h2>Type</h2> | ||
<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: | <div id="box" style="margin-top:2em; margin-right:2em; float:right"> | ||
<div style="padding: 0.5em | <h2>Implemented</h2> | ||
{{{ | <div style="padding:0.5em">Implemented since RLV version {{{version|<noinclude>NUMBER</noinclude>}}}</div> | ||
</div></div> | </div> | ||
<div id="box" style="margin-top: 2em; | <div id="box" style="margin-top:2em; float:left"> | ||
<div style="padding: 0.5em | <h2>Usage</h2> | ||
{{{ | <div style="padding: 0.5em">{{{usage|<noinclude>Usage here</noinclude>}}}</div> | ||
</div></div> | </div> | ||
<div id="box" style="margin-top: 2em;"><h2> | <div id="box" style="margin-top:2em; clear:both"> | ||
<div style="padding: 0.5em | <h2>Purpose</h2> | ||
<div style="padding: 0.5em">{{{purpose|<noinclude>Purpose of this command here</noinclude>}}}</div> | |||
</div> | |||
{{# | {{#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>}} | |||
{{#vardefine:cmd|{{#explode:{{ | <div id="box" style="margin-top:2em"> | ||
{{#if:{{#var:cmd|}}|[[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]] | <h2>See Also</h2> | ||
{{#vardefine:cmd|{{#explode:{{ | <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:{{ | {{#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:{{ | {{#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:{{ | {{#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:{{ | {{#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:{{ | {{#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:{{ | }} }} }} }} }} }} }} }} }} }}<noinclude>| | ||
{{#if:{{#var:cmd|}}| [[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]] | *List of related commands here</noinclude>}} | ||
{{#vardefine:cmd|{{#explode:{{ | {{#if:{{{seealsoalso|}}}|{{{seealsoalso}}}<noinclude>|Further notes here</noinclude>}} | ||
{{#if:{{#var:cmd|}}| [[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]] | </div> | ||
{{#vardefine:cmd|{{#explode:{{ | </div> | ||
{{#if:{{#var:cmd|}}| [[{{#var:path}}{{#var:cmd|}}|@{{#var:cmd|}}]] | |||
}} }} }} }} }} }} }} }} }} }} | |||
<div id="box" style="margin-top:2em"> | |||
{{#if:{{{ | <h2>{{#if:{{{example_2|}}}|Example 1|Example}}</h2> | ||
<div style="padding:0.5em">{{{example<noinclude>|Example LSL code here</noinclude>}}}</div> | |||
</div> | |||
{{{ | {{#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>}} | |||
[[Category:RestrainedLove/Documentation/Command<includeonly>|{{SUBPAGENAME}}</includeonly>]] | |||
</ | |||
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