From LedHed's Wiki
Jump to: navigation, search
(Category Tips)
(Numbered List)
 
(20 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:NameOfCategory]]</nowiki>
+
  <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 NameOfCategory is the name of the Category you want to become a Sub-Category of.
+
 
+
 
+
  
 
=== Create a hyperlink to a Category ===
 
=== Create a hyperlink to a Category ===
Line 37: Line 36:
 
  <nowiki>[[:Category:Foo|Foo]]</nowiki>
 
  <nowiki>[[:Category:Foo|Foo]]</nowiki>
 
will appear as [[:Category:Foo|Foo]]
 
will appear as [[:Category:Foo|Foo]]
 
 
''Notice the colon (:) before the word Category and the Pipe (|) between the 2 Foo's!!''<br>
 
''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>
 
''The Foo after the Pipe is the Title (which can be anything you want not just the Category Title''<br>
Line 45: 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 56: Line 76:
  
  
 +
== 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 ==
 
== Editing Tips ==
Line 65: 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 ==
 +
http://www.mediawiki.org/wiki/Help:Tables
 +
 
  <nowiki>{| class="wikitable"</nowiki>
 
  <nowiki>{| class="wikitable"</nowiki>
 
  <nowiki>|-</nowiki>
 
  <nowiki>|-</nowiki>
Line 117: 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 ==
 +
http://www.mediawiki.org/wiki/Help:Formatting

Latest revision as of 07:23, 20 August 2020

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>

  1. Item-1
  2. Item-2
  3. Item-3
  4.     some code here
        more code
       
  5. Item-4
  6. Item-5


Numbered List

# Item-1
## SubItem-1.1
##:<pre>some code here</pre>
# Item-2
## SubItem-2.1
##: Indented Line
## SubItem-2.2

  1. Item-1
    1. SubItem-1.1
      some code here
  2. Item-2
    1. SubItem-2.1
      Indented Line
    2. SubItem-2.2

Bullet List

* Item1
** SubItem1
* Item2
** SubItem2
*** Sub-SubItem2

  • Item1
    • SubItem1
  • Item2
    • SubItem2
      • Sub-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>


Reference

http://www.mediawiki.org/wiki/Help:Formatting