Media Wiki Editing: Difference between revisions
(→Tables) |
No edit summary |
||
Line 149: | Line 149: | ||
More about tables: https://meta.wikimedia.org/wiki/Help:Table | More about tables: https://meta.wikimedia.org/wiki/Help:Table | ||
=Border for References= | |||
<nowiki> | |||
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;"> | |||
:[[Linux 7 Configuring a USB Network Adapter]] | |||
</blockquote> | |||
</nowiki> |
Revision as of 06:44, 5 January 2016
External
- WikiMedia Editing Reference Card: https://meta.wikimedia.org/wiki/Help:Reference_card
- WikiMedia Help: https://www.mediawiki.org/wiki/Help:Contents
- User's Guide https://meta.wikimedia.org/wiki/Help:Contents
Internal
Overview
Links
Internal Links
[[ThisIsALink]]
Internal links that get a label:
[[ThisIsTheLink|This is the label that shows up in text]]
External Links
External links that are rendered verbatim
http://cnn.com
External links that get a label
[http://something.com/something/else Local Label]
Note that "http:" can be omitted:
[//something.com/something/else Local Label]
Lists
* List item
Italics
''italics''
Bold
'''bold'''
Code and Fixed Typed Fonts
Code Section in a Box
<pre>...</pre>
or simply start the line with a space.
In-line no-formatting
<nowiki>...</nowiki>
Fixed Type Fonts
<tt> ... </tt>
Paragraph Indentation
:One indent ::Two indents :::Three indents :::::: Multiple indent
Anchors and Linking to Anchors
An anchor is a in-page link target - it allows incoming links to target locations on the page other than section headings.
The anchors are automatically generated in case of the section headings. For example, a section named "Section One" generates a Section_One anchor, and the heading can be linked to by prepending "#Section_One" to the usual wiki #Links. In case of multiple sections with identical headings, the anchor names have a "_2", "_3", etc appended starting from the second occurrence.
Manual anchors can be also inserted and used in links:
<span id="anchor_name"/>
Anchor Names
Heading Name | Anchor |
Test | #Test |
Section One | #Section_One |
Capitalization does Matter | Capitalization_does_Matter |
Special Anchors
#toc links to the table of contents.
More Details on Anchors
https://meta.wikimedia.org/wiki/Help:Link#Anchors
Tables
{| | topleft || topmiddle || topright |- | middleleft || middlemiddle || middleright |- | bottomleft || bottommiddle || bottomright |}
More about tables: https://meta.wikimedia.org/wiki/Help:Table
Border for References
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;"> :[[Linux 7 Configuring a USB Network Adapter]] </blockquote>