Difference between revisions of "Editing GammaWiki"

From Gamma Wiki
Jump to: navigation, search
Line 21: Line 21:
 
The simplest way to link to a web page is to write the URL, without any formatting code, such as:
 
The simplest way to link to a web page is to write the URL, without any formatting code, such as:
 
http://www.nks.org/
 
http://www.nks.org/
The "http://" must be included
+
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:
 
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:
[https://www.gr.is/forum/GammaForum/ GammaForum]
+
[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==
 
==Inserting images and other file types such as PDF files==
Line 31: Line 31:
  
 
==Using Excel to create a table in Wiki==
 
==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
 +
{| {{table}}
 +
| align="center" style="background:#f0f0f0;"|'''Nuclide'''
 +
| align="center" style="background:#f0f0f0;"|''''''
 +
| align="center" style="background:#f0f0f0;"|'''Tables'''
 +
| align="center" style="background:#f0f0f0;"|'''Comments'''
 +
| align="center" style="background:#f0f0f0;"|'''ENSDF'''
 +
| align="center" style="background:#f0f0f0;"|'''UpDate'''
 +
| align="center" style="background:#f0f0f0;"|'''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
 +
|-
 +
|
 +
|}
  
 
 
 
 

Revision as of 07:05, 19 March 2010

Creating and editing files in GammaWiki

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".

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.

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.

You can even apply an ordinary http link, [1]

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.


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

Inserting images and other file types such as PDF files

File:Nks212 a.pdf


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


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

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

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