How to Wiki

From EUSwiki
Revision as of 21:52, 8 October 2016 by Malcolmmcc (talk | contribs)
Jump to: navigation, search

Welcome to EUSWiki, a MediaWiki hosted wikipedia page. All and any help you may need can be found here, but I will try and provide the mere basics here for text editing, understanding the layout, and more.

Known Bugs

  • Sometimes line breaks are not consistent. Insert <br> to remedy this

Users

Right now only users registered by Wiki Curator can create and edit pages. This is in an effort to moderate the articles created and streamline information. If you would like an account, or know someone who would, email wiki.meta@mcgilleus.ca

Text Editing

For those of you who may know HTML5, woo-hoo! This is similar to that, but not quite. There's a whole host of different syntax, but the same logic applies.

You can format your text by using wiki markup. This consists of normal characters like asterisks, apostrophes or equal signs which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two pairs of apostrophes like ''this''.


Description Youtype You get
Character (inline) formatting – applies anywhere
Italic text ''italic''

italic

Bold Text '''Bold'''

bold

Bold and italic

''' ''bold & italic'' '''

bold & italic

Strike text

<strike>strike text</strike>

strike text
Escape wiki markup <nowiki>no markup</nowiki>

no ''markup''

Section Formatting

Headings of different levels == Test 2 ==
=== Test 3 ===


Note: Any article with 4 or more headings will automatically create a Table of Contents

Test 2

Test 3

Horizontal Line Text before ---- Text after

Text before


Text after

Bullet list

* Start each line
* with an asterisk (*).
** More asterisks give deeper
*** and deeper levels.
* Line breaks <br/>don't break levels.
*** But jumping levels creates empty space.
Any other start ends the list.

  • Start each line
  • with an asterisk (*).
    • More asterisks give deeper
      • and deeper levels.
  • Line breaks
    don't break levels.
      • But jumping levels creates empty space.

Any other start ends the list.

Numbered list # Start each line
# with a Numbersign/Hashtag (#).
## More number signs give deeper
### and deeper
### levels.
# Line breaks <br />don't break levels.
### But jumping levels creates empty space.
# Blank lines

# end the list and start another.
Any other start also
ends the list.
  1. Start each line
  2. with a number sign (#).
    1. More number signs give deeper
      1. and deeper
      2. levels.
  3. Line breaks
    don't break levels.
      1. But jumping levels creates empty space.
  4. Blank lines
  1. end the list and start another.

Any other start also ends the list. </translate>

Indent text

:Single indent
:: Double indent
::::: Multiple indent

 :Single indent
Double indent
Multiple indent

Templates

Because a lot of wikipedia formatting becomes redundant, templates are heavily

Categories

To add a category, you can insert the following tag at the very end of the article:

           [[category:**********]]
                         Where ****** is your desired category.

In order to make nested categories, you simply need to replicate the tag. Say I want to categorize Countries with a subcategory England with a subcategory London:

[[category:Countries]] [[category:England]] [[category:London]]

Infoboxes

Infoboxes are the iconic boxes that can be seen on the top right of nearly every wikipedia page. To learn more about infoboxes, please go here.

Tabs

Tabs is an extension that provides a handy way to create multiple tabs and tables. This is very useful for containing nested information, and can be manipulated depending on your understanding of the mechanism. To learn more about Tabs, click here.

What you enter
<tabs>
<tab name="Tab 1">This is a test</tab>
<tab name="Tab 2", index="2">This is also a test</tab>
</tabs>
What you Get
This is a test
This is also a test

Nested Tabs

Nested Tabs are useful for having large amounts of information without overburdening the layout or flow of your article.
The syntax is essentially the same as above <tab name="Open me!"> Contents </tob>

Attributes

Inside of the <tab> argument, you can include what is known as attributes.
Notice the previous Tab was collapsed when the page loaded: that was accomplished with the collapsed tab. Click below to learn more.

Attribute Description
title Determines the tooltip shown (Hover over this text for an example) when hovering over the box.
style Use this attribute to define any styles for the box. This can also affect the box's label.
class Adds classes to the box. Different classes are seperated by spaces. Classes are generally used for altering the appearance of the box via CSS.
id Adds an id to the box. This id must be unique on the page, as per HTML specifications. Ids are generally used for linking scripts to via JavaScript, or they might also be used for altering the appearance of the individual box via CSS.
Attribute Description
For the <tabs> tag
container Use this attribute to define any styles for the tabs container. Styles defined here will only affect the container of the tabs, not the labels.
plain If this attribute is set, the tab interface will be a much more plain layout, without a border around the container, and with the tab labels just being buttons above it, instead of the typical tab layout. This can be used to get more freedom in styling the interface.
For the <tab> tag inside tab menus
inline If this attribute is set, the tab's contents can be placed within text without interrupting the flow of the text. The difference between this and the default state of display:inline-block is that with inline-block, the tab's contents are forced to a new line when placed at the end of a new line, when not the whole of the tab's contents fit on the same line. inline tabs however will use up any space that's left at the end of the line, and fit in with the normal flow of the text just like normal text.
block Converts the tab's contents to a block element. This can be used to assure the tab's contents will be displayed as a block instead of an inline-block, in cases where the tab's contents should not be placed within a line of text. When both the block and inline attributes are available, the inline attribute will be ignored.
index This will determine the index of the tab. This only works if the entered index is already the index of a defined tab. Otherwise, this attribute is ignored. If no valid index or matching name attributes are defined, the index is automatically set to be the next in the list of tabs.
name This attribute is used to define the text the label shows for the tab. If the entered name already exists within the tab, the contents of the <tab> tag are automatically assigned to the existing tab. This also means no two tabs can have an identical label. This attribute will be ignored if the index attribute already refers to an existing tab. Whitespace is automatically removed from the start and end of this attribute's value.
| name=Specific| index="2"}} }}