Template:Osslfunc

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m
m
Line 8: Line 8:
 
|'''Threat Level''' || {{#ifeq: {{{threat_level}}} |  | ''No threat level entered'' [[Category:OSSL_functions_without_threat_level]] | {{{threat_level}}}}}
 
|'''Threat Level''' || {{#ifeq: {{{threat_level}}} |  | ''No threat level entered'' [[Category:OSSL_functions_without_threat_level]] | {{{threat_level}}}}}
 
|- valign="top"
 
|- valign="top"
|'''Function Syntax''' || {{#ifeq: {{{function_syntax}}} |  | ''No function syntax entered'' [[Category:OSSL_functions_without_function_syntax]] | {{{function_syntax}}}}}
+
|'''Function Syntax''' ||  
 +
{{#ifeq: {{{function_syntax}}} |  | ''No function syntax entered'' [[Category:OSSL_functions_without_function_syntax]] | {{{function_syntax}}}}}
 
|- valign="top"
 
|- valign="top"
 
|'''Example(s)||{{#ifeq: {{{ossl_example}}} |  | ''No OSSL code example entered'' [[Category:OSSL_functions_without_example]] | {{{ossl_example}}}}}
 
|'''Example(s)||{{#ifeq: {{{ossl_example}}} |  | ''No OSSL code example entered'' [[Category:OSSL_functions_without_example]] | {{{ossl_example}}}}}
Line 18: Line 19:
 
<noinclude>
 
<noinclude>
 
This template was based on [http://automatapedia.com/index.php?title=Template:Band the band template on Automatapedia].  
 
This template was based on [http://automatapedia.com/index.php?title=Template:Band the band template on Automatapedia].  
 +
 +
 +
This template is to be used as follows (copy and paste the following into a new page):
 +
 +
<nowiki>{{osslfunc|</nowiki>
 +
threat_level = THREAT LEVEL
 +
|
 +
function_syntax = FUNCTION SYNTAX
 +
|
 +
ossl_example = EXAMPLE CODE
 +
|
 +
additional_info = ANY ADDITIONAL INFO AND NOTES
 +
|
 +
}}
 +
 +
Then replace the text in upper caps with the relevant information.
 +
 +
Features of this template:
 +
* Includes the <nowiki>{{quicklinks}}</nowiki> template
 +
* Automatically adds the article to all the relevant categories
 +
* Displays a placeholder text when certain information is missing, and adds the article to the relevant "missing" category/categories.
 +
 
</noinclude>
 
</noinclude>

Revision as of 13:48, 12 June 2011


Osslfunc
Threat Level {{{threat_level}}}
Function Syntax
{{{function_syntax}}}
Example(s) {{{ossl_example}}}


{{{additional_info}}}


This template was based on the band template on Automatapedia.


This template is to be used as follows (copy and paste the following into a new page):

{{osslfunc|
threat_level = THREAT LEVEL
|
function_syntax = FUNCTION SYNTAX
|
ossl_example = EXAMPLE CODE
| 
additional_info = ANY ADDITIONAL INFO AND NOTES
|
}}

Then replace the text in upper caps with the relevant information.

Features of this template:

  • Includes the {{quicklinks}} template
  • Automatically adds the article to all the relevant categories
  • Displays a placeholder text when certain information is missing, and adds the article to the relevant "missing" category/categories.


Personal tools
General
About This Wiki