m (→Wikipedia's Howtos: clean up, typos fixed: recomended → recommended) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
==Linking== |
==Linking== |
||
*'''Internal Linking''' |
*'''Internal Linking''' |
||
− | **Simple |
+ | **Simple |
**:Code: <nowiki>[[Main Page]]</nowiki> |
**:Code: <nowiki>[[Main Page]]</nowiki> |
||
**:Result: [[Main Page]] |
**:Result: [[Main Page]] |
||
− | **Link to ''Main Page'' but display ''Home'': |
+ | **Link to ''Main Page'' but display ''Home'': |
**:Code: <nowiki>[[Main Page|Home]]</nowiki> |
**:Code: <nowiki>[[Main Page|Home]]</nowiki> |
||
**:Result: [[Main Page|Home]] |
**:Result: [[Main Page|Home]] |
||
− | **Linking to a wikipedia page: |
+ | **Linking to a wikipedia page: |
**:Code: <nowiki>[[Wikipedia:Dog]]</nowiki> |
**:Code: <nowiki>[[Wikipedia:Dog]]</nowiki> |
||
**:Result: [[Wikipedia:Dog]] |
**:Result: [[Wikipedia:Dog]] |
||
− | **Linking to a wikipedia page without wikipedia displayed: |
+ | **Linking to a wikipedia page without wikipedia displayed: |
**:Code: <nowiki>[[Wikipedia:Dog|]]</nowiki> ''or'' <nowiki>[[Wikipedia:Dog|Dog]]</nowiki> |
**:Code: <nowiki>[[Wikipedia:Dog|]]</nowiki> ''or'' <nowiki>[[Wikipedia:Dog|Dog]]</nowiki> |
||
**:Result: [[Wikipedia:Dog|Dog]] |
**:Result: [[Wikipedia:Dog|Dog]] |
||
*External Linking |
*External Linking |
||
− | ** Simple requires nothing extra: |
+ | ** Simple requires nothing extra: |
**:Code: <nowiki>http://www.gnu.org/gnu</nowiki> |
**:Code: <nowiki>http://www.gnu.org/gnu</nowiki> |
||
**:Result: http://www.gnu.org/gnu |
**:Result: http://www.gnu.org/gnu |
||
− | ** Linking to the site but displaying alternate text: |
+ | ** Linking to the site but displaying alternate text: |
**:Code: <nowiki>[http://www.gnu.org/gnu GNU]</nowiki> |
**:Code: <nowiki>[http://www.gnu.org/gnu GNU]</nowiki> |
||
**:Result: [http://www.gnu.org/gnu GNU] |
**:Result: [http://www.gnu.org/gnu GNU] |
||
Line 33: | Line 33: | ||
*:Code: <nowiki>'''Bold Text'''</nowiki> |
*:Code: <nowiki>'''Bold Text'''</nowiki> |
||
*:Result: '''Bold Text''' |
*:Result: '''Bold Text''' |
||
− | *'''Italic''' |
+ | *'''Italic''' |
− | |||
− | * |
||
*:Code: <nowiki>''Italic Text''</nowiki> |
*:Code: <nowiki>''Italic Text''</nowiki> |
||
*:Result: ''Italic Text'' |
*:Result: ''Italic Text'' |
||
− | |||
− | * This Dof |
||
==Page Formating== |
==Page Formating== |
||
Line 46: | Line 42: | ||
*:Result: ''(the line below)'' |
*:Result: ''(the line below)'' |
||
---- |
---- |
||
+ | ''(the line above)'' |
||
− | <p style="text-align:center">Helo</p> |
||
+ | |||
==HTML-Wikitext== |
==HTML-Wikitext== |
||
Line 65: | Line 62: | ||
==Wikipedia's Howtos== |
==Wikipedia's Howtos== |
||
− | '''[[wikipedia]]''' has 92 howtos on wikitext. |
+ | '''[[wikipedia]]''' has 92 howtos on wikitext. Its recommended you visit [[wikipedia:Category:Wikipedia how-to]]. |
Latest revision as of 21:23, 16 December 2013
Wikitext or Wikitext Markup Language is the code that simplifies creating pages on wiki sites.
Quick guide
Some of the most common syntaxes in wikitext are:
Linking
- Internal Linking
- Simple
- Code: [[Main Page]]
- Result: Main Page
- Link to Main Page but display Home:
- Code: [[Main Page|Home]]
- Result: Home
- Linking to a wikipedia page:
- Code: [[Wikipedia:Dog]]
- Result: Wikipedia:Dog
- Linking to a wikipedia page without wikipedia displayed:
- Code: [[Wikipedia:Dog|]] or [[Wikipedia:Dog|Dog]]
- Result: Dog
- Simple
- External Linking
- Simple requires nothing extra:
- Code: http://www.gnu.org/gnu
- Result: http://www.gnu.org/gnu
- Linking to the site but displaying alternate text:
- Code: [http://www.gnu.org/gnu GNU]
- Result: GNU
- Simple requires nothing extra:
Text Formating
- Bold
- Code: '''Bold Text'''
- Result: Bold Text
- Italic
- Code: ''Italic Text''
- Result: Italic Text
Page Formating
- line
- Code: ----
- Result: (the line below)
(the line above)
HTML-Wikitext
The following HTML tags also work as wikitext tags <center>center</center>, <s>strike-through</s>, newline <br \>, <pre></pre>, <div></div>, <!-- hidden comments -->
Other
- Remove wikitext formating
- Code: <nowiki></nowiki>
- Remove Table of contents
- Code: __NOTOC__
- Add Comment
- Code: <!-- comment -->
Wikipedia's Howtos
wikipedia has 92 howtos on wikitext. Its recommended you visit wikipedia:Category:Wikipedia how-to.