User:Fritigern/BrainStorm
From OpenSimulator
(→Multicol applied) |
m (→Plans and Ideas) |
||
(63 intermediate revisions by one user not shown) | |||
Line 8: | Line 8: | ||
---- | ---- | ||
− | == | + | == 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. | ||
− | + | * [[OSSL_Script_Library|OSSL-specific script library]]. No such thing exists on the internet yet. (if it does, then i have missed it) | |
− | + | * 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. | |
− | + | * [[User:Fritigern/OSSL_Constants]] | |
− | + | * [[User:Fritigern/Compatible Viewers]] | |
− | + | ||
− | + | == 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]]''' | ||
− | |||
== Quick tests. To be ignored! == | == Quick tests. To be ignored! == | ||
− | + | ||
+ | {| 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 ==== | ||
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.
- OSSL-specific script library. No such thing exists on the internet yet. (if it does, then i have missed it)
- 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.
- User:Fritigern/OSSL_Constants
- User:Fritigern/Compatible Viewers
[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
- Collecting orphaned versioning pages under this page: OpenSim Development History
- Orphaned script examples: Example scripts
[edit] Quick tests. To be ignored!
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:
*** NOTE : *** As of Nov 21 1997, this function has been renamed to Friti.
Versions of OpenSimulator released after this date will give the user a deprecation warning, but for the time being will function as before. However, the deprecated function may eventually be removed entirely, and should therefore be avoided, and the new version be used instead. |
[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:
*** THIS ARTICLE IS ABOUT THIRD PARTY SOFTWARE *** Although OpenSimulator encourages the development of third party software for OpenSimulator, no support can be provided on this. For help with this software, contact the developer of this software directly.Please do not contact the OpenSimulator team with questions about this software. |
[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.
This disambiguation page lists articles associated with the same title. If an internal link led you here, you may wish to change the link to point directly to the intended article. |
[edit] Image test
[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....
Scripting:
[edit]
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
Scripting
|
More articles related to scripting: |
Scripting Documentation -- OSSL_Implemented -- LSL Status -- Category:Scripting -- OS Scripting Tutorial -- Script Engines |
Physics Engine
|
More articles related to physics: |
Physics -- PhysicsEngines -- NINJA Physics -- Physics Engine Interface -- Feature Matrix -- Distributed Scene Graph -- Collada Mesh |
[edit] Template Hidden
Notes:
- For documentation, see Template:Hidden.
- Templates taken from http://en.wikipedia.org/wiki/Template:Hidden
Content
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.
This is a test of the hidden template, as it exists on http://en.wikipedia.org/wiki/Template:Hidden
Body text line 1
Body text line 2
Body text line 3