User:Fritigern/BrainStorm

From OpenSimulator

< User:Fritigern(Difference between revisions)
Jump to: navigation, search
(Multicol template)
m (Plans and Ideas)
 
(64 intermediate revisions by one user not shown)
Line 8: Line 8:
  
 
----
 
----
== ToDo ==
+
== Plans and Ideas ==
 +
These are not on the todo list (yet), because they have not yet moved beyond the "idea" stage.
 +
* Write some end-user guides. Like [[quickstart]] guides for various actions (how to set up a server, how to clone the Git repo and build, etc). Everything should be very simple, and easy to understand. No technical stuff, just the procedure. Right now, the wiki is still confusing to many people who are looking for just some basic info.
  
The following will use '''[[OSSL_Implemented]]''' as a starting point
+
* [[OSSL_Script_Library|OSSL-specific script library]]. No such thing exists on the internet yet. (if it does, then i have missed it)
:*<strike>Check all OSSL functions for example scripts. If no example, add to </strike><strike>[[:Category:OSSL functions without example]]</strike> -- Done.
+
* Portals. First to come to mind would be a [[scripting portal]] and a [[developer portal]]. I'm sure there can be more then just these two.
:*Check all OSSL functions for threat level. If no thread level, add to [[:Category:OSSL functions without threat level]]  
+
* [[User:Fritigern/OSSL_Constants]]
:*Check all OSSL functions for function syntax. If no usage key, add to [[:Category:OSSL functions without function syntax]]  
+
* [[User:Fritigern/Compatible Viewers]]
:*Check all OSSL functions for uniformity.
+
 
:*Make a nice looking page template, to be used on OSSL function pages, and apply this template to all OSSL functions.
+
== ToDo  ==
 +
* Write a stub on [[Collada Mesh]]es. Included should be a list of (free) software that can be used to create collada [[mesh]]. (Also redirect "mesh" to "collada mesh"!)
 +
 
 +
*We have a comprehensive list of OSSL functions, but where is the documentation of the OSSL Constants? Well, here, i hope. => [[User:Fritigern/OSSL Constants]]
 +
 
 +
----
  
 
==New pages==
 
==New pages==
Line 21: Line 28:
 
* Collecting orphaned versioning pages under this page: '''[[User:Fritigern/OopenSim_DevHistory|OpenSim Development History]]'''
 
* Collecting orphaned versioning pages under this page: '''[[User:Fritigern/OopenSim_DevHistory|OpenSim Development History]]'''
 
* Orphaned script examples: '''[[User:Fritigern/Script_Examples|Example scripts]]'''
 
* Orphaned script examples: '''[[User:Fritigern/Script_Examples|Example scripts]]'''
* Orphaned [[Grid_List]] pages: '''[[User:Fritigern/Grid_List_Orphans|Grid List Orphans]]'''
 
  
 
== Quick tests. To be ignored! ==
 
== Quick tests. To be ignored! ==
nothing at the moment...
+
 
 +
{| border="1" cellpadding=5,5,10,10
 +
|+[[Threat level]]
 +
|-style="background:#00FF00;"
 +
| None
 +
|-style="background:#24DA00;"
 +
| Nuisance
 +
|-style="background:#48B600;"
 +
| VeryLow
 +
|-style="background:#6D9100;"
 +
| Low
 +
|-style="background:#916D00;"
 +
| Moderate
 +
|-style="background:#B64800;"
 +
| High
 +
|-style="background:#DA2400;"
 +
| VeryHigh
 +
|-style="background:#FF0000;"
 +
| Severe
 +
|}
  
 
==Templates==
 
==Templates==
 +
 
===Deprecation template.===
 
===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.
 
:'''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.
Line 42: Line 68:
  
 
===Multicol template ===
 
===Multicol template ===
'''Imported from Wikipedia''' and very useful for making large lists appear in multiple columns. And example would be [[OSSL_Implemented]].
+
::'''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 ===
+
==== Multicol applied ====
 
{{Template:Multicol}}
 
{{Template:Multicol}}
 
This is some text.
 
This is some text.
Line 54: Line 80:
 
And whoa! Even more text!!!
 
And whoa! Even more text!!!
 
{{Multicol-end}}
 
{{Multicol-end}}
 +
 +
 +
=== Disambiguation Template ===
 +
Importing the disambiguation template from Wikipedia to our own wiki.
 +
 +
{{Template:disambig}}
 +
 +
----
 +
 +
 +
 +
=== Image test ===
 +
[[Image:List_gray.png|200px|thumb|left|List icon]]
 +
[[Image:Disambig_gray.png|200px|thumb|left|Disambiguation icon]]
 +
 +
== Securing some code ==
 +
 +
Didn't want this code to get lost after turning the containing page into a redirect.
 +
 +
<source lang="lsl">
 +
default
 +
{
 +
    state_entry()
 +
    {
 +
    string drawList = "";
 +
    drawList = osDrawLine (drawList, 10,20,240,20);
 +
    drawList = osMovePen (drawList, 50,100);
 +
    drawList = osDrawImage(drawList, 100,100,"http://openlifegrid.com/Portals/0/Repository/wowpr2.jpg" );
 +
    drawList = osSetPenSize (drawList, 1);
 +
    drawList = osMovePen (drawList, 50,70);
 +
    drawList = osDrawEllipse (drawList, 20,20);
 +
    drawList = osMovePen(drawList, 90,70);
 +
    drawList = osDrawRectangle (drawList, 20,20 );
 +
    drawList = osMovePen (drawList,130,70);
 +
    drawList = osDrawFilledRectangle(drawList, 20,20);
 +
    drawList = osSetFontSize (drawList, 12 );
 +
    drawList = osMovePen (drawList,15,32);
 +
    string regionName = llGetRegionName();
 +
    drawList = osDrawText (drawList, "Hello and welcome to " + regionName );
 +
    drawList = osSetFontSize (drawList, 7);
 +
    drawList = osSetPenColour (drawList, "blue");
 +
    drawList = osMovePen (drawList, 70,220);
 +
    drawList = osDrawText (drawList, "The End");
 +
    osSetDynamicTextureData("", "vector", drawList, "", 0);
 +
    }
 +
}
 +
</source>
 +
 +
 +
----
 +
=== A text box test ===
 +
A little idea i had for the some of the pages. Dunno if it will work or not....
 +
 +
{{Layout_box2|1=
 +
 +
'''Scripting:'''
 +
* [[:Category:OSSL_Functions|OSSL Functions]] -- [[OSSL Script Library]] -- [[OSSLNPC|NPCs/Bots]] -- [[Dynamic textures]]
 +
}}
 +
 +
=== Footerbox template ===
 +
A template, to be inserted at the end of notable pages. Criteria yet to be determined, but should help users find more, and related info fast.
 +
 +
Template should be flexible, and allow a format like this (first draft!):
 +
 +
<nowiki>
 +
{{footerbox
 +
|title=Related Pages
 +
|word=Green
 +
|list=[[grass]], [[pesto]], [[wasabi]], [[pea soup]], [[Sea Monsters]]
 +
}}</nowiki>
 +
 +
The output should look roughly like this:
 +
 +
{|style="background-color: #eeffee; border: 1px solid #008800; margin: 5px; padding: 5px; font-size:x-small; color:#000; width:99%;"
 +
|-style="text-align:center; background-color: #00aa00; color:#ffffff;font-size:small; font-weight:bold;"
 +
|Related Pages
 +
|-
 +
|'''More articles related to Green''' :
 +
|-
 +
|[[Grass]] -- [[Pesto]] -- [[Wasabi]] -- [[Pea Soup]] -- [[Sea Monsters]]
 +
|}
 +
 +
Footerbox shall be intended to be included in other templates, so that Template:Purple, or Template:Fish_products will have a similar layout, whilst reducing complexity of the use of those templates. I.E. all that the user will have to do, would be to include <nowiki>{{Purple}}</nowiki> or <nowiki>{{Fish_products}}</nowiki> at the end of their article.
 +
 +
==== The Template ====
 +
<nowiki>
 +
{{footerbox
 +
|background =
 +
|border =
 +
|headercolor =
 +
|title=
 +
|word=
 +
|list=
 +
}}
 +
</nowiki>
 +
 +
==== The Template In Action ====
 +
 +
{{footerbox
 +
|background = #eeffee
 +
|border = #008800
 +
|headercolor = #00aa00
 +
|title=Related Pages
 +
|word=Green
 +
|list=[[grass]], [[pesto]], [[wasabi]], [[pea soup]], [[Sea Monsters]]
 +
}}
 +
 +
{{footerbox
 +
|background = #ffffee
 +
|border = #ff8800
 +
|headercolor = #ffaa00
 +
|title=Scripting
 +
|word=scripting
 +
|list=[[Scripting Documentation]] -- [[OSSL_Implemented]] -- [[LSL Status]] -- [[:Category:Scripting]] -- [[OS Scripting Tutorial]] -- [[ScriptEngines|Script Engines]]
 +
}}
 +
 +
==== The Template As An Inclusion ====
 +
 +
{{scripting}}
 +
 +
{{physics}}
 +
 +
 +
== Template Hidden ==
 +
'''Notes:'''
 +
*For documentation, see [[Template:Hidden]].
 +
*Templates taken from http://en.wikipedia.org/wiki/Template:Hidden
 +
 +
{{hidden|Title|Content}}
 +
 +
 +
{{hidden|Hideable Div|This is an example of a hidable div. To be able to use these, it's nescessary to have the supporting files on the server. Most likely the CSS file, and some javascript.}}
 +
 +
 +
{{Hidden
 +
|header=Testing Hidden Divs
 +
|content=This is a test of the hidden template, as it exists on http://en.wikipedia.org/wiki/Template:Hidden
 +
|style=
 +
|headerstyle=
 +
|contentstyle=
 +
|fw1=
 +
|fw2=
 +
|bg1=
 +
|bg2=
 +
|ta1=
 +
|ta2=
 +
}}
 +
 +
 +
{{hidden
 +
| style = border:1px dashed red; width: 50%;
 +
| headerstyle = background: #ccccff; font-size: 110%;
 +
| contentstyle = text-align: center; color:green;
 +
| header = Title text here
 +
| content = Body text line 1<br />Body text line 2<br />Body text line 3
 +
}}

Latest revision as of 00:21, 12 February 2012

Contents

[edit] 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 ;-)


[edit] Plans and Ideas

These are not on the todo list (yet), because they have not yet moved beyond the "idea" stage.

  • Write some end-user guides. Like quickstart guides for various actions (how to set up a server, how to clone the Git repo and build, etc). Everything should be very simple, and easy to understand. No technical stuff, just the procedure. Right now, the wiki is still confusing to many people who are looking for just some basic info.

[edit] ToDo

  • Write a stub on Collada Meshes. Included should be a list of (free) software that can be used to create collada mesh. (Also redirect "mesh" to "collada mesh"!)
  • We have a comprehensive list of OSSL functions, but where is the documentation of the OSSL Constants? Well, here, i hope. => User:Fritigern/OSSL Constants

[edit] New pages

[edit] Quick tests. To be ignored!

Threat level
None
Nuisance
VeryLow
Low
Moderate
High
VeryHigh
Severe

[edit] Templates

[edit] 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:


[edit] 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:


[edit] 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.

[edit] Multicol applied

This is some text.

This is some text too.

And here's some more text.

And whoa! Even more text!!!


[edit] Disambiguation Template

Importing the disambiguation template from Wikipedia to our own wiki.





[edit] Image test

List icon
Disambiguation icon

[edit] Securing some code

Didn't want this code to get lost after turning the containing page into a redirect.

default
{
    state_entry()
    {
    string drawList = "";
    drawList = osDrawLine (drawList, 10,20,240,20);
    drawList = osMovePen (drawList, 50,100);
    drawList = osDrawImage(drawList, 100,100,"http://openlifegrid.com/Portals/0/Repository/wowpr2.jpg" );
    drawList = osSetPenSize (drawList, 1);
    drawList = osMovePen (drawList, 50,70);
    drawList = osDrawEllipse (drawList, 20,20);
    drawList = osMovePen(drawList, 90,70);
    drawList = osDrawRectangle (drawList, 20,20 );
    drawList = osMovePen (drawList,130,70);
    drawList = osDrawFilledRectangle(drawList, 20,20);
    drawList = osSetFontSize (drawList, 12 );
    drawList = osMovePen (drawList,15,32);
    string regionName = llGetRegionName();
    drawList = osDrawText (drawList, "Hello and welcome to " + regionName );
    drawList = osSetFontSize (drawList, 7);
    drawList = osSetPenColour (drawList, "blue");
    drawList = osMovePen (drawList, 70,220);
    drawList = osDrawText (drawList, "The End");
    osSetDynamicTextureData("", "vector", drawList, "", 0);
    }
}



[edit] A text box test

A little idea i had for the some of the pages. Dunno if it will work or not....

[edit] Footerbox template

A template, to be inserted at the end of notable pages. Criteria yet to be determined, but should help users find more, and related info fast.

Template should be flexible, and allow a format like this (first draft!):

 {{footerbox
 |title=Related Pages
 |word=Green
 |list=[[grass]], [[pesto]], [[wasabi]], [[pea soup]], [[Sea Monsters]]
 }}

The output should look roughly like this:

Related Pages
More articles related to Green :
Grass -- Pesto -- Wasabi -- Pea Soup -- Sea Monsters

Footerbox shall be intended to be included in other templates, so that Template:Purple, or Template:Fish_products will have a similar layout, whilst reducing complexity of the use of those templates. I.E. all that the user will have to do, would be to include {{Purple}} or {{Fish_products}} at the end of their article.

[edit] The Template

 {{footerbox
 |background =
 |border =
 |headercolor =
 |title=
 |word=
 |list=
 }}
 

[edit] The Template In Action

Related Pages
More articles related to Green:
grass, pesto, wasabi, pea soup, Sea Monsters


Scripting
More articles related to scripting:
Scripting Documentation -- OSSL_Implemented -- LSL Status -- Category:Scripting -- OS Scripting Tutorial -- Script Engines


[edit] The Template As An Inclusion

Scriptingv · d · e
More articles related to scripting:
Scripting Documentation -- OSSL_Implemented -- LSL Status -- Category:Scripting -- OS Scripting Tutorial -- Script Engines


Physics Enginev · d · e
More articles related to physics:
Physics -- PhysicsEngines -- NINJA Physics -- Physics Engine Interface -- Feature Matrix -- Distributed Scene Graph -- Collada Mesh


[edit] Template Hidden

Notes:




Personal tools
General
About This Wiki