Jump to content

Quick guide to editing translatewiki.net

From translatewiki.net
Translatewiki.net Editing Cheatsheet
Works on any wiki based on the MediaWiki software and with the Translate extension enabled
Description You type You get
Mark a message as outdated manually. !!FUZZY!!rest of message follows !!FUZZY!!rest of message follows
- on translated pages, fuzzy messages are shown in spans with a light pink background and the page header displays an additional notice.
Outdated translations are marked like this.

rest of message follows

Works on translatewiki.net
Description You type You get
Link to a message in your language preference
- and display message text.
{{msg-fud|Message}} Message ("Message")
Link to a message in your language preference
- and do not display message text.
{{msg-fud|message|notext=1}} Message
Display language names and codes
- language autonym.
- code of interface language.
- name in interface language.

{{#language:de}} (works on all wikis now)
{{USERLANGUAGE}}
{{#languagename:de}} or {{#language:de|{{USERLANGUAGE}}}}

Deutsch
en
German or German

Change to user interface language version of a page
- by adding ?uselang=en to URL in an address bar or link
[http://commons.wikimedia.org/wiki/?uselang={{USERLANGUAGE}} link to user interface version, defaults to English] link to user interface version, defaults to English
Works on any wiki based on the MediaWiki software
Description You type You get
Italic text ''italic'' italic
Bold text '''bold''' bold
Bold and italic text '''''bold & italic''''' bold & italic
Change language version of a page
- by adding ?uselang=xx to URL in an address bar or link
[http://commons.wikimedia.org/wiki/?uselang=de link to German version] link to German version
View interface message keys of a page
- by adding ?uselang=qqx to URL in an address bar or link
[http://commons.wikimedia.org/wiki/Home?uselang=qqx click to view] click to view
Add an image (an alternative text is strongly encouraged).
- as a thumbnail image floating along the right margin, with the thumb option (the descriptive caption is strongly recommended for thumbnails; the default rendered width is 220px but adjustable in user preferences, and can be adjusted according to this user preference with the upright option taking a default value of 0.75, suitable for images with 3x4 size ratio in portrait orientation but also adjustable to other factors).
- otherwise inline (suitable for small images, with an explicit height in pixels for small icons in text).

[[File:Wiki.png|thumb|upright=0.25|alt=Wiki logo|Caption below.]]

This [[File:Blue question mark icon.svg|x13px|alt=(?)<nowiki>|Caption shown when hovering the image.]] is a small inline icon for help.

Wiki logo
Caption below.

This (?) is a small inline icon for help.

Add a page to a category
- categories should be placed at the end of pages.
[[Category:Category name]] The category name will display in a bar at the bottom when the page is previewed or saved.
Works on any wiki based on the MediaWiki software, only at the beginning of lines
Description You type You get
Redirect to another page
- redirects must be placed at the start of the first line.
#REDIRECT [[Target page]] Target page
Redirect to a section of another page
- redirects must be placed at the start of the first line.
#REDIRECT [[Target page#anchorName]] Target page#anchorName
Section headings
- a Table of Contents will automatically be generated when four headings are added to an article.
- do not use =Level 1=; it is reserved for page titles.

== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======

Level 2

Level 3

Level 4

Level 5
Level 6
Bulleted list

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered list

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three
Definition list

; Term One
: Definition 1.
: Definition 2.
; Term Two: Definition 3.

Term One
Definition 1.
Definition 2.
Term Two
Definition 3.


See also

  • For a general guide to editing pages on a wiki based on the MediaWiki software, see mw:Help:Editing pages