Project:Wiki Markup Code: Difference between revisions
Appearance
| Line 50: | Line 50: | ||
!align=left|Formatting!!align=left|Input!!align=left|Output | !align=left|Formatting!!align=left|Input!!align=left|Output | ||
|- | |- | ||
|valign=top| | |valign=top|Unordered list||<nowiki>* List item</nowiki><br /><nowiki>** List item</nowiki><br /><nowiki>*** List item</nowiki>||<ul style="margin:0 5px 0;padding:0;"><li>List item</li><ul style="margin:0 20px 0;padding:0;"><li>List item</li><ul style="margin:0 20px 0;padding:0;"><li>List item</li></ul></ul></ul> | ||
|- | |- | ||
|valign=top| | |valign=top|Ordered list||<nowiki># List item</nowiki><br /><nowiki>## List item</nowiki><br /><nowiki>### List item</nowiki>||<ol style="margin:0 12px 0;padding:0;"><li>List item</li><ol style="margin:0 20px 0;padding:0;"><li>List item</li><ol style="margin:0 20px 0;padding:0;"><li>List item</li></ol></ol></ol> | ||
|- | |- | ||
|valign=top|Indent||Normal text<br /><nowiki>: Indented text</nowiki><br /><nowiki>:: Indented text</nowiki>||Normal text<dl style="padding:0;margin:0;"><dd>Indented text<dl><dd>Indented text</dl></dl> | |valign=top|Definition list||<nowiki>; Term</nowiki><br /><nowiki>: Definition1</nowiki><br /><nowiki>: Definition2</nowiki>||<dl style="padding:0;margin:0;"><dt>Term<dd>Definition1<dd>Definition2</dl> | ||
|- | |||
|valign=top|Indent text||Normal text<br /><nowiki>: Indented text</nowiki><br /><nowiki>:: Indented text</nowiki>||Normal text<dl style="padding:0;margin:0;"><dd>Indented text<dl><dd>Indented text</dl></dl> | |||
|} | |} | ||
{{Kanzenshuu guidelines}} | {{Kanzenshuu guidelines}} | ||
Revision as of 13:11, 16 December 2013
Formatting
There is a range of text formatting options available in wikicode. Some of these are based on HTML code. Some types of HTML code can be used, but wikicode is preferred.
| Formatting | Input | Output |
|---|---|---|
| Italic | ''Italic text'' | Italic text |
| Bold | '''Bold text''' | Bold text |
| Bold & italic | '''''Bold & italic text''''' | Bold & italic text |
| Color | <span style="color:#CC0000">Red text</span> | Red text |
Links
Linking helps connect various pages on the wiki together. Users can also link to websites outside of Kanzenshuu.
| Formatting | Input | Output |
|---|---|---|
| Internal link | [[Page title|Link label]] [[Page title]] |
Link label Page title |
| External link | [http://www.example.org Link label] [http://www.example.org] http://www.example.org |
Link label [1] http://www.example.org |
Section Headings
The = through ====== markup are headings for the sections with which they are associated.
- A single = is styled as the page title and should not be used within a page or article.
- Headings are styled through CSS and add an [edit] link.
| Formatting | Input | Output |
|---|---|---|
| 2nd level heading | ==Heading text== | Heading text |
| 3rd level heading | ===Heading text=== | Heading text |
| 4th level heading | ====Heading text==== | Heading text |
| 5th level heading | =====Heading text===== | Heading text |
| 6th level heading | ======Heading text====== | Heading text |
Lists
Do not leave blank lines between items in a list unless there is a reason to do so, since this causes the MediaWiki software to interpret each item as beginning a new list.
| Formatting | Input | Output |
|---|---|---|
| Unordered list | * List item ** List item *** List item |
|
| Ordered list | # List item ## List item ### List item |
|
| Definition list | ; Term : Definition1 : Definition2 |
|
| Indent text | Normal text : Indented text :: Indented text |
Normal text
|
| |||||||||||