Template:Osslfunc

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m
m
Line 10: Line 10:
 
|- valign="top"
 
|- valign="top"
 
|'''Threat Level''' || {{#switch:{{{threat_level}}}
 
|'''Threat Level''' || {{#switch:{{{threat_level}}}
| None = '''None'''
+
| None = '''None'''[[Category:OSSL Functions/ThreatLevel:None]]
| Nuisance = <font color='#220000'>'''Nuisance'''</font>
+
| Nuisance = <font color='#220000'>'''Nuisance'''</font>[[Category:OSSL Functions/ThreatLevel:Nuisance]]
| VeryLow = <font color='#440000'>'''VeryLow'''</font>
+
| VeryLow = <font color='#440000'>'''VeryLow'''</font>[[Category:OSSL Functions/ThreatLevel:VeryLow]]
| Low = <font color='#660000'>'''Low'''</font>
+
| Low = <font color='#660000'>'''Low'''</font>[[Category:OSSL Functions/ThreatLevel:Low]]
| Moderate = <font color='#880000'>'''Moderate'''</font>
+
| Moderate = <font color='#880000'>'''Moderate'''</font>[[Category:OSSL Functions/ThreatLevel:Moderate]]
| High = <font color='#aa0000'>'''High'''</font>
+
| High = <font color='#aa0000'>'''High'''</font>[[Category:OSSL Functions/ThreatLevel:High]]
| VeryHigh = <font color='#cc0000'>'''VeryHigh'''</font>
+
| VeryHigh = <font color='#cc0000'>'''VeryHigh'''</font>[[Category:OSSL Functions/ThreatLevel:VeryHigh]]
| Severe = <font color='#ff0000'>'''Severe'''</font>
+
| Severe = <font color='#ff0000'>'''Severe'''</font>[[Category:OSSL Functions/ThreatLevel:Severe]]
 
| NotSpecified = ''No threat level specified'' [[Category:OSSL_functions_without_threat_level]]
 
| NotSpecified = ''No threat level specified'' [[Category:OSSL_functions_without_threat_level]]
 
| #default = {{{threat_level}}}
 
| #default = {{{threat_level}}}

Revision as of 00:07, 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.


Personal tools
General
About This Wiki