Difference between revisions of "Editing GammaWiki"

From Gamma Wiki
Jump to: navigation, search
Line 1: Line 1:
 
==Creating and editing files in GammaWiki==
 
==Creating and editing files in GammaWiki==
 +
 +
==Creating a new page==
 
It is very simple to create a '''new page''' in Wiki.  A good way is to refer to the new page from a page that is already existing like this:
 
It is very simple to create a '''new page''' in Wiki.  A good way is to refer to the new page from a page that is already existing like this:
 
[[new page|Title of new page]]  (please look at the source code by going into the editing mode to see how it should be written).
 
[[new page|Title of new page]]  (please look at the source code by going into the editing mode to see how it should be written).
 
The file will get the name "new page" but the link will be displayed as "Title of new page".
 
The file will get the name "new page" but the link will be displayed as "Title of new page".
  
==Creating a new page==
 
 
You then save the page you are referring from and when you click on the link you just created, the wiki-system will automatically create the new page for you.
 
You then save the page you are referring from and when you click on the link you just created, the wiki-system will automatically create the new page for you.
  
 +
'''Example:'''
 
E.g. information on estimation of uncertainties can be found at:
 
E.g. information on estimation of uncertainties can be found at:
 
[[uncertainties|Combined uncertainty calculations]]
 
[[uncertainties|Combined uncertainty calculations]]
Line 12: Line 14:
 
You can use some familiar text formatting tools displayed at the top of this frame, like '''bold''', ''italics'', etc.  First you select the text you want to change the attribute of, then you click the icon of the attribute you want to apply and the result is at once visible in the source code.
 
You can use some familiar text formatting tools displayed at the top of this frame, like '''bold''', ''italics'', etc.  First you select the text you want to change the attribute of, then you click the icon of the attribute you want to apply and the result is at once visible in the source code.
  
You can even apply an ordinary http link, [http://www.nks.org/]
+
If you want to see how the text looks before it is saved, you can click the "Show preview" button at the bottom of the page.
 +
 
 +
==Paragraphs==
 +
In order to create a separation between paragraphs one simply insert a blank line.
  
If you want to see how the text looks before it is saved, you can click the "Show preview" button at the bottom of the page.
 
  
 +
==Lists with bullets or numbers==
 +
It is very easy to create lists in Wiki.  Each line must begin with a specific symbol, "*" for ordinary bullets, "#" for a numbered list.  See the example below:
 +
*This is a line with a bullet
 +
#This is a line preceded by a number
  
  
Line 26: Line 34:
 
[http://www.nks.org/en/nksb/current_activities/measurement_strategy_technology_and_quality_assurance/gammasem.htm GammaSem web page at www.nks.org]
 
[http://www.nks.org/en/nksb/current_activities/measurement_strategy_technology_and_quality_assurance/gammasem.htm GammaSem web page at www.nks.org]
  
==Inserting images and other file types such as PDF files==
 
[[File:nks212_a.pdf]]
 
  
  
Line 70: Line 76:
 
(all of the rows could have been selected)
 
(all of the rows could have been selected)
 
Since the web based table was to be copied into Excel, ''Microsoft Internet Explorer'' was used to display the web page.  Then it was easy to copy the information into Excel and from there into the converter.  No adjustments or corrections were made in the example above.  The choice of web browser is here important, Internet Explorer integrates better with Excel than e.g. Firefox.
 
Since the web based table was to be copied into Excel, ''Microsoft Internet Explorer'' was used to display the web page.  Then it was easy to copy the information into Excel and from there into the converter.  No adjustments or corrections were made in the example above.  The choice of web browser is here important, Internet Explorer integrates better with Excel than e.g. Firefox.
 +
 +
==Inserting images and other file types such as PDF files==
 +
Images and files (max size a few MBytes) can be uploaded to the Wiki system.  The
 +
[[File:nks212_a.pdf]]
 
 
 
 
 
GUM: Guide to the Expression of Uncertainty in Measurement
 
GUM: Guide to the Expression of Uncertainty in Measurement
Line 79: Line 89:
  
 
You can use this file as an example
 
You can use this file as an example
 +
==References==
 +
Please do not be afraid to experiment. All saved versions of GammaWiki pages are saved in the history file and it is thus always possible to revert back to an earlier version
  
Please do not be afraid to experiment. All saved versions of GammaWiki pages are saved in the history file and it is thus always possible to revert back to an earlier version
+
More detailed information can be obtained from the following
  
 
http://www.mediawiki.org/wiki/MediaWiki
 
http://www.mediawiki.org/wiki/MediaWiki

Revision as of 09:01, 19 March 2010

Creating and editing files in GammaWiki

Creating a new page

It is very simple to create a new page in Wiki. A good way is to refer to the new page from a page that is already existing like this: Title of new page (please look at the source code by going into the editing mode to see how it should be written). The file will get the name "new page" but the link will be displayed as "Title of new page".

You then save the page you are referring from and when you click on the link you just created, the wiki-system will automatically create the new page for you.

Example: E.g. information on estimation of uncertainties can be found at: Combined uncertainty calculations

You can use some familiar text formatting tools displayed at the top of this frame, like bold, italics, etc. First you select the text you want to change the attribute of, then you click the icon of the attribute you want to apply and the result is at once visible in the source code.

If you want to see how the text looks before it is saved, you can click the "Show preview" button at the bottom of the page.

Paragraphs

In order to create a separation between paragraphs one simply insert a blank line.


Lists with bullets or numbers

It is very easy to create lists in Wiki. Each line must begin with a specific symbol, "*" for ordinary bullets, "#" for a numbered list. See the example below:

  • This is a line with a bullet
  1. This is a line preceded by a number


Creating links

The simplest way to link to a web page is to write the URL, without any formatting code, such as: http://www.nks.org/ The "http://" must be included.

If the information on the web site is the main thing, the URL itself being of minor importance (and possibly being long and obscure), then it is easy to let the Wiki show a label instead of the URL. One writes first the URL then a space and then the label (which can contain spaces), all included in square brackets []. See the following example in the source code: GammaSem web page at www.nks.org


Using Excel to create a table in Wiki

Creating a table in Wiki using the source code directly can be a bit complicated, especially if table is big. Fortunately there are various tools available to make this task easy.

  • One method is simply to create the table in Excel (the cells can contain text as well as numbers).
  • The Excel table is then copied and pasted into the input square in the program Copy & Paste Excel-to-Wiki Converter that can be found at the following web page
  • http://excel2wiki.net/
  • Press Submit Query and the resulting source code will be appear below, under a heading Result
  • The resulting source code is then copied from this page and inserted into the Wiki page

Example

Nuclide ' Tables Comments ENSDF UpDate Type
Ac-225 225Ac table comments ensdf 26.8.2009 3
Ac-227 227Ac table comments ensdf 16.2.2009 2
Ac-228 228Ac table comments ensdf 22.1.2010 3
Ag-108 108Ag table comments ensdf 4.9.2006 2
Ag-108m 108Agm table comments ensdf 24.1.2008 1
Ag-110 110Ag table comments ensdf 12.3.2004 1
Ag-110m 110Agm table comments ensdf 24.3.2004 1

This table was made by selecting the first rows in the table at: http://www.nucleide.org/DDEP_WG/DDEPdata.htm (all of the rows could have been selected) Since the web based table was to be copied into Excel, Microsoft Internet Explorer was used to display the web page. Then it was easy to copy the information into Excel and from there into the converter. No adjustments or corrections were made in the example above. The choice of web browser is here important, Internet Explorer integrates better with Excel than e.g. Firefox.

Inserting images and other file types such as PDF files

Images and files (max size a few MBytes) can be uploaded to the Wiki system. The File:Nks212 a.pdf

GUM: Guide to the Expression of Uncertainty in Measurement http://www.bipm.org/en/publications/guides/gum.html


Sections and automatic generation of Table of Index

You can use this file as an example

References

Please do not be afraid to experiment. All saved versions of GammaWiki pages are saved in the history file and it is thus always possible to revert back to an earlier version

More detailed information can be obtained from the following

http://www.mediawiki.org/wiki/MediaWiki

Help:Editing pages http://www.mediawiki.org/wiki/Help:Editing_pages

Help:Formatting http://www.mediawiki.org/wiki/Help:Formatting

Help:Links http://www.mediawiki.org/wiki/Help:Links

Help:Images http://www.mediawiki.org/wiki/Help:Images

Creating tables using Excel Copy & Paste Excel-to-Wiki Converter http://excel2wiki.net/

The abstract of the GammaSem report File:Nks212 e.pdf