Template:Osslfunc

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m
m
Line 1: Line 1:
<noinclude>
+
<noinclude><!--  
<!--  
+
 
If you wish to change the template, Please read [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions].
 
If you wish to change the template, Please read [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions].
 
And note that osFunctions specification is still in development and may have big change. Don't create too severe format to put them into existing specification.  
 
And note that osFunctions specification is still in development and may have big change. Don't create too severe format to put them into existing specification.  
-->
+
--></noinclude><includeonly>{{quicklinks}}
</noinclude>
+
<includeonly>
+
{{quicklinks}}
+
[[Category:OSSL Functions]]
+
 
{|  width="100%" style="border: thin solid black"
 
{|  width="100%" style="border: thin solid black"
 
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
 
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
Line 34: Line 29:
  
 
{{#ifeq: {{{additional_info}}} |  | ''No additional info was provided'' [[Category:OSSL_functions_without_notes]]| {{{additional_info}}}}}
 
{{#ifeq: {{{additional_info}}} |  | ''No additional info was provided'' [[Category:OSSL_functions_without_notes]]| {{{additional_info}}}}}
 +
[[Category:OSSL Functions]]
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>

Revision as of 16:24, 25 June 2011


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. Remove the text in upper caps and leave empty IF the info is unavailable. The template will automatically insert a text, saying that the information is missing.

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.

For deprecated functions, use Template:Osslfunc/Deprecated instead of this template.


Personal tools
General
About This Wiki