(→Numbered List) |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 93: | Line 93: | ||
== Lists == | == Lists == | ||
http://meta.wikimedia.org/wiki/Help:List | http://meta.wikimedia.org/wiki/Help:List | ||
+ | |||
+ | === Ordered List === | ||
+ | <nowiki> | ||
+ | <ol> | ||
+ | <li>Item-1</li> | ||
+ | <li>Item-2</li> | ||
+ | <li>Item-3</li> | ||
+ | <pre> | ||
+ | some code here | ||
+ | more code | ||
+ | </pre> | ||
+ | <li>Item-4</li> | ||
+ | <li>Item-5</li> | ||
+ | </ol> | ||
+ | </nowiki> | ||
+ | |||
+ | <ol> | ||
+ | <li>Item-1</li> | ||
+ | <li>Item-2</li> | ||
+ | <li>Item-3</li> | ||
+ | <pre> | ||
+ | some code here | ||
+ | more code | ||
+ | </pre> | ||
+ | <li>Item-4</li> | ||
+ | <li>Item-5</li> | ||
+ | </ol> | ||
+ | |||
=== Numbered List === | === Numbered List === | ||
Line 98: | Line 126: | ||
# Item-1 | # Item-1 | ||
## SubItem-1.1 | ## SubItem-1.1 | ||
+ | ##:<pre>some code here</pre> | ||
# Item-2 | # Item-2 | ||
## SubItem-2.1 | ## SubItem-2.1 | ||
+ | ##: Indented Line | ||
## SubItem-2.2 | ## SubItem-2.2 | ||
</nowiki> | </nowiki> | ||
Line 105: | Line 135: | ||
# Item-1 | # Item-1 | ||
## SubItem-1.1 | ## SubItem-1.1 | ||
+ | ##:<pre>some code here</pre> | ||
# Item-2 | # Item-2 | ||
## SubItem-2.1 | ## SubItem-2.1 | ||
+ | ##: Indented Line | ||
## SubItem-2.2 | ## SubItem-2.2 | ||
− | |||
=== Bullet List === | === Bullet List === | ||
Line 140: | Line 171: | ||
; Item | ; Item | ||
: Subitem | : Subitem | ||
− | |||
− | |||
== Editing Tips == | == Editing Tips == | ||
Line 151: | Line 180: | ||
''There is also an Icon for this at the top of the editor.'' | ''There is also an Icon for this at the top of the editor.'' | ||
*Use a <nowiki>*</nowiki> (Asterisk) at the beginning of a line to create a bullet | *Use a <nowiki>*</nowiki> (Asterisk) at the beginning of a line to create a bullet | ||
− | + | * Force an indent with : | |
+ | * Double indent with :: and so on. | ||
== Creating Tables == | == Creating Tables == | ||
Line 210: | Line 240: | ||
Add this anywhere you want the TOC to be displayed.<br> | Add this anywhere you want the TOC to be displayed.<br> | ||
<nowiki>__TOC__</nowiki> | <nowiki>__TOC__</nowiki> | ||
+ | |||
+ | |||
+ | == Adding Color == | ||
+ | You can set text color by using: | ||
+ | <pre> | ||
+ | <span style="color:#009000"> TEXT </span> | ||
+ | </pre><br> | ||
+ | You can set ''style="background:#000000"'' color or both ''style="color:#009000;background:#000000"'' | ||
+ | Your text will look something like this:<br> | ||
+ | <span style="color:#009000"> TEXT </span> | ||
+ | or | ||
+ | <span style="color:#009000;background:#000000"> TEXT </span> | ||
+ | |||
+ | |||
+ | |||
+ | == Pre-Formatted Text == | ||
+ | You can force pre-formatted text with the PRE tags. | ||
+ | <pre> | ||
+ | <pre> | ||
+ | </pre> | ||
+ | |||
== Reference == | == Reference == | ||
http://www.mediawiki.org/wiki/Help:Formatting | http://www.mediawiki.org/wiki/Help:Formatting |
Latest revision as of 07:23, 20 August 2020
Contents
Category Tips
To create a fresh "New" Category type it into the Browser Address bar.
Example: http://wiki.ledhed.net/index.php/Category:Animals
Where "Animals" is the name of the new Category.
If it is in fact a new category, "Edit" the category and add text and such to it.
- Categories are not a Tree Hierarchy!
- Only Categories can be Sub-Categories.
Categorize an Article
Place the following at the end of the article:
[[Category:NameOfCategory]]
where NameOfCategory is the name of the Category you want to associate the artical with.
Create a Sub-Category
Sub-Categories are just categories that are linked to other categories.
Just like in the example above, place the following at the end of the category page:
[[Category:NameOfParentCategory]]
where NameOfParentCategory is the name of the Parent Category where you want the Sub-Category to be a member of.
Create a hyperlink to a Category
[[:Category:Foo]]
will appear as Category:Foo
Notice the colon (:) before the word Category!!
or
[[:Category:Foo|Foo]]
will appear as Foo
Notice the colon (:) before the word Category and the Pipe (|) between the 2 Foo's!!
The Foo after the Pipe is the Title (which can be anything you want not just the Category Title
Example: [[:Category:Foo|Anything You Want Here]] looks like Anything You Want Here but still links to the 'Foo' Category
Confused Yet? :)
Links
Links are the power behind MediaWiki. They let you add links within articles that make cross referencing data much easier.
Link Article or Category
Create a link to a Category or Article:
[[NameOfCategoryOrArticle]]
Link Article Anchor
Create a link to an Article Anchor (TOC Entry)
[[Ingress Levels#Action Points|Action Points]]
Hyperlinks (External Links)
To create a link to an external website just type the URL:
http://wiki.ledhed.net
Looks like: http://wiki.ledhed.net
or mask it with a title
[http://wiki.ledhed.net|LedHed's Wiki]
Looks like: Wiki
Renaming
Use the Move tab to rename a Page or Category. Moving a page/category will cause the original to be redirected.
You may need to delete the original if the redirect is no longer needed.
Files / Media / Images
http://www.mediawiki.org/wiki/Help:Images
Images
To link to a previously uploaded image:
[[File:Wiki.png]]
or if you want a caption
[[File:Wiki.png|caption]]
Files / Media
If you want to link to a file (like a PDF or a MPG):
[[Media:My-Manifesto.pdf|Manifesto.pdf]]
NOTE: The caption isn't required but makes the link look better.
Lists
http://meta.wikimedia.org/wiki/Help:List
Ordered List
<ol> <li>Item-1</li> <li>Item-2</li> <li>Item-3</li> <pre> some code here more code </pre> <li>Item-4</li> <li>Item-5</li> </ol>
- Item-1
- Item-2
- Item-3
- Item-4
- Item-5
some code here more code
Numbered List
# Item-1 ## SubItem-1.1 ##:<pre>some code here</pre> # Item-2 ## SubItem-2.1 ##: Indented Line ## SubItem-2.2
- Item-1
- SubItem-1.1
some code here
- SubItem-1.1
- Item-2
- SubItem-2.1
- Indented Line
- SubItem-2.2
- SubItem-2.1
Bullet List
* Item1 ** SubItem1 * Item2 ** SubItem2 *** Sub-SubItem2
- Item1
- SubItem1
- Item2
- SubItem2
- Sub-SubItem2
- SubItem2
Indented List
; Item : SubItem : SubItem ; Item : Subitem
- Item
- SubItem
- SubItem
- Item
- Subitem
Editing Tips
- <br> = Break or New Line
-
Use <nowiki></nowiki> tags to ignore wiki formatting
There is also an Icon for this at the top of the editor.
- Use a * (Asterisk) at the beginning of a line to create a bullet
- Force an indent with :
- Double indent with :: and so on.
Creating Tables
http://www.mediawiki.org/wiki/Help:Tables
{| class="wikitable" |- !Header 1 !!Header 2 !!Header 3 |- | something || something else || something else else |- |}
Looks like this:
Header_1 | Header_2 | Header_3 |
---|---|---|
something | something else | something else else |
Start/Open the Table
{| class="wikitable"
Create Headers
First Header:
!Header_1
NOTE: The single bang (!)
Subsequent Headers:
!!Header_2
NOTE: The double bang (!!)
Column Dividers
First Column Divider:
|
NOTE: The single pipe (|)
Subsequent Column Dividers:
||
NOTE: The double pipe (||)
Row Dividers
This will create a new Row divider (Top or Bottom):
|-
End/Close the Table
|}
Force a Table of Contents (TOC)
Add this anywhere you want the TOC to be displayed.
__TOC__
Adding Color
You can set text color by using:
<span style="color:#009000"> TEXT </span>
You can set style="background:#000000" color or both style="color:#009000;background:#000000"
Your text will look something like this:
TEXT
or
TEXT
Pre-Formatted Text
You can force pre-formatted text with the PRE tags.
<pre>