(→Numbered List) |
|||
(49 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | To create a fresh "New" Category type it into the Browser Address bar. | + | == Category Tips == |
− | Example: http://wiki.ledhed.net/index.php/Category:Animals | + | To create a fresh "New" Category type it into the Browser Address bar.<br> |
+ | <nowiki>Example: http://wiki.ledhed.net/index.php/Category:</nowiki>[[Animals]]<br> | ||
+ | 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. | If it is in fact a new category, "Edit" the category and add text and such to it. | ||
Line 9: | Line 11: | ||
− | + | === Categorize an Article === | |
− | + | Place the following at the end of the article: | |
− | [[Category:NameOfCategory]] | + | <nowiki>[[Category:NameOfCategory]]</nowiki> |
where NameOfCategory is the name of the Category you want to associate the artical with. | where NameOfCategory is the name of the Category you want to associate the artical with. | ||
Line 17: | Line 19: | ||
− | + | === 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: | ||
+ | <nowiki>[[Category:NameOfParentCategory]]</nowiki> | ||
+ | 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 === | ||
+ | <nowiki>[[:Category:Foo]]</nowiki><br> | ||
+ | will appear as [[:Category:Foo]] | ||
+ | |||
+ | ''Notice the colon (:) before the word Category!!'' | ||
+ | |||
+ | or<br> | ||
+ | |||
+ | <nowiki>[[:Category:Foo|Foo]]</nowiki> | ||
+ | will appear as [[:Category:Foo|Foo]] | ||
+ | ''Notice the colon (:) before the word Category and the Pipe (|) between the 2 Foo's!!''<br> | ||
+ | ''The Foo after the Pipe is the Title (which can be anything you want not just the Category Title''<br> | ||
+ | ''Example:'' <nowiki>[[:Category:Foo|Anything You Want Here]]</nowiki> ''looks like'' [[:Category:Foo|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: | ||
+ | <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 == | ||
+ | |||
+ | |||
+ | 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: | ||
+ | <nowiki>[[File:Wiki.png]]</nowiki> | ||
+ | or if you want a caption | ||
+ | <nowiki>[[File:Wiki.png|caption]]</nowiki> | ||
+ | |||
+ | |||
+ | === Files / Media === | ||
+ | If you want to link to a file (like a PDF or a MPG): | ||
+ | <nowiki>[[Media:My-Manifesto.pdf|Manifesto.pdf]]</nowiki> | ||
+ | NOTE: The caption isn't required but makes the link look better. | ||
+ | |||
+ | == Lists == | ||
+ | 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 === | ||
+ | <nowiki> | ||
+ | # Item-1 | ||
+ | ## SubItem-1.1 | ||
+ | ##:<pre>some code here</pre> | ||
+ | # Item-2 | ||
+ | ## SubItem-2.1 | ||
+ | ##: Indented Line | ||
+ | ## SubItem-2.2 | ||
+ | </nowiki> | ||
+ | |||
+ | # Item-1 | ||
+ | ## SubItem-1.1 | ||
+ | ##:<pre>some code here</pre> | ||
+ | # Item-2 | ||
+ | ## SubItem-2.1 | ||
+ | ##: Indented Line | ||
+ | ## SubItem-2.2 | ||
+ | |||
+ | === Bullet List === | ||
+ | <nowiki> | ||
+ | * Item1 | ||
+ | ** SubItem1 | ||
+ | * Item2 | ||
+ | ** SubItem2 | ||
+ | *** Sub-SubItem2 | ||
+ | </nowiki> | ||
+ | |||
+ | * Item1 | ||
+ | ** SubItem1 | ||
+ | * Item2 | ||
+ | ** SubItem2 | ||
+ | *** Sub-SubItem2 | ||
+ | |||
+ | |||
+ | === Indented List === | ||
+ | <nowiki> | ||
+ | ; Item | ||
+ | : SubItem | ||
+ | : SubItem | ||
+ | ; Item | ||
+ | : Subitem | ||
+ | </nowiki> | ||
+ | |||
+ | ; Item | ||
+ | : SubItem | ||
+ | : SubItem | ||
+ | ; Item | ||
+ | : Subitem | ||
+ | |||
+ | == Editing Tips == | ||
+ | *<nowiki> | ||
+ | <br> = Break or New Line | ||
+ | </nowiki> | ||
+ | *<nowiki> | ||
+ | Use <nowiki></nowiki></nowiki> tags to ignore wiki formatting <br> | ||
+ | ''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 | ||
+ | * Force an indent with : | ||
+ | * Double indent with :: and so on. | ||
+ | |||
+ | == Creating Tables == | ||
+ | http://www.mediawiki.org/wiki/Help:Tables | ||
+ | |||
+ | <nowiki>{| class="wikitable"</nowiki> | ||
+ | <nowiki>|-</nowiki> | ||
+ | <nowiki>!Header 1 !!Header 2 !!Header 3</nowiki> | ||
+ | <nowiki>|-</nowiki> | ||
+ | <nowiki>| something || something else || something else else</nowiki> | ||
+ | <nowiki>|-</nowiki> | ||
+ | <nowiki>|}</nowiki> | ||
+ | |||
+ | '''Looks like this:''' | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | !Header_1 !!Header_2 !!Header_3 | ||
+ | |- | ||
+ | | something || something else || something else else | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | |||
+ | === Start/Open the Table === | ||
+ | <nowiki>{| class="wikitable"</nowiki> | ||
+ | |||
+ | === Create Headers === | ||
+ | '''First Header:<br>''' | ||
+ | !Header_1 | ||
+ | ''NOTE: The single bang (!)'' | ||
+ | |||
+ | |||
+ | '''Subsequent Headers:<br>''' | ||
+ | !!Header_2 | ||
+ | ''NOTE: The double bang (!!)'' | ||
+ | |||
+ | === Column Dividers === | ||
+ | First Column Divider:<br> | ||
+ | | | ||
+ | ''NOTE: The single pipe (|)'' | ||
+ | |||
+ | |||
+ | Subsequent Column Dividers:<br> | ||
+ | || | ||
+ | ''NOTE: The double pipe (||)'' | ||
+ | |||
+ | |||
+ | === Row Dividers === | ||
+ | This will create a new Row divider (Top or Bottom):<br> | ||
+ | |- | ||
+ | |||
+ | |||
+ | === End/Close the Table === | ||
+ | <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 == | |
+ | 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>