Difference between revisions of "Template:LSL conformance script"

From Second Life Wiki
Jump to navigation Jump to search
 
(27 intermediate revisions by one other user not shown)
Line 1: Line 1:
__NOTOC__
<includeonly>{{#ifeq:{{PAGENAMEE}}|LSL_conformance_script||__NOEDITSECTION__}}</includeonly><noinclude>
<includeonly>{{#ifeq:{{PAGENAMEE}}|LSL_conformance_script||__NOEDITSECTION__}}</includeonly><noinclude>


Line 34: Line 35:


</noinclude>
</noinclude>
=== {{{title}}} ===
<div style="border-color: grey;border-style: dashed;border-width: 1px;padding: 0.5em">
 
<div id=box>
== {{{title}}} ==
<div style="padding: 0.5em">
'''Status''':  {{{status}}}
'''Status''':  {{{status}}}
</div>
</div>


<div id=box width="95%">
== Introduction ==
<div style="padding: 0.5em">
{{{intro}}}
{{{intro}}}
</div>
</div>


==== Script text ====
<div id=box width="95%">
 
== Script text ==
<div style="padding: 0.5em">
{{{text}}}
{{{text}}}
</div>
</div>


Signature: <noinclude>{{{lindensig}}}</noinclude><includeonly>{{#if:{{{lindensig|}}}|{{{lindensig}}}|{{HoverText|(none)|'lindensig' unspecified}}}}</includeonly> by <noinclude>{{{lindensigner}}}</noinclude><includeonly>{{#if:{{{lindensigner|}}}|{{{lindensigner}}}|{{HoverText|(none)|'lindensigner' unspecified}}}}</includeonly>
Authorized Signature: <noinclude>{{{lindensig}}} by {{{lindensigner}}}</noinclude> <includeonly>{{#if:{{{lindensig|}}}|{{{lindensig}}}|{{HoverText|(none)|'lindensig' unspecified}}}} by {{#if:{{{lindensigner|}}}|{{{lindensigner}}}|{{HoverText|(none)|'lindensigner' unspecified}}}}</includeonly>
 
==== Instructions ====


<div id=box width="95%">
== Instructions ==
<div style="padding: 0.5em">
{{{instructions}}}
{{{instructions}}}
</div>
</div>


==== Script notes ====
<includeonly>{{#if:{{{notes|}}}|<span></span></includeonly>
 
<div id=box width="95%">
== Script notes ==
<div style="padding: 0.5em">
{{{notes}}}
{{{notes}}}
<includeonly>{{ #if: {{{used_events|}}}{{{used_functions|}}}|</includeonly>
</div>
==== Used ====
</div>
<includeonly>}}{{ #if:{{{used_events|}}}|<span></span></includeonly>
<div id=box width="95%">
== Events Used ==
<div style="padding: 0.5em">


<includeonly>{{ #if: {{{used_events|}}} |</includeonly>
{{{used_events}}}
<ul><li> Events </li></ul>
</div>
<dl><dd>
</div>
{{{used_events}}}</dl>
<includeonly>}}{{ #if:{{{used_functions|}}}|<span></span></includeonly>
<includeonly> | }}{{ #if: {{{used_functions|}}} |</includeonly>
<div id=box width="95%">
<ul><li> Functions </li></ul>
== Functions Used ==
<dl><dd>
<div style="padding: 0.5em">
{{{used_functions}}}</dl>


<includeonly> | }}}}{{#if:{{{related|}}}|</includeonly>
{{{used_functions}}}
</div>
</div>
<includeonly>}}{{#if:{{{related|}}}|<span></span></includeonly>
<div id=box width="95%">
== Related ==
<div style="padding: 0.5em">
{{{related}}}
</div>
</div>


==== Related ====
<includeonly>}}</includeonly>
</div>


{{{related}}}
<includeonly>}}</includeonly>
<noinclude>
<noinclude>
==Examples==
==Examples==

Latest revision as of 15:38, 8 February 2007


{{LSL conformance script}} is a template which should be included in {{LSL conformance test}} pages

Usage:

{{LSL conformance script
|title=Title of script, used as section header
|intro=Brief introduction
|used_functions=Links to functions used in the script
|used_events=Links to events used in the script
|status=Whether this has been accepted into Linden Lab's official suite.  "accepted" or "draft" are the two values.
|lindensig=Digital signature of the Linden who approved this
|lindensigner=User name of the Linden who signed it
|text=Actual text of the script
|instructions=Instructions for running the script
|notes=Other notes
|related=None
}}

This is a template for posting conformance tests and proposed conformance tests. This will be the start of a program where everyone can pitch in to write coverage testing of the lsl functions so that we can test on every major release.

The template should have:

  • A section for the script text or scripts if there are multiple. This section needs to not modify the contents when looking at the source, and preferably no modify the contents when looking at the page.
  • A section for a linden signature of the text. This way, we can publicly post the text and sign it as an indication that it has been accepted. Anyone with the key for the signer will be able to verify the script text with this section. An armored signature will be the likely content.
  • A section for notes can comments on the behavior. This should be optional.
  • A section for instructions on use. This should be optional.
  • A line of text for putting things like 'accepted', 'not accepted', etc. This should probably be at the top, but I am not sure.

It would be nice to have:

  • A process to list every ll function in use, which would link back to the ll function documentation on the wiki.
  • A way to list related scripts, and link to them. Sort of a see also section.


{{{title}}}

Status: {{{status}}}

Introduction

{{{intro}}}

Script text

{{{text}}}

Authorized Signature: {{{lindensig}}} by {{{lindensigner}}}

Instructions

{{{instructions}}}


Script notes

{{{notes}}}

Events Used

{{{used_events}}}

Functions Used

{{{used_functions}}}

Related

{{{related}}}



Examples

Title of script, used as section header

Status: Whether this has been accepted into Linden Lab's official suite. "accepted" or "draft" are the two values.

Introduction

Brief introduction

Script text

Actual text of the script

Authorized Signature: Digital signature of the Linden who approved this by User name of the Linden who signed it

Instructions

Instructions for running the script

Script notes

Other notes

Events Used

Links to events used in the script

Functions Used

Links to functions used in the script

Related

None

{{{title}}}

Status: {{{status}}}

Introduction

{{{intro}}}

Script text

{{{text}}}

Authorized Signature: (none) by (none)

Instructions

{{{instructions}}}