Template:Osslfunc
From OpenSimulator
(Difference between revisions)
m |
m |
||
Line 8: | Line 8: | ||
--></noinclude><includeonly>{{quicklinks}}[[Category:OSSL Functions]] | --></noinclude><includeonly>{{quicklinks}}[[Category:OSSL Functions]] | ||
{| width="100%" style="border: thin solid black" | {| width="100%" style="border: thin solid black" | ||
− | |colspan="2"|{{#if:{{{function_syntax|}}}|<span style="font-size: | + | |colspan="2"|{{#if:{{{function_syntax|}}}|<span style="font-size:+2; font-weight:bold; font-style:italic;">{{{function_syntax}}}</span>|''No function syntax provided'' [[Category:OSSL_functions_without_function_syntax]]}} |
|- valign="top" | |- valign="top" | ||
|colspan="2"|{{#if:{{{description|}}}|{{{description}}}|''No descriptions provided'' [[Category:OSSL_functions_without_descriptions]]}} | |colspan="2"|{{#if:{{{description|}}}|{{{description}}}|''No descriptions provided'' [[Category:OSSL_functions_without_descriptions]]}} |
Revision as of 20:40, 1 July 2011
Template Renewal: Sorry for mess. It will be sorted up within few hours |
This template is to be used as follows (copy and paste the following into a new page):
{{osslfunc |function_syntax= |description= |threat_level= |lps= |ossl_example= |additional_info= }}
Property | Description | Required |
function_syntax | syntax | Yes |
description | definitions or descriptions | Yes |
threat_level | Threat level | Yes |
lps | LPS | No |
ossl_example | sample codes | No |
additional_info | notes, hints or so | No |
You can find some infomation about OSSL functions within IOSSL_Api.cs or OSSL_Api.cs. If you unsure what to fill in, feel free to leave it empty and wait for experts shown up:)
If you have added some additional common facilities like threat level or LPS, feel free to add it to this template.
Features of this template:
- Includes the {{quicklinks}} template
- Automatically adds the article to all the relevant categories
- Displays a placeholder text when required information is missing, and adds the article to the relevant "missing" category/categories.
For deprecated functions, use Template:Osslfunc/Deprecated instead of this template.