Difference between revisions of "PSU Cyril Wiki:Wiki markup guide"

From PSU Cyril Wiki
Jump to: navigation, search
(Created page with "== The basics == === Text markup === * Type in italics by enclosing words in double apostrophes. For example, <nowiki>''I'm italicized''</nowiki> appears as ''I'm italicized''. ...")
 
Line 30: Line 30:
 
* Subsections are created in the same way.  Simply increase the number of equals signs enclosing the subsection name.  In this article, this particular subsection, "Sections and subsections," was created by typing <nowiki>=== Sections and subsections ===</nowiki>.
 
* Subsections are created in the same way.  Simply increase the number of equals signs enclosing the subsection name.  In this article, this particular subsection, "Sections and subsections," was created by typing <nowiki>=== Sections and subsections ===</nowiki>.
 
* After at least three sections or subsections have been created in an article, a table of contents will appear at the top of the article.  Clicking the links in the table of contents will take you to each section.
 
* After at least three sections or subsections have been created in an article, a table of contents will appear at the top of the article.  Clicking the links in the table of contents will take you to each section.
 +
 +
=== Tables ===
 +
*Okay so here's how you make tables
 +
first off you need this at the top:
 +
 +
**{| class="wikitable" style="text-align:center; font:12px Lucida Sans Unicode"
 +
**|-
 +
**! width=75|blah
 +
#You copy and paste the coding and paste it anywhere you need to you can add columns by making a || next the first title like so
 +
#width=50|Blah || width=50|again
 +
*Now you need to make rows for your table so after ! title go down a line and put
 +
**|- do not put any text here
 +
**| You can put what ever text as you please you also can make || and add text in your second column
 +
**|} At the ending of a table you must add this or the table will mess up
 +
 +
***Also you can add
 +
#|-
 +
#| again to add more rows
 +
 +
*In the end your table should look like this:
 +
{| class="wikitable" style="text-align:center; font:12px Lucida Sans Unicode"
 +
|-
 +
! width=75|blah || width=75|Blah
 +
|-
 +
| Blah || Blah
 +
|-
 +
|Blah || Blah
 +
|}

Revision as of 00:25, 13 June 2012

The basics

Text markup

  • Type in italics by enclosing words in double apostrophes. For example, ''I'm italicized'' appears as I'm italicized.
  • Bold text is created by enclosing words in triple apostrophes. So, '''that's a bold statement''' appears as that's a bold statement.
  • Bold, italicized text can be created by using quintuple apostrophes. '''''I'm bold and italicized''''' appears as I'm bold and italicized.

Creating links

  • In order to create a link to another article at the PSUPedia, enclose the article's name in double brackets, [[like this]].
    • If the article you've linked already exists, the link will appear in blue text.
    • If the article you've linked does not exist, a red link will be displayed. You can click this red link to be taken to the editor where you can create an article.
  • You can make links display alternate names by typing a vertical pipe after the link followed by the name you want the link to display, all encased in double brackets. For example, [[Main Page|take you home]] will take you home.
  • External links are created by encasing the full URL in single brackets, like this [http://phantasystaruniverse.jp/]. You should always follow the URL with a space and then text for what you want the link to say, otherwise the link will appear only as a number in brackets followed by the "off-wiki link" symbol, like this [1]. For example, [http://phantasystaruniverse.jp/ official Japanese PC site] will appear like this: official Japanese PC site.

Creating lists

  • Basic unordered lists are created by using an asterisk (*) at the start of each new line.
    • If you need to indent a new line in the list, simply increase the number of asterisks by one. This line, for example, begins with **.
      • This can be done as many times as necessary. (This line used three asterisks.)
        • But don't go overboard! (Four asterisks here, oh, dear...)
      • When you're ready to go back one
  • or more indention levels in your list, simply subtract asterisks.
  1. If you prefer to create numbered lists, use a pound sign # instead of an asterisk.
    1. Just like with unordered lists, pound signs can be stacked to indent.
  2. The main indention level will maintain sequence with itself.
    1. But further indention levels
    2. will only maintain order if they are not interrupted
    3. by a lower-indented line.

Sections and subsections

  • Articles generally are divided up into sections to better organize data. Sections are created by enclosing what you want to name a section in double equals signs. The section named "The basics" in this article, for example, was created by typing == The basics ==.
  • Subsections are created in the same way. Simply increase the number of equals signs enclosing the subsection name. In this article, this particular subsection, "Sections and subsections," was created by typing === Sections and subsections ===.
  • After at least three sections or subsections have been created in an article, a table of contents will appear at the top of the article. Clicking the links in the table of contents will take you to each section.

Tables

  • Okay so here's how you make tables

first off you need this at the top:

    • {| class="wikitable" style="text-align:center; font:12px Lucida Sans Unicode"
    • |-
    • ! width=75|blah
  1. You copy and paste the coding and paste it anywhere you need to you can add columns by making a || next the first title like so
  2. width=50|Blah || width=50|again
  • Now you need to make rows for your table so after ! title go down a line and put
    • |- do not put any text here
    • | You can put what ever text as you please you also can make || and add text in your second column
    • |} At the ending of a table you must add this or the table will mess up
      • Also you can add
  1. |-
  2. | again to add more rows
  • In the end your table should look like this:
blah Blah
Blah Blah
Blah Blah