Difference between revisions of "Template:LSL conformance script"

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


<nowiki>{{LSL conformance script}}</nowiki> is a template which should be included in [[:Template:LSL conformance test|<nowiki>{{LSL conformance test}}</nowiki>]] pages
<nowiki>{{LSL conformance script}}</nowiki> is a template which should be included in [[:Template:LSL conformance test|<nowiki>{{LSL conformance test}}</nowiki>]] pages
Line 5: Line 6:
'''Usage''':
'''Usage''':


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


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.
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.
Line 29: Line 32:
* A process to list every ll function in use, which would link back to the ll function documentation on the wiki.
* 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.
* A way to list related scripts, and link to them. Sort of a see also section.
</noinclude>




=== {{{title}}} ===
</noinclude>
 
<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: {{{lindensig}}} by {{{lindensigner}}}
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}}}
</div>
</div>


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


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


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


==== Functions used ====
<includeonly>}}</includeonly>
</div>


{{{functionsused}}}
<noinclude>
==Examples==
<div id="box">{{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
}}</div><div id="box">{{LSL conformance script}}</div>
</noinclude>

Latest revision as of 16: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}}}