User:Fritigern/BrainStorm

From OpenSimulator

Jump to: navigation, search

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


New pages

Quick tests. To be ignored!

Threat level
None
Nuisance
VeryLow
Low
Moderate
High
VeryHigh
Severe

Templates

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

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);
    }
}
Personal tools
General
About This Wiki