1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Vote for us!

Remember to vote for ZEJ at our Top RP Sites page! You can vote only once daily, so make sure to do so and help us reach the top!

PSA Really Useful Stuff

Discussion in 'The Manaverse Wiki Project' started by Lord X-Giga-X, Sep 28, 2011.

Thread Status:
Not open for further replies.
  1. Wiki (because a link to there would really be important):  http://manaverse.zejroleplaying.org/index.php?title=Main_Page

    List of all Pages: http://manaverse.zejroleplaying.org/index.php?title=Special:AllPages

    List of all Redirects: http://manaverse.zejroleplaying.org/index.php?title=Special:ListRedirects

    List of all Categories: http://manaverse.zejroleplaying.org/index.php?title=Special:Categories

    Page Templates: http://zejroleplaying.org/showthread.php?tid=185

    List of other Templates: http://manaverse.zejroleplaying.org/index.php?title=Category:Templates

    How to make a Redirect:
    -Search for the page you want to make.
    -Find "Create the page "[insertname]" on this wiki!" and click the red word to start creating the page.
    -Enter "#redirect [[whateveryou'retryingtoredirectto]]" in the text box.
    -Save the page.
    -Congratulations! You made a redirect.

    How to categorize your page:
    -Find a spot in the page's text box (preferably the end)
    -Enter "[[Category:whatevercategoryhere]]" and repeat for every additional category
    -Save the page
    -Congratulations! You have categorized your page.

    How to add a template to a page:
    -Find the location you want to add your template.
    -Add {{template name}}
    -If the template has any parameters:{{template name|parameter1=data1|parameter2=data2|parameter3=data3|parameter4=data4|etc}}
    -Save the page
    -Congratulations! You have added a template to your page.

    More to be added when I can think of more.
     
  2. Because WikiCult is gone and we're using the new wiki, I will be editting the above post.
     
  3. ~ How to Table ~​

    Because a certain kitsune keeps asking for this, I've decided to make this tutorial of sorts. So without further ado, How to Table

    ~ Part 1: Basic Setup ~​

    If you're using the enhanced editing toolbar, you should come across an option for making a table. By default, it should produce something like this:
    Code:
    {| class="wikitable" border="1"
    |-
    ! header 1
    ! header 2
    ! header 3
    |-
    | row 1, cell 1
    | row 1, cell 2
    | row 1, cell 3
    |-
    | row 2, cell 1
    | row 2, cell 2
    | row 2, cell 3
    |}
    
    If you're not, then just use this to follow along.

    Now, for table syntax, pipes are necessary as they represent the entire content of the table. Use {| to start the table, and |} to end it. Each one needs to be on its own line.

    By starting a line with |+, you can give your table a caption.

    You will also need to use |- in order to start new rows in your table. They will also need to be in their own lines.

    For each cell of the table, you will need to start a line with a vertical bar. Cells of a single row can either be seperated by either new lines starting with vertical bars, or on a single line with the cells divided by double vertical bars. (Note: If you chose the latter and only use single vertical bars, what should be the first cell is applied as a format modifier to the cell, and the rest of the cells are merged into a single cell.)

    For headings, they are set up similarly to cells, only using ! in place of vertical bars.

    Now, given just this, you could probably make a table right now. But it would lack lines dividing the cells, and borders. Look back up at the example table and take note of "border="1"". This will give the table borders. class="wikitable" does the same, but not to the same effect. However, it makes your header cells much more pronounced. It also prevents the use of something else, but we'll get into that later.

    Remember all of this, and you can make yourself a basic table.


    ~ Part 2: Formatting Fun~​

    With the steps above, you know how to create a table. However, by following only the steps above, you'll have made a rather boring table. Best thing to do is to make it somewhat exciting. Time for cell formatting.

    Now, there are two places to put in your formatting syntax:
    • If you place it on the same row as {|, the formatting will effect the entire table.
    • If you place it in a line for cell, seperating the cell information with another vertical line, the formatting will effect only that cell. Basically, you'll have something along the lines of "| [insert formatting here] | [cell info]".
      (Recall from the last part that you can have cell information for an entire row on a single line if you divide the cells with double vertical bars. The space between this is where formatting is to be placed.)

    That said, let's start with something basic, like giving it some color. For background color, you will need to use style="background: ", providing a basic color, or a hexcode. (Note: style="background-color:[color]" also works.) Text color works similarly, only uses "color" in place of "background". You can also included it within style=" " as long as you seperate them with a semi-colon.

    Now, let's say you want the table or a cell to be a certain size. Use height=" " and width=" " to make it said size. Taking an example from the wiki, the infobox templates use width="300px". However, it is also possible to make your table take up a certain percentage of the page. (ex. width="90%"). With this in mind, it is also possible to make a cell in your table a certain percentage of the table's size.
    However, this isn't the only way you can mess with the size of a cell. Through the use of colspan=" " or rowspan=" ", you can make a cell span a number of columns or rows respectively. (There is one drawback to this that we'll get into later.)

    Alignment works with align="left/center/right". Placing it on the line with the opening pipe aligns the table itself, while including it in the cell formatting aligns the text within the cell.

    Borders can be set up one of two ways. Simply using border="1-5" will produce a transparent border, which on a plain table looks relatively fine. But when colored.... yeeeeaaah....
    However, if you place it within style=" ", you can fill it in with different formatting to make it any size and color. You can also use "solid" or "dashed" to change how it looks overall.
    A fun thing to mess with is "border-radius", which allows you to make the corners of your tables more rounded. There's two ways to accomplish this. One way is "border-radius:Xem", which rounds the corners to the same extent. The other way is border-radius:Xem Yem Zem Ωem", which will round the corners to varying extents. (Note: This does not work with the wikitable class.)
     
Thread Status:
Not open for further replies.

Share This Page