Loading...

PARTICIPATE

Welcome! Arduino wants you ;) !
Here you will learn all there is to know about how to contribute to this playground wiki. For tracking and security reasons you will have to create a Username and a Password in order to edit the pages. The new forum system allows you to use your same username and password.


Formatting Suggestions

Here are some guidelines for when you add information to the wiki. These are not coming from a place of authority, so if you feel you know a better way, please change these guidelines!

Titles

Use this code:

 
!!!Your Title 

For this effect:

Your Title

You can use 1 to 4 exclamation points to change the headings size.


Layout

Separate sections with ----

Make a Navigation section and use anchors where suited.

Use this code:

 
----
!Navigation
*[[#MyTitle|My Title]]
*[[#MyOtherTitle|My Other Title]]

----
![[#MyTitle]]My Title
My content 

----
![[#MyOtherTitle]]My Other Title
My other \\
multiline \\
content.

For this effect:


Navigation


My Title

My content


My Other Title

My other
multiline
content.

Source Code

You can put code into the playground with special formating if you want. This is via the SourceBlock plugin, a pmWiki wrapper for GeSHi. Read more at those links, but here is a quick reference to optional PARAMETERS:

  • lang=LANGUAGE to select one of the supported highlighters,
  • linenum{=START_NUMBER} to enable line numbers and optionally specify start value.
  • tabwidth=TAB_WIDTH to set the number of spaces to use for tab replacement(*).
  • header=TEXT and footer=TEXT to surround the source code(*).
  • highlight='LINE_NUMBER1, LINE_NUMBER2,...' to specify the line numbers to point-*out (separators are spaces, comma and semicolon).
  • -trim to disable the automatic trimming of source.
  • -link to disable the automatic generation of documentation links(*).
  • -getcode to disable the "Get Code" view/download code link (see below).

(:source lang=c linenum:)

// enter code in here

(:sourcend:)

For Example:

  1. /*
  2. Mr. Roboto
  3. December, 2007
  4.  
  5. This is the most important software ever written
  6. */
  7.  
  8. Serial.println("Hello World.  I am Mr. Robot.");
  9.  

Structure

In general, page use the ! character for making seperators between main and sub topics. If you are adding content to a sub-area and that area gets large (use judgement), it is probably time to create a sub page and add a link from the original location. These keeps the main wiki pages (that are listed in the side bar) from getting gigantic.