User:Reuben Cutfield/My Sandbox: Difference between revisions
(Tutorial 2; Activity 2: Piped syntax tables) |
(Tutorial 5; Acitvity 1: General purpose pages) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
==Tutorial 2: Editing Tables== | ==Tutorial 2: Editing Tables== | ||
Please refer to http://meta.wikimedia.org/wiki/Table for information on how to prepare these tables. Each 'Activity' refers to one sub-heading within this tutorial.--[[User:Reuben Cutfield|Reuben Cutfield]] 01:43, 22 December 2010 (EST) | |||
===Activity 1: Wikitable=== | ===Activity 1: Wikitable=== | ||
Line 23: | Line 25: | ||
===Activity 2:Pipe Syntax=== | ===Activity 2:Pipe Syntax=== | ||
{|border="1" | {|border="1" | ||
|+Reuben's Caption | |+Reuben's Caption | ||
Line 40: | Line 43: | ||
|align="center"|Cell-Aligned in centre | |align="center"|Cell-Aligned in centre | ||
|} | |} | ||
===Activity 3: Color formatting=== | |||
{|border="2" | |||
|+Demonstrating coloured cell application | |||
!Coloured Cells | |||
|- | |||
|style="background:yellow; color:blue"|blue on yellow | |||
|- | |||
|bgcolor="black" | <span style="color:white"> white on black | |||
|- | |||
|not coloured | |||
|} | |||
===Activity 4: Changing cell heights=== | |||
{|style="width:80%; height:160px" border="3" | |||
|+Changing the sizes of cells etc | |||
|-style="height:160px" | |||
|the height||is||160 pixels | |||
|-style="height:50px" | |||
|the height||is now || 50 px | |||
|} | |||
===Activity 5: Setting cell widths=== | |||
Usually the width is determined by the longest cell length (characters) however you can set the length which causes automatic wrapping of text. | |||
{|border="2" cellpadding="1" | |||
|+Setting cell widths | |||
!width="40"|Small | |||
!width="70"|Medium | |||
!width="120"|Large | |||
|- | |||
|Notice how it wraps||the||text | |||
|} | |||
===Activity 6: Vertical Alignment=== | |||
{|border="1" | |||
|-valign="top" | |||
|height="50px"|aligned to the top | |||
|-valign="bottom" | |||
|height="50px"|aligned to bottom | |||
|} | |||
===Activity 7: Spanning multiple cells=== | |||
{|border="2" | |||
!Heading 1 spans 1 column!!colspan="2"|Heading 2 spans 2 columns | |||
|- | |||
|this cell spans 1 row||same again||rowspan="2"|this cell spans 2 rows | |||
|- | |||
|just spans 1||same again | |||
|} | |||
===Activity 8: Floating tables=== | |||
Lorem ipsum dolor sit | |||
amet, consectetur adipisicing elit, sed do eiusmod tempor | |||
incididunt ut labore et dolore magna aliqua. Ut enim ad | |||
minim veniam, quis nostrud exercitation... | |||
{|align="center" border="1" | |||
|- | |||
|Notice the floating of the ||table in the centre? | |||
|} | |||
{|align="left" border="1" | |||
|- | |||
|Notice the floating of the ||table to the left? | |||
|} | |||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation... | |||
===Activity 9: Nested tables=== | |||
{|border="1" | |||
!Col 1!!Col2 | |||
|- | |||
|Not Nested | |||
{|border="2" | |||
|Nested||Table | |||
|} | |||
|Original table | |||
|} | |||
===Activity 10: Aligning characters/decimal points=== | |||
{|border ="3" | |||
|- | |||
{|cellpadding="0" cellspacing="0" width="100%" | |||
|align="right" width=50% |E||width=50%|Xtreme | |||
|} | |||
|- | |||
| | |||
{|cellpadding="0" cellspacing="0" width="100%" | |||
|align="right" width=50% |Anato||width=50%|My | |||
|} | |||
|- | |||
| | |||
{|cellpadding="0" cellspacing="0" width="100%" | |||
|align="right" width=50% |Le||width=50%|Arning | |||
|} | |||
|- | |||
| | |||
{|cellpadding="0" cellspacing="0" width="100%" | |||
|align="right" width=50% |Sea||width=50%|Son | |||
|} | |||
|} | |||
===Activity 11: Sortable tables=== | |||
{|border="2" class="wikitable sortable" | |||
|+'''A sortable table''' | |||
!Alphabet!!Numbers | |||
|- | |||
|a||5 | |||
|- | |||
|f||9 | |||
|- | |||
|j||4 | |||
|- | |||
|i||2 | |||
|} | |||
===Activity 12: Displaying Code=== | |||
<pre> | |||
{| class="wikitable" | |||
|- | |||
! Description | |||
! Progress | |||
! Comments | |||
|- | |||
| This | |||
| Is | |||
| An | |||
|- | |||
| Example | |||
| Of a | |||
|'Wikitable' | |||
|} | |||
</pre> | |||
==Tutorial 5: Proper Page Naming Conventions== | |||
Please follow [[http://openwetware.org/wiki/Help:Page_naming_conventions|this]] link to access the tutorial. Each subheading has been turned into an activity and published below: | |||
===Intro=== | |||
The pages on OWW need to be organized so that accessing and indexing the documents is achieved systematically. Pages which are of general use are named following a certain convention whilst personal pages, lab pages and special pages for example follow other conventions. There are no restrictions on the way you name your page but it is etiquette to follow the guidelines provided by OWW so that the community constructs a better resource. The specificity of a page should be reflected in its name. Naming pages which are specific to yourself or your lab, for example, will instruct others to respect this and be mindful of their edits to the pages. Conversely pages can be named to encourage collaboration and editing by others. Naming conventions also serve to remove the likelihood of the overlapping/duplication of common names e.g. 'protocol'. Prefixes and namespaces followed by a colon are used to indicate a document to a particular category within the storage system which is already predefined and commonly used e.g. images: or OpenWetWare: Namespaces help track changes made to your documents as well. Users are encouraged to rename pages which have not been named following the guidelines. It is also advised that following renaming another persons page page that you leave a note on their talk page alerting them to this change. To rename a page you use the 'Move' button at the top of a document and type the new page name into the 'To new name' box whilst leaving a reason for doing so e.g. 'Following OWW conventions'. | |||
Please refer to [http://openwetware.org/wiki/Help:Renaming_pages renaming pages] for how to rename a page. | |||
Please refer to [http://openwetware.org/wiki/Template:Confusing_page_name changing a page name] template for a simple template you can complete and post to their talk page. | |||
===Activity 1: General purpose pages=== | |||
OWW automatically capitalizes the first letter of a page. Therefore all general purpose pages must be named beginning with a capital letter so that a page without a capitalized first letter isn't targeted to the capitalized version. Furthermore when searching for a page users don't have to duplicate their searches. The following words in the title, with the exception of acronyms such as 'PCR', must start with a lower case letter. | |||
Pleas visit [http://openwetware.org/wiki/Polyacrylamide_gel_electrophoresis Polyacrylamide gel electrophoresis] to see the proper convention being used. The page was named Polyacrylamide Gel Electrophoresis and the move button was used to change it. Please also visit [http://openwetware.org/wiki/Talk:Polyacrylamide_gel_electrophoresis the talk page] to see what I posted. |
Latest revision as of 15:05, 23 December 2010
This page will be used as a scrapbook for my OWW tutorials.
Tutorial 1: Adding and Using the Sandbox
Demonstrated through construction and use of this page.
Tutorial 2: Editing Tables
Please refer to http://meta.wikimedia.org/wiki/Table for information on how to prepare these tables. Each 'Activity' refers to one sub-heading within this tutorial.--Reuben Cutfield 01:43, 22 December 2010 (EST)
Activity 1: Wikitable
Description | Progress | Comments |
---|---|---|
This | Is | An |
Example | Of a | 'Wikitable' |
Activity 2:Pipe Syntax
Reuben's | Table Headings | In bold |
---|---|---|
Reuben's row heading | New row, new cell | Same row new cell |
Another row heading | Another new row | Another new cell in that row |
A new row | New cell created with pipes instead of new line | |
Cell-not aligned | Cell-Aligned in centre |
Activity 3: Color formatting
Coloured Cells |
---|
blue on yellow |
white on black |
not coloured |
Activity 4: Changing cell heights
the height | is | 160 pixels |
the height | is now | 50 px |
Activity 5: Setting cell widths
Usually the width is determined by the longest cell length (characters) however you can set the length which causes automatic wrapping of text.
Small | Medium | Large |
---|---|---|
Notice how it wraps | the | text |
Activity 6: Vertical Alignment
aligned to the top |
aligned to bottom |
Activity 7: Spanning multiple cells
Heading 1 spans 1 column | Heading 2 spans 2 columns | |
---|---|---|
this cell spans 1 row | same again | this cell spans 2 rows |
just spans 1 | same again |
Activity 8: Floating tables
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation...
Notice the floating of the | table in the centre? |
Notice the floating of the | table to the left? |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation...
Activity 9: Nested tables
Col 1 | Col2 | ||
---|---|---|---|
Not Nested
|
Original table |
Activity 10: Aligning characters/decimal points
E | Xtreme |
Anato | My |
Le | Arning |
Sea | Son |
Activity 11: Sortable tables
Alphabet | Numbers |
---|---|
a | 5 |
f | 9 |
j | 4 |
i | 2 |
Activity 12: Displaying Code
{| class="wikitable" |- ! Description ! Progress ! Comments |- | This | Is | An |- | Example | Of a |'Wikitable' |}
Tutorial 5: Proper Page Naming Conventions
Please follow [[1]] link to access the tutorial. Each subheading has been turned into an activity and published below:
Intro
The pages on OWW need to be organized so that accessing and indexing the documents is achieved systematically. Pages which are of general use are named following a certain convention whilst personal pages, lab pages and special pages for example follow other conventions. There are no restrictions on the way you name your page but it is etiquette to follow the guidelines provided by OWW so that the community constructs a better resource. The specificity of a page should be reflected in its name. Naming pages which are specific to yourself or your lab, for example, will instruct others to respect this and be mindful of their edits to the pages. Conversely pages can be named to encourage collaboration and editing by others. Naming conventions also serve to remove the likelihood of the overlapping/duplication of common names e.g. 'protocol'. Prefixes and namespaces followed by a colon are used to indicate a document to a particular category within the storage system which is already predefined and commonly used e.g. images: or OpenWetWare: Namespaces help track changes made to your documents as well. Users are encouraged to rename pages which have not been named following the guidelines. It is also advised that following renaming another persons page page that you leave a note on their talk page alerting them to this change. To rename a page you use the 'Move' button at the top of a document and type the new page name into the 'To new name' box whilst leaving a reason for doing so e.g. 'Following OWW conventions'.
Please refer to renaming pages for how to rename a page.
Please refer to changing a page name template for a simple template you can complete and post to their talk page.
Activity 1: General purpose pages
OWW automatically capitalizes the first letter of a page. Therefore all general purpose pages must be named beginning with a capital letter so that a page without a capitalized first letter isn't targeted to the capitalized version. Furthermore when searching for a page users don't have to duplicate their searches. The following words in the title, with the exception of acronyms such as 'PCR', must start with a lower case letter.
Pleas visit Polyacrylamide gel electrophoresis to see the proper convention being used. The page was named Polyacrylamide Gel Electrophoresis and the move button was used to change it. Please also visit the talk page to see what I posted.