User:Fritigern/BrainStorm

From OpenSimulator

< User:Fritigern(Difference between revisions)
Jump to: navigation, search
(OSSL Function Template)
(OSSL Function Template)
Line 33: Line 33:
 
==Templates==
 
==Templates==
 
=== OSSL Function Template ===
 
=== OSSL Function Template ===
This is based off of the band template that i made for the [http://www.automatapedia.com Automatapedia], several years ago.
 
 
 
'''Advantages:'''
 
'''Advantages:'''
 
*Much simpler page source, making it easier to maintain, and/or make additions.
 
*Much simpler page source, making it easier to maintain, and/or make additions.
Line 43: Line 41:
 
*More fields can be added. However, all pages using the template will need to be either manually updated, or use a bot to add the new field(s).
 
*More fields can be added. However, all pages using the template will need to be either manually updated, or use a bot to add the new field(s).
 
*The template can be extended with relative ease, adding more functionality, and automation.
 
*The template can be extended with relative ease, adding more functionality, and automation.
 +
  
 
'''Drawbacks:'''
 
'''Drawbacks:'''
 
*When creating a new OSSL function article, the user will have to copy and paste the page template over to the new page.
 
*When creating a new OSSL function article, the user will have to copy and paste the page template over to the new page.
*The pasted code can easily get damaged by deleting or altering parts of the pasted page template
+
*The pasted code can easily get damaged (thus rendering it non-functional) by deleting or altering parts of the pasted page template
 
+
  
Wishlist for the template:
 
* Automatic source formatting, adding <nowiki><source lang="lsl">{{{function_syntax}}}</source></nowiki> did not give the desired results. Instead, it would simply show <source lang="lsl">{{{function_syntax}}}</source> instead of <source lang="lsl">osAnyFunction()</source>. I need to look into this some more.
 
  
 +
'''Wishlist for the template:'''
 +
* Automatic source formatting, adding <nowiki><source lang="lsl">{{{function_syntax}}}</source></nowiki> did not give the desired results. It would display as <source lang="lsl">{{{function_syntax}}}</source> instead of <source lang="lsl">osAnyFunction()</source>
 +
::After doing some research, it appears that [http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi  GeShi] in its current form can not deal with this scenario.
  
 +
----
 +
====Usage====
 
----
 
----
  

Revision as of 15:52, 12 June 2011

Contents

BrainStorm

Welcome to Friti's BrainStorm. This page will be basically a combination of a sandbox, and a development page. Pages created and edited here may or may not make it into the the official wiki content.

Also to be found here are some experiments which may or may not lead to something.

The purpose of this is to increase my own knowledge of wiki-related matters (editing, techniques, etc) and to lift the OpenSim wiki to a higher level. In the process, this will also allow me to clean up my user page ;-)


ToDo

The following will use OSSL Implemented as a starting point


New pages

Quick tests. To be ignored!

nothing at the moment...

Templates

OSSL Function Template

Advantages:

  • Much simpler page source, making it easier to maintain, and/or make additions.
  • All pages that are based on this template will be updated in one fell swoop at the moment the template is updated. This is very useful when more fields are required in the OSSL function pages, or if the design should be changed.
  • Using this template also ensures that all OSSL function pages will be uniform in appearance at all times
  • The template is also a smart one. It will automatically add a page to the relevant "missing" category, if any of the info is missing.
  • It can pinpoint problem with missing info from the template.
  • More fields can be added. However, all pages using the template will need to be either manually updated, or use a bot to add the new field(s).
  • The template can be extended with relative ease, adding more functionality, and automation.


Drawbacks:

  • When creating a new OSSL function article, the user will have to copy and paste the page template over to the new page.
  • The pasted code can easily get damaged (thus rendering it non-functional) by deleting or altering parts of the pasted page template


Wishlist for the template:

  • Automatic source formatting, adding <source lang="lsl">{{{function_syntax}}}</source> did not give the desired results. It would display as
    {{{function_syntax}}}
    instead of
    osAnyFunction()
After doing some research, it appears that GeShi in its current form can not deal with this scenario.

Usage



No function syntax provided
No descriptions provided
Threat Level No threat level specified
Permissions No permissions specified
Extra Delay No function delay specified




This template is to be used as follows:

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

Deprecation template.

Purpose: To be used on the pages of deprecated functions. New page is to be created with replacement function. Suggest copying over the content of the page of the deprecated function, and make modifications in the content of the new page.
Usage: {{deprecate|<MM DD YYYY>|<newname>}}
Example: {{deprecate|Nov. 21 1997|Friti}}
Result:


3rd Party template.

Purpose: To be used on pages dealing with 3rd party add-ons, modules, and so forth, so as to clearly, uniformly, and effortlessly mark them as 3rd party software.
Usage: {{thirdparty}}
Example: {{thirdparty}}
Result:


Multicol template

Imported from Wikipedia and very useful for making large lists appear in multiple columns, and thus reduce scrolling. And example would be OSSL_Implemented.

Multicol applied

This is some text.

This is some text too.

And here's some more text.

And whoa! Even more text!!!


Disambiguation Template

Importing the disambiguation template from Wikipedia to our own wiki.





Image test

List icon
Disambiguation icon
Personal tools
General
About This Wiki