Difference between revisions of "LifeWiki:Sandbox"

From LifeWiki
Jump to navigation Jump to search
Line 74: Line 74:
|-
|-
|{{#form:  
|{{#form:  
{{#input: type = hidden | name = content | value = {{#dpl: allowcachedresults =false|category=Oscillators_with_period_{{#request:per}}|resultsheader=The following %TOTALPAGES% pages describe oscillators that meet the given requirements.|format=,\n* [[%PAGE%|%TITLE%]],,|columns=3|ordermethod = titlewithoutnamespace}} }}
{{#input: type = hidden | name = content | value = <nowiki>{{#dpl: allowcachedresults =false|category=Oscillators_with_period_{{#request:per}}|resultsheader=The following %TOTALPAGES% pages describe oscillators that meet the given requirements.|format=,\n* [[%PAGE%|%TITLE%]],,|columns=3|ordermethod = titlewithoutnamespace}}</nowiki> }}
<table class="hiddentable"><tr>
<table class="hiddentable"><tr>
<th rowspan="2">List oscillators with...&nbsp;</th>
<th rowspan="2">List oscillators with...&nbsp;</th>

Revision as of 05:51, 20 February 2009

Welcome to the sandbox! This is a place where you can edit freely without having to worry about messing anything up. It contains lots of examples of wiki code that you can test and modify to see what happens.

Using the Sandbox

Feel free to edit this page any way you want: modify anything written here, add content, delete content, etc. Experiment however you would like. All that we ask is:

  • Use the "Show Preview" option as much as possible. Using preview (instead of save) allows you to compare side by side what's in the edit box with the page's actual appearance. Preview also prevents all of your experiments from appearing in recent changes.
  • Do not add any copyrighted or offensive material here.
  • Remember that any changes you make will be temporary. Other editors regularly clean up the sandbox, so it's ready for the next person who wants to use it.

Other Sandboxes

  • If you want to create your own personal sandbox that won't be quickly reverted in order to test something, you can create a page at [[User:<yourname>/Sandbox]]. You can even create more than one of these by adding a number or something to the end. Keep in mind that even though this may be in your User space, the same rules apply there as to the rest of the site regarding the posting of copyrighted or offensive material. And again, please use "Show Preview" whenever possible to avoid flooding the Recent Changes with your test edits.

Basic Editing

The wiki uses a simplified type of markup language that's easier to use and less rigid than standard HTML. A sentence can be split between as many lines as you would like. As long as there no blank lines in between, everything will be combined into one paragraph on the displayed page.

This is an example of a standard list, showing different types of basic text formatting:

  • standard text
  • italicized text
  • bold text
  • some bold and italicized text
    • an indented item in the list
    • and another
      • keep adding asterisks to indent further
  • back to regular indents

You can also create automatically numbered lists:

  1. The first entry
  2. The second entry
    • You can mix different types of lists
  3. The third entry

See the quick editing guide for more examples. Also check out the buttons at the top of the edit window: clicking the buttons adds various types of text to the edit window. And below the edit window there's a list of symbols and Wiki markup codes: clicking on any of them will insert that text into the edit window.

Talk Pages

On talk pages, indents are used to tell who said what. So this would be the initial comment or question.

Indented text like this would be a response.
And this would be another person's response. Also, comments on talk pages are signed: after you've finished typing what you want to say, click on the signature box above the edit window to automatically insert your signature. What it inserts looks like this: --~~~~, but the tildes are automatically changed into your signature when you save the page (and check what it looks like in the preview window, too!)

Sub-Sub-Section

Notice how this section's title uses four = signs instead of three (like the Talk Pages section) or two. You could even use five = signs. If you change any of the section titles, the table of contents at the top of the page will automatically update.

Links

These are some examples of links to other pages in the LifeWiki:

You can also create links to other sites:

Tables

This is an example of a basic table. See Wikipedia's Help:Table page for an explanation of the table formatting and examples of different things you could do to this table.

A title box Another title box Title for Column 3 Title for Column 4
data Data data data
A box with lots of text in it.

This box even takes up multiple lines

2 3 4

Dropdown selects

{{#form:

{{#input: type = hidden | name = content | value = {{#dpl: allowcachedresults =false|category=Oscillators_with_period_{{#request:per}}|resultsheader=The following %TOTALPAGES% pages describe oscillators that meet the given requirements.|format=,\n* [[%PAGE%|%TITLE%]],,|columns=3|ordermethod = titlewithoutnamespace}} }}

List oscillators with...  Period: {{#input: type = select | name = pereq |
  • at least
  • equal to
  • at most }}
{{#input: name = per | value = 0 }}
Heat: {{#input: type = select | name = heateq |
  • at least
  • equal to
  • at most }}
{{#input: name = heat | value = 0 }}
{{#input: type = ajax | value = Show oscillators | update = mw-pagesb}}

}}