Help:More
From TEFLChina
This page is too long. Roger will divide it into separate pages linked to Help:Cheatsheet.
Contents |
Image
- Upload the image to the wiki first--click Upload file in toolbox in left sidebar--unless the image is already on the wiki.
- Then display it on a wiki page using this wiki markup syntax with or without options:
[[File:Example.xxx | option | option ]]
zero or more of the following options may be declared in any order: frame | left | center | right | <width>px | thumb | border | some caption *anything not matching an option is used as hover text or, with frame or thumb, a caption.
- width is a number + px, example: 200px. Width does not work with frame, and with thumb only works to scale smaller than full size of image.
- frame presents image at actual size.
- thumb presents image at a default thumbnail size.
- caption text only works with thumb or frame, otherwise it is hover text.
Example:
[[File:Apple.gif|frame|left|Yum yum]]
Renders:
See more about Images
Video
|
Video or sound: Email Roger if you want to upload video or sound files. He must enable it first. Use media: links to link directly to sounds or videos: A sound file | Use '''media:''' links to link directly to sounds or videos: [[media:Sg_mrob.ogg|A sound file]] |
Sound
|
Video or sound: Email Roger if you want to upload video or sound files. He must enable it first. Use media: links to link directly to sounds or videos: A sound file | Use '''media:''' links to link directly to sounds or videos: [[media:Sg_mrob.ogg|A sound file]] |
Table
Don't use a table unless you need to; tables make editing harder.
- See also MediaWiki's Table Help page
Table With 3 Rows and 2 Collumns
| What it looks like | What you type | ||||||
|---|---|---|---|---|---|---|---|
|
{| width="70%" border="1" cellpadding="10px" cellspacing="0"
| A
| Table
|-
| with 2 rows
| and 2 collumns
|-
| like
| this
|}
|
Table With 3 Rows, 2 Collumns and Collumn Titles
| What it looks like | What you type | ||||||||
|---|---|---|---|---|---|---|---|---|---|
|
{| width="70%" border="1" cellpadding="10px" cellspacing="0"
!Collumn 1 title here
!Collumn 2 title here
|-
| A
| Table
|-
| with 2 rows
| and 2 collumns
|-
| like
| this
|}
|
Var
- {{PAGENAME}}--gives you the page name.
- {{NAMESPACE}}--gives you the page's namespace.
Toggle
- __NOTOC__ turns off the page's table of contents
- __NOEDITSECTION__ removes a page's section header Edit links
- __NEWSECTIONLINK__ gives an "Add topic" tab next to the "Edit" tab, such as is default on Talk Pages
Template
Special:AllPages (with Template namespace selected) lists all our Templates.
- See more about templates at http://www.mediawiki.org/wiki/Help:Templates
CSS
Cascading style sheet declarations can be added to the MediaWiki:Common.css page if needed. Explain your need on its talk page. Generally it is best to use the default style of the site.
See Talk:Form/Card medium#css for some style classes available for displaying and printing similar cards. If you use those say so there
See Also
- MediaWiki Help http://mediawiki.org/wiki/Help:Contents
