Wikipedia Coding and Tips
From Grand Chase Wiki
This page is dedicated to help people make this wiki a much... eye friendly place. So if anyone have any coding tips put it all in here!
Contents |
Setting up Tables in Wiki! (charts)
{|border="1" cellpadding="5"
|-
!Heading for column 1
!Heading for column 2
!Heading for column 3
|-
|text for row 1, column 1
|text for row 1, column 2
|text for row 1, column 3
|-
|text for row 2, column 1
|text for row 2, column 2
|text for row 2, column 3
|}
It will end up looking like this
| Heading for column 1 | Heading for column 2 | Heading for column 3 |
|---|---|---|
| text for row 1, column 1 | text for row 1, column 2 | text for row 1, column 3 |
| text for row 2, column 1 | text for row 2, column 2 | text for row 2, column 3 |
Linking to another page, with different words
You ever wanted to link to a page? But don't want to type out the whole thing or the page name on here? Here's a trick! (I will link to main page).
Type this:
[[Main Page|Click Here!]]
It will end up looking like this:
Click Here!
Linking to a section in a page
It's more simple than you might think!
[[Pets#Cash Pets|Cash Pets~]]
This would link you to the Cash Pets section of the Pets page. Like so:
Cash Pets~
But what if the place I want to link to is plain text? (middle of an article, for example)
That's why we have anchors you can manually set:
<span id="anchorname">anchortext</span>
Drop one of these anywhere in an article, change the anchorname to whatever you need, and it creates an anchor you can link to. You can either fill in text that will be displayed (the anchortext spot), or leave it empty for an anchor invisible to all but editors.
Example of a link to a functioning anchor:
Status Infliction, Freeze
As you can see, the Status Inflictions article lacks sections. Thanks to several invisible anchors set throughout the page, though, people can freely add links to specific status inflictions and have the browser go directly there.
Images
So you want to add an image to an article? A few things to keep in mind.
- You must get permission to use the image from the person who created it. If it's obviously made by KoG or one of their associates (such as Ntreev, Level-Up Games, etc), then you're good to go.
- The image must not be too big, either dimensionally or by filesize. A maximum limit of 750kb is good for most high-quality images.
- The image must be in an acceptable format. PNG, GIF and JPEG are acceptable. PNG is ideal due to its quality and transparency capabilities.
Your image(s) fit all those, you say? Ok then!
You have two choices for how to upload your image and use it in an article; you can use a third-party site specifically designed for hosting images, such as Photobucket or Imageshack, or you can simply upload the image to the wiki. Having the wiki host your image is preferable for several reasons:
- Quicker response and better image load times
- Not affected by other sites' server outages
- Images hosted on the wiki can have several wikitext switches easily applied to them to control their position in the article, whether or not they have a border, whether or not they're in thumbnail form, etcetera. Externally-hosted images are limited to simple hotlinking.
(we will go over some of those image manipulation switches later)
Note: You may not hotlink to an image hosted on a site other than Ntreev's network, or one of the image hosts mentioned above. This is essentially stealing their bandwidth, and most sites don't look kindly on bandwidth theft if it goes on long enough. If you want to use an image from a fansite or another country's official site, download it to your computer first, then host it on the wiki or one of the sites above.
If you choose to use an image uploaded on an image-hosting site, simply place the image's URL in your article to link it. No need to add any HTML tags. Wikitext tags will not affect it.
If you choose to upload your image to the wiki, the process is simple enough. Click the Upload file link to the left, in the Toolbox (or, if you're lazy, just click that link I just left for you). Next, click Browse and select the image you want. Then, unless you have your file already named and ready to go, change the Destination Filename to something that makes sense.
- Example: I want to upload an image for Lire's Archer class. A destination filename like "lire_archer.png" would be perfect.
Once you have your filename chosen, write a short description of the image that you're uploading.
After you're done with all of that, click Upload file. Depending on your connection speed and the filesize, the file upload can take less than a second to half a minute; just be patient and let it finish. You may get one or more of the following warnings:
- File already exists: the filename you chose is already in use. If you're replacing an image on purpose, ignore this.
- File over recommended size: your file is larger than the default maximum recommended size. As long as you're around or under 750kb, ignore this.
- File extension invalid: don't change your file extension in the destination filename box (from jpg to png for example). The wiki will try to read it thinking the extension is correct, be unable to, and reject it.
If you've resolved all problems and now see a thumbnail of your image...
You're done! Your file is uploaded to the wiki. You can now link to it in an article using the [[file:filename.png]] tag, or if you replaced another image, go to the article linking to it and admire your work.
Editing the Wiki
A bit of tips on editing the wiki, and what you should not do and all that crap.
- For starters, DO NOT put false info.
- No joking around; The Wiki does not take kindly for jokes or made-up objects.
- If you aren't sure what you should post, please use the discussion page or go on the Fourms/In-Game and ask for help.
- If you are attempting to sort things out a bit, please state why you are doing that during the editing.
- DO NOT erase the pages and put something stupid as a replacement, otherwise it would lead to punishment.
- DO NOT start a war between other Wiki Mods, otherwise you may be punished.
