Home (Eurostat)
English
Select your language
Disclaimer

This is a machine translation provided by the European Commission’s eTranslation service to help you understand this page. Please read the conditions of use.

Statistics Explained

Tutorial:Wikitext editing buttons

Print this page

This tutorial first briefly explains what common actions (cut, copy, paste, etc.) to perform via the right mouse-click menu and then describes the editing buttons above the wikitext editing pane to edit more efficiently (than manually or via copy & paste). Please refer to Help:Formatting and Tutorial:Tips and tricks - Wikitext for more MediaWiki formatting tips.

Edit buttons.png

The buttons fall into two categories

  • pre-formatted text processing buttons to put text in bold or italic, create headings, etc.
  • insertion buttons for adding
  • links (often activating a template specially created for linking to glossary page, legal text in EUR-Lex, Eurostat publication, database view, ...)
  • the most used wikitext code (for internal or external link, footnote, formula, ...)
  • objects like an image or a table.

Right mouse-click actions

If you position the cursor in the editing pane or select a text section and then click the right mouse button, a menu opens with possible actions (these can be slightly different, depending on browser: Explorer, Firefox, ...):

  • Undo
Click Undo to undo the last action undone, then the next one etc.
Button only active when another action has been performed.
  • Cut
Select text, right mouse-click, click Cut to remove selected text.
Button only active when text has been selected and cursor is on selection
  • Copy
Select text, right mouse-click, click Copy to copy selected text to clipboard (alternative ctrl+c).
Button only active when text has been selected and cursor is on selection
  • Paste
Position cursor on chosen location, right mouse-click, click Paste to paste text from clipboard (alternative ctrl+v)
  • Select all
Right mouse-click, click Select all to select all text in the editing pane. Also via text processing button
  • Check spelling (only in Firefox)
Position cursor in editing pane or select a text section, right mouse-click, click Check spelling to check the spelling of the text in the editing pane
  • Languages (only in Firefox)
To change the selected language; this is normally not necessary (except when inserting translations)
  • Inspect Element (Q) (only in Firefox)
This option can be ignored

Text processing buttons

Text processing buttons.png

This first set of editing buttons can be used for formatting selected words or text sections. As most are probably quite familiar, they are only briefly explained, in order of appearance.

Select all

Select all.png

Click select all button to select the whole text in the editing pane.

Search and replace

This function does not work in Explorer, only in Firefox!

The search and replace button opens a window to search for and replace text:

  • search
  • select a search term or string and click the 'search and replace' button - the selected text appears in the 'Find' box

OR

  • click the 'search and replace' button without having selected text and enter a search term or string
Search and replace.png
  • click 'find ' to move to the line where it appears
  • by ticking 'match case' the search distinguishes small and large cap, not ticking it results in an indiscriminate search for both
  • replace
  • if you want to replace the text or string in the 'Search for' box with another one, complete the second box 'Replace' and click 'replace' button - the first term encountered is replaced; if you want to replace the term or string everywhere in the text, click 'replace all' - WARNING: be careful, some unexpected replacements in the middle of words might take place!
  • if the 'Replace' box has been left empty and the button 'replace' or 'replace all' is clicked, the term in the 'Find' box is removed the first time it occurs or in the whole text, respectively

Bold

Bold.png

To convert a text selection to bold (by adding '''bold'''):

  • select text section
  • click bold button

Italic

Italic.png

To convert a text selection to italic (by adding ''italic''):

  • select text section
  • click italic button

Superscript

Supersctipt.png

To convert a letter, word or text section to subscript (by adding <sup></sup> after)

  • select letter, word or text section
  • click superscript button

Subscript

To convert a letter, word or text section to subscript (by adding <sup></sup> after)

  • select letter, word or text section
  • click subscript button

Headings

Headings.png

To insert a heading (at level 1, 2, 3, 4 or 5) (by adding
==Level 1==
===Level 2===
====Level 3====
=====Level 4=====
======Level 5======)

  • select the words you would like to use as headings
  • click on the arrow to the right of Headings and select a heading at level 1, 2, 3, 4 or 5

Insert/remove bullets

Bulletpoints.png

To convert a line into (part of) a

  • bulleted list

(by adding * bulleted list - *One, *Two, **Two point one, *Three at the beginning of the line)

  • select a line or position the cursor in it
  • click bullets button

To remove bullets:

  • select the bulleted line or position the cursor in it
  • click bullets button

Insert/remove numbering

Numbering.png

To convert a line into (part of) a

  1. numbered list

(by adding * numbered list - #One, #Two, ##Two point one, #Three)

  • select a line or position the cursor in it
  • click numbering button

To remove numbering:

  • select the numbered line or position the cursor in it
  • click numbering button

Increase indent

Indent.png

To indent a line one position to the right (by adding
no indent (normal)
:first indent
::second indent
:::third indent at the beginning of the line)

  • select the line or position the cursor in it
  • click increase indent button
  • to further increase the indent, click the increase indent button again

To decrease the indent, however, : has to be remowed manually at the beginning of a line.

Insertion buttons

Insertion buttons.png

Insert Internal/SE-link

SE links.png

To create an internal link to another page within Statistics Explained, follow these steps

  • position the cursor where you want to insert the link
  • click the SE-link button on the Editor navigation pane
  • replace '...' with the exact name of the Statistics Explained page you want to link to. For lengthy or complex names, it’s helpful to copy and paste
  • if you wish to display different text than the exact page name, insert it after the page name, separated by a |

Or use this code: [[Glossary:Name of page|]] or within Statistics Explained: [[Glossary:Name of page|Text to display]]

Insert external link

External links.png

To insert a link to a web page outside Statistics Explained, follow these steps

  • position the cursor where you want to insert the external link
  • click the link button on the navigation pane
  • replace http://... with the URL of the web page you want to link to. For long or complex URLs, it’s best to copy and paste
  • insert the name of the target web page, as it appears on that page, after the URL, separated by a space

Or use this code: [http://www.example.org Text to display], [http://www.example.org] or http://www.example.org

Glossary link

Glossary links.png

To insert a link to a glossary page (by inserting [[Glossary:Xxx|Yyy]] where Xxx is glossary item and Yyy text to display in the article, usually but not necessarily identical)

  • select the word or string of words in the article you want to add a glossary link to (or positon the cursor at a location in the article)
  • click the glossary button ([G])
  • in the window which opens:
  • modify language if necessary in the left box (usually not required, default=English)
  • the text selected appears in the two upper right boxes, Text to display: and Glossary: (or is empty if you haven't selected text)
  • the entry in Text to display (article text if selected) can be changed at will; this will be displayed in the article with a link to the glossary item
  • the entry in Glossary: starts an automatic search (not case-sensitive) in the whole glossary of the selected language (default English) for the text entered there
The box Automatic search results (start typing in the above field) shows the first 10 results containing the text in the box 'Glossary:', in alphabetical order and not case-sensitive). There may be many more results not shown and only visible when you refine the search!
  • select the appropriate glossary item in the list - the term selected replaces the entry in the box 'Glossary'
  • click 'Ok' - a glossary link [[Glossary:Selected item|text to display]] visible in the article as text to display is created
Glossary editor.png

Database link

Database links.png

To insert a deep link to a specific dynamic table in the Eurostat online database, use this process

  • position the cursor where you want to insert the data link
  • click the Data button
  • in the window that appears

- Enter a data code in the Data code box (e.g., tec00040) - Fill in the Text to display box with the text you wish to display, ideally the title of the target table. This field can be left blank if no text is needed

  • Click OK, and the template text to display will be inserted, linking to the database.

Publication link

Publication links.png

To insert a link to the product page of a Eurostat publication, follow these steps

  • position the cursor where you want the publication link
  • click the publication button
  • enter the publication code in the Publication code box (e.g., KS-SF-09-008, found on the back cover of publications or in the URL on the Eurostat website)
  • insert the exact title of the publication in the Text to display box, adding the edition or extra details if needed (e.g., '2010 edition' or 'Statistics in focus 10/2010')
  • click OK to insert the template Title of publication at your chosen location

For other publications, use the template Title of the publication. Replace KS-RA-07-002 with the correct publication code, which can be found by searching recent publications on the Eurostat website, and adjust the title with the exact publication name.

EUR-Lex link

Eur lex links.png

To insert a link to the product page of a legal text in EUR-Lex, follow these steps

  • position the cursor where you want to insert the EUR-Lex link
Step 5 - Eurlex.png
  • click the EUR-Lex button
  • enter the year of the legal text in the Year box (e.g., 2010)
  • select 'Regulation,' 'Directive,' 'Decision,' or 'COM final' for the Type box
  • enter the four-digit EUR-Lex code in the Number box, adding leading zeros if needed to make it four digits (e.g., 0029)
  • modify the language in the Language box if needed (default is EN=English)
  • the URL string and the name of the legal document are automatically generated. Adjust the displayed text if necessary
  • click OK to insert the template Regulation 0029/2010 at the chosen location

In this section, you can insert links to regulations, legal texts, Communications from the Commission, administrative notes, policy documents, and more, apart from links to Publications, Main tables, Database, and Dedicated sections.

Picture link

Picture links.png

To insert an image link in a page:

  • position the cursor at the location where you want to insert an image link;
  • click picture button;
  • in the window which opens:
  • insert the name of the uploaded image file in the box Image file name;
An automatic search in the image files (Namespace 'File:') displays the first 10 files containing the string typed in the box below, Automatic search results (start typing in the above field);
  • select the file you want when it appears in the results (e.g. 'Combined_heat_and_power_evaluation,_2010.png' );
A preview of the image is shown in the box on the left.
  • enter in the box Caption the text to appear as a caption below the image - normally this is the exact title of the image file you copy/paste from the box 'image file name', without underscores and preceded by 'Table/Figure/Map x:' ;
All images are default displayed as a thumb' on the right with a size of 350 pixels.
  • click Ok - an internal (Statistics Explained) link [[Image:Combined_heat_and_power_evaluation,_2010.png|Combined heat and power evaluation, 2010|thumb|right|350px]] for linking to the image file is inserted at the chosen location.

Latest article link

Latest article links.png

ADD CONTENT HERE

Insert Excel file link

Excel links.png

To upload and link an Excel file in Statistics Explained, follow these steps

  • log in and navigate to the Main Page. Click on Tools at the top of the screen and select Upload file
  • select your Excel file (xlsx), give it a unique title (e.g., File:Job_vacancy_trends_2014.xlsx), and click Upload file
  • in the corresponding article, go to the 'Source data for tables and graphs' section to place the link. Open editing mode by clicking 'edit' at the bottom of the page

File:Name of Excel file.xls

  • click the Excel icon in the editor navigation bar. A window will appear where you need to enter the exact name of the uploaded file and the title you want to appear
  • click Insert to place the link after the article text, but not among the external links

Footnote/Reference

Reference links.png

To insert or modify a footnote in the text, follow these steps

  • position the cursor where the footnote link should appear
  • click the designated button (e.g., the little book icon next to the Excel tool)
  • in the window that opens, type or paste the footnote text into the first box labeled Reference text (Wikitext). Optionally, add a name for the footnote in the second box labeled Reference name (optional)
  • click OK

You can also use the following codes

  • To create a footnote (reference), use this format:
    • Article text<ref>Text of the footnote (including any links, for instance [http://www.example.org Link text]).</ref>
  • To reuse the same note, reuse the name with a trailing slash:
    • Article text.<ref name="test" />
  • To display notes, add either of these lines to the References section
    • <references/>

Ensure the footnotes display correctly at the bottom of the page by adding a 'Notes' header followed by the tag. This structure ensures the footnotes are organized properly. Keep in mind that the footnote must be added only after the end of the article (below the ).

Nowiki

Nowiki links.png

To insert nowiki begin and end tags in order to display the selected text as written and without the wikitext code in it being operative ( (by adding <nowiki> before and </nowiki> after it)

  • select a text section
  • click the nowiki button

Links in Direct access to - Dedicated section

Dedicated section.png

The dedicated section can be found within the 'Explore further' part of the article.

The following template should be used:

[http://ec.europa.eu/eurostat/ Balance of payments Replace Balance of payments with the appropriate dedicated section. Further information on the exact names of the dedicated sections: Template:Database. Should you need a link to a dedicated section not mentioned in the list, please then just enter url link instead of a template.

These tags are used, for instance, in a tutorial like the present one where tags need be shown without functioning as such.

Links in Direct access to - Main tables

The following template should be used:

  • Title of top Main tables folder], see:
Title(s) of second level folder (if any)
Title(s) of third level folder (if any)

Replace balance_of_payments with the appropriate dedicated section containing relevant main tables. Further information on the exact names of the dedicated sections: Template:Main tables.

Should you need a link to a dedicated section not mentioned in the list, please then just enter url link instead of a template.

Links in Direct access to - Methodology

Methodology.png

The methodology section can be found within the 'Explore further' part of the article.

The following template should be used:

*Crime and criminal justice (ESMS metadata file — crim_esms) Replace crim_esms with the appropriate data code;

Replace Crime and criminal justice with the appropriate metadata file title.

Links in Direct access to - Visualisation

Visualisation.png

The visualisation section can be found within the 'Explore further' part of the article.

If possible a link is to be made to visualisation data using the following link:

[[Regional Statistics Illustrated Regional Statistics Illustrated] [Regional Statistics Illustrated Regional Statistics Illustrated]] - select statistical domain 'xxx' (= Agriculture, Economy, Education, Health, Information society, Labour market, Population, Science and technology, Tourism or Transport) (top right)

Special tags for pdf versions

These tags are used by the Statistics Explained team when creating a PDF for any statistical article. For complete information, see Tutorial creating PDF version

Insert/Edit Formula

Formula.png
  • Click on Insert formula and ><math>Insert non-formatted text here</math> will appear.
  • Enter the formula between the two <math> signs.

Insert/Edit Table

Add table.png

If you want to insert the formatting for a table (without data, content can easily be inserted afterward, directly in the Rich Editor frame), position your cursor on the location you want to insert the table and click Insert table which then opens. Afterwards, specify the table properties:

  • Add header row - displays the columns headers in the table
  • Style with borders - use the borders in the table
  • Make table sortable - add sorting feature
  • Rows - defines the number of rows (3 by default)
  • Columns - defines the number of columns (3 by default)

The result is directly shown es Example in the window.

Paste table

Paste table.png

To paste an Excel table (or part) in Statistics Explained, click Paste Table and in the window which opens:

  • paste the table in the box;
  • if the HTML Result preview is satisfactory, click Insert.

Insert special character

Special characters.png

The special characters button opens a window to select and insert special characters:

  • position cursor on the location where you want to insert a special character;
  • select the character you want to insert
  • the character will automatically appear in the text

Other useful codes

  • redirect to other section with a header within the same page
    [[#Target_header|Target header]]
  • redirect to another page
    #REDIRECT [[Glossary:Target page|]]
  • no table of contents
    __notoc__
  • table of contents at specific location
    __toc__
  • display on next line
    <br style="clear: both" />
  • hyperkinked e-mail address
    [mailto:e-mail address e-mail address]
  • tags for increasing the size of images of articles in PDF format
    <image imgid="Figure1" zoom="100">(before image);</image>(after image)

See also