Wikicode: Difference between revisions

Jump to navigation Jump to search
1,118 bytes added ,  02:04, 9 October 2013
Added some info, sortable wikitables
imported>Kingofkosmos
No edit summary
imported>Spike68
(Added some info, sortable wikitables)
Line 1: Line 1:
==Wikicode==
==Wikicode==
Wikicode is the strange syntax used by all wikipedias including this one. If you don't know it and are prepared to learn, continue reading. Otherwise, you can read the Wikipedia help page [http://en.wikipedia.org/wiki/Help:Wiki_markup Here]. <br>
Wikicode is the strange syntax used by all wikipedias including this one. If you don't know it and are prepared to learn, continue reading. Otherwise, you can read the Wikipedia help page [http://en.wikipedia.org/wiki/Help:Wiki_markup Here], or read the MediaWiki help page [http://www.mediawiki.org/wiki/Help:Formatting here]. <br>


This page is meant to be a much shorter list than one you would find on wikipedia, and also meant for some of our own internal templates or similar tools. Really, this will be some kind of list of some basic/advanced formatting techniques and how to use them.
This page is meant to be a much shorter list than one you would find on wikipedia, and also meant for some of our own internal templates or similar tools. Really, this will be some kind of list of some basic/advanced formatting techniques and how to use them.
Line 42: Line 42:
Doing your [[Engineer#Doing_your_duty|doody]]
Doing your [[Engineer#Doing_your_duty|doody]]
|} <br>
|} <br>
==Redirecting pages==
In some cases, creating a blank page to redirect to a similar named page or object is helpful. This especially helps when using the search function on the wiki. To make a redirect, create a new page of the word you need redirected, and only enter '''<nowiki>#REDIRECT [[page_to_redirect_to]]</nowiki>'''. This makes it so whenever someone loads the page, they will be automatically redirected to the indicated page.


==Headers==
==Headers==
Line 211: Line 215:
|-
|-
|style="background: blue; color: white" | Three || 3 || 6 || 9
|style="background: blue; color: white" | Three || 3 || 6 || 9
|}
And a sortable table:
<pre>
{| class="wikitable sortable" border="1"
|-
! scope="col" | *
! scope="col" | A
! scope="col" | B
! scope="col" class="unsortable" | C
! scope="col" class="unsortable" | D
|-
!E
| 1 || 4 || 2 || 6
|-
!F
| 2 || 8 || 4 || 1
|-
!G
| 0 || 4 || 1 || 2
|-
!H
| 3 || 6 || 9 || 1
|-
|}</pre>
{| class="wikitable sortable" border="1"
|-
! scope="col" | *
! scope="col" | A
! scope="col" | B
! scope="col" class="unsortable" | C
! scope="col" class="unsortable" | D
|-
!E
| 1 || 4 || 2 || 6
|-
!F
| 2 || 8 || 4 || 1
|-
!G
| 0 || 4 || 1 || 2
|-
!H
| 3 || 6 || 9 || 1
|-
|}
|}


Anonymous user

Navigation menu