(→Files / Images / Media) |
(→Numbered List) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 20: | Line 20: | ||
=== Create a Sub-Category === | === Create a Sub-Category === | ||
+ | Sub-Categories are just categories that are linked to other categories.<br> | ||
+ | |||
Just like in the example above, place the following at the end of the category page: | Just like in the example above, place the following at the end of the category page: | ||
− | <nowiki>[[Category: | + | <nowiki>[[Category:NameOfParentCategory]]</nowiki> |
− | + | where NameOfParentCategory is the name of the Parent Category where you want the Sub-Category to be a member of. | |
− | where | + | |
− | + | ||
− | + | ||
=== Create a hyperlink to a Category === | === Create a hyperlink to a Category === | ||
Line 44: | Line 43: | ||
Confused Yet? :) | 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: | ||
+ | <nowiki>[[NameOfCategoryOrArticle]]</nowiki> | ||
+ | |||
+ | === Link Article Anchor === | ||
+ | Create a link to an Article Anchor (TOC Entry) | ||
+ | <nowiki>[[Ingress Levels#Action Points|Action Points]]</nowiki> | ||
+ | |||
+ | === Hyperlinks (External Links) === | ||
+ | To create a link to an external website just type the URL: | ||
+ | <nowiki>http://wiki.ledhed.net</nowiki> | ||
+ | Looks like: http://wiki.ledhed.net | ||
+ | |||
+ | or mask it with a title | ||
+ | <nowiki>[http://wiki.ledhed.net|LedHed's Wiki]</nowiki> | ||
+ | Looks like: [http://wiki.ledhed.net|LedHed's Wiki] | ||
== Renaming == | == Renaming == | ||
Line 62: | Line 83: | ||
<nowiki>[[File:Wiki.png]]</nowiki> | <nowiki>[[File:Wiki.png]]</nowiki> | ||
or if you want a caption | or if you want a caption | ||
− | <nowiki>[[File:Wiki.png]]</nowiki> | + | <nowiki>[[File:Wiki.png|caption]]</nowiki> |
=== Files / Media === | === Files / Media === | ||
If you want to link to a file (like a PDF or a MPG): | If you want to link to a file (like a PDF or a MPG): | ||
− | <nowiki>[[Media:My-Manifesto.pdf]]</nowiki> | + | <nowiki>[[Media:My-Manifesto.pdf|Manifesto.pdf]]</nowiki> |
+ | NOTE: The caption isn't required but makes the link look better. | ||
== 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 76: | 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 83: | 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 118: | Line 171: | ||
; Item | ; Item | ||
: Subitem | : Subitem | ||
− | |||
− | |||
== Editing Tips == | == Editing Tips == | ||
Line 129: | 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 183: | Line 235: | ||
=== End/Close the Table === | === End/Close the Table === | ||
<nowiki>|}</nowiki> | <nowiki>|}</nowiki> | ||
+ | |||
+ | |||
+ | == Force a Table of Contents (TOC) == | ||
+ | Add this anywhere you want the TOC to be displayed.<br> | ||
+ | <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>