Difference between revisions of "User:Sirryan2002/GradingTest"

From Paradise Station Wiki
Jump to navigation Jump to search
(→‎Wiki Templates: added maintenance templates)
(blanked)
Tag: Blanking
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
Hello and welcome to Paradise Station's Wiki. You are likely a prospective wiki contributor wondering how exactly you can contribute to our server wiki. Before making significant changes, contributors should read through our Wiki's Rules. The Guide to Wiki Editing seeks to outline how our wiki is structured, how one can make edits on our wiki, where contributors should be focusing their efforts, how to make an effective and useful edit, and finally how to begin writing quality articles.
==Wiki Rules==
This is the official policy for the Paradise Station Wiki. Violations of these rules will result in a revocation of wiki editing privilege's.
# Paradise Station [https://www.paradisestation.org/rules/ Server Rules] extend to the wiki, a violation of those rules is considered a violation of wiki rules.
# Page Vandalism is not allowed. Page Vandalism is editing a page in an intentionally disruptive or malicious manner. Vandalism includes any addition, removal, or modification that is intentionally nonsensical, misinformative, or degrading in any way.
# Edit Wars and reactionary article revisions are not permitted. Conflicts between contributors should be immediately be discussed between both parties and brought to wiki admins if a solution cannot be reached.
# Hostility towards another contributor or players in any context on the #Wiki-Development channel on discord is strictly prohibited.
# Large-scale edits to the wiki (10+ non-minor edits in quick succession) without first giving notice/discussion in the #Wiki-Development channel on discord is heavily discouraged
# Lore pages (except for grammatical/spelling corrections) are not to be edited without first contacting a Wiki Admin and getting approval from Server Heads of Staff


==What is a Wiki and How Does it work?==
At its core, the Paradise Station Wiki is a website that allows collaborative editing of its content and structure by its users. It serves to document our server's game mechanics and features in an easy to read and understand way so that information is digestible and available to our playerbase. Most importantly, it no only makes information available, but also organizes it in a way that a player can find what they're looking for with relative ease. If it is available in-game, a player should be able to find out more about it through our wiki.
Our wiki is not automatically updated, in order to stay up date, a community member must update it every time a Pull Request (that changes a feature) is merged into our codebase. Since the wiki has a tremendous amount of content, it requires the effort of many community members to keep it up to date and to completely populate its contents. As of the time you are reading this article, the wiki is likely not 100% up to date, and all content that should be added is still not completely there. That is where non wiki-contributing members of our community step in, they make their first edit! First time contributors shouldn't worry about whether or not their first edit adheres to our wiki editing standards, instead they should be focused on learning the mechanics of wiki editing. If you are worried about messing up something, just make an edit on your user page!
==Making Edits==
Anytime the wiki is changed, it must be ''edited'' by a wiki editor. The only restriction for someone to edit the wiki is to be a forums member and login with their forum credentials. Other than our wiki rules, there is NO restrictions on who can edit the wiki or who is "encouraged/discouraged" from editing the wiki. Go wild! Since editing the wiki can come in different forums based on the action you wish to perform, it has been broken down into multiple sections detailing all the ways one can affect change on the wiki.
If you're concerned weather or not your edit went through, you can check [[Special:RecentChanges|Recent Changes]] to see if your edit went through. This page is also a good tool to see where edits are being made on the wiki currently and how development has been going for the last 30 days!
===General Pointers===
This is simply a quick list of introductory wiki editing guidelines for our Wiki.
''If you're ever uncertain about something, feel free to ask in the #wiki-development channel on our Discord.''
'''General Wiki Etiquette'''
* Capitalize links and link names. This fits in better with how the Wiki supports article names at a software level, and proper nouns are supposed to be capitalized anyway.
** Not every reference needs to be a link unless it's for internal navigation. Link the first couple references to another page, but refer to it in plain-text further down the page.
** Do not use external links. Information should be contained on the wiki itself both for convenience and security purposes. There are a limited number of exceptions to this, such as with [https://www.paradisestation.org/rules/ rules].
* After performing an edit, please fill out a general statement (it can be as few as 2 words) to let people know what you did.
* Minor edits are for things like typos, missing punctuation, or minor grammatical quibbles. Anything larger than that is not a minor edit.
* This wiki uses proper British/Canadian English wherever possible. While using American spelling is fine, do not make edits to correct British/Canadian spelling to American spelling.
'''Wiki Guidelines/Editing Tips'''
* Keep on subject. Try to keep articles related to the title. If you feel like you're going off on a tangent, try linking to a new article.
* Several pages use standardized colour schemes, structure, and templates. If you're creating a new page, please follow the structure/colours/templating of similar existing pages.
* Keep header names short and to the point. Lengthy headers make the Table of Contents ridiculously and needlessly wide.
** If you change a page's headers, make sure to click the ''"What links here"'' button on the sidebar and fix any potentially broken redirects.
* If information is highly important/not easy to find, you should consider making a redirect for likely search terms. Redirects look like this: <nowiki>#REDIRECT[[pagename]]</nowiki>
'''Wiki Humour/Bolding'''
* Please refrain from using strikethrough, random bolding, scaled up text, or making excessive random jokes.
** We strive to keep the wiki as a to-the-point and semi-serious resource. The occasional clever joke in an article is fine, constant strikethrough humour is not.
** Bolding and text-scaling should be reserved for headers, disclaimers, or important notes. You should never be using bold text in the middle of a sentence unless absolutely necessary.
===Creating a Page===
[[File:Creating a Page From Search Menu.png|right|thumb]]
As new content is added to the game, something may be added that is unique enough to justify the feature having its own wiki page. Or perhaps you are just creating your user page so you can let people know who you are or have a playground for testing wiki code.
'''There are two methods from which to begin creating a page:'''
* If there is a red link anywhere on the page (such as your username in the top right), you can click on it and it will take you to the page creation tab.
* Type the name of the page you wish to create in the search bar in the top right and press enter. You will then need to click the red link with the name of the page you wish to create right under the search bar on the page.<br>
[[File:Page Creation Tab.png|border|640px|This is the Page Creator tab, you can add the wikicode in the textbox, add a summary in the text input, preview your edits with the show preview button, and save the page with the blue button!]]<br>
You can now add ''whatever'' you want to the page. If its your user page, introduce yourself! Learn how to link your forum profile and discord profile! If its a content page, feel free to put in a summary of what you want players to know about the topic. If you want to see a page created about something but don't know how or want to fill it out, just put <nowiki>"{{Stub}}"</nowiki> as the contents. Once You've filled out the page, write your reason for creating the page, and hit the save button. Your page should now be saved!
'''NEW PAGE POINTERS:'''
* Create new pages only for legitimately new content. IE: Was a new and complicated system reported that needs its own page? Was a new antagonist added?
* If a new page was added, add links to it in the primary navigation pages such as "Guides" (people can't find it otherwise).
* Do not create new pages for testing purposes. This inflates our article count and they can be navigated to through 'Random page.'
** If you need to test something, use your userpage. For instance, if your username is NeoTokyo, navigate to User:NeoTokyo and create a page there.
*** Userpages are not subject to editing from other contributors (please don't edit other people's userpages).
*** However, userpages that contain dead links or otherwise generate issues may be edited at the discretion of the people maintaining the wiki.
===Editing An Article===
[[File:Editing a page from read tab.png|right|thumb]]
Since wiki articles require many edits to keep up to date and add all content, its important to know how to edit an article. To begin editing an article, one must view the page they want to edit and then click the edit button (it is next to the "read" and "view history" buttons).<br>
[[File:Page Editing Tab.png|border|640px|This is the Article editor tab, you can add the wikicode in the textbox, add a summary in the text input, preview your edits with the show preview button, and save the page with the blue button!]]<br>
'''Breakdown of the Editing Tab'''
* '''1''': The Save Changes button does what it says on the package, it will commit your change to the page (don't worry you can revert it later if you want).
* '''2''': The Show preview button will show you what the code in the box will display to the reader exactly, always preview edits before committing
* '''3''': The Show changes button will compare the old code to your inputted code to display the difference between them
* '''4''': The Summary box is what will be displayed next to your edit in the article history tab, it doesn't have to be terribly descriptive but it does need to be accurate
You can now alter the page, edits will not save until you hit the save button don't worry! If its your user page, do whatever you want to it. If its an existing page, make sure you're preserving the quality of the page and improving it! Once You've filled out the page, write your reason for creating the page, and hit the save button. Your page should now be saved!
===Uploading a File===
[[File:Red File Link.png|right|thumb]]
[[File:Upload File Sidebar.png|right|thumb]]
How to implement a file/image that has already been uploaded onto your article has already been discussed in this guide. However, what if a contributor needs to include a file that has not been previously uploaded to the wiki before? There are a few ways to begin uploaded a brand new file to the wiki:
* Click on a File: link that is red
* Click ''Upload File'' under the Tools section in the left sidebar
[[File:File Upload Tab.png|580px|border]]<br>
'''Breakdown of the File Upload Tab:'''
* '''1''': Choose file button, will open up file explorer and you can choose a file to upload
* '''2''': Destination File name, allows you to set the name of the file ("File:" namespace prefix is automatically added dw), the file type declaration must be at the end AND match the chosen file's file type.
* '''3''': Summary, just a light description of the file, can be useful to add keywords for searching later if the file name isn't terribly descriptive
* '''4''': Licensing, you must choose a license when uploading a file (please see license guidelines below)
* '''5''': Upload file, will commit the file to the wiki, process will automatically stop if A) there is no specified file name or uploaded file B) the file type and file name type do not match C) you are uploading a duplicate of another existing image D) something else went horribly wrong
====Licensing Your Image====
* You are required to select an appropriate license for your image.
** CC-BY-SA is for game files.
** CC-BY-NC-SA is for game files in the goon folder.
** GFDL 1.3+ is for wiki-specific files.
====Uploading a New Image to an Existing File====
Uploading an updated file to an already existing file is much the same as uploading a new file, the process to get there is slightly different. You will need to go to the files page, either by searching it in the search bar or clicking the file in an article and then click the "Upload a new version of this file" button.<br>
[[File:Upload a New Version Tab.png|580px|border]]
==Basic Wiki Syntax==
The syntax available to wiki contributors is not usually well presented so a repository of tutorials and information is needed here. This provides the most basic tools a wiki contributor will need in order to fully edit the wiki. 99% of the time, the average wiki contributor will not need more than this (in addition to templates later).
<div class="toccolours mw-collapsible mw-collapsed" style="width:99%">
===Text Formatting===
Text by itself is extremely ''boring'' and often ''hard to read'', so you can use text formatting to make your words really POP!
<div class="mw-collapsible-content">
{|class ="wikitable mw-collapseable" width: "80%";"
|- style="font-weight:bold;background-color:Gray;text-align:center;"
! style="center;"            | Format Type
! style="left;"              | Usage
! style="center;"            | Output
|-
! Bold
| Use this to bring attention to important text <pre>'''This text is bold'''</pre>
| '''This text is bold!'''
|-
! Italic
| Use this to enounciate certain words <pre>''This text is italicized!''</pre>
| ''This text is italicized!''
|-
! Headings
| Use this to declare a section of your article and organize it
* Level 1 Headings should not be used because it conflicts with the wiki page's structure
* 4 or more headings causes the page to have a Table of Contents(TOC)
* Headings must be at the start of a line and come directly after other text
<pre>
==Level 2==
===Level 3===
====Level 4====
=====Level 5=====
======Level 6 ======
</pre>
|
<font style="font-size:1.5em">'''Level 2'''</font>
<font style="font-size:1.2em">'''Level 3'''</font>
'''Level 4'''
'''Level 5'''
'''Level 6'''
|-
! Paragraphs
| You can designate sections of text as paragraphs which will for a linebreak before and after that section, you can also apply some more advanced formatting through [[#Style|Styles]] with it. <pre><p> This is a paragraph of text! </p></pre>
| <p> This is a paragraph of text! </p>
|-
!Bullet Lists
|This is how you create bullet lists
<pre>*Item 1
* Item 2
** Item 2.1
** Item 2.2
* Item 3
** Item 3.1
*:- Definition </pre>
|
* Item 2
** Item 2.1
** Item 2.2
* Item 3
** Item 3.1
*:- Definition
|-
!Numbered Lists
|This is how you create numbered lists
<pre>
#Item 1
# Item 2
## Item 2.1
## Item 2.2
# Item 3
## Item 3.1
</pre>
|
#Item 1
# Item 2
## Item 2.1
## Item 2.2
# Item 3
## Item 3.1
|-
! Preformatted Text
| Use this to preformat text with a certain, this will alos allow you to write anything within the pre blocks without the wiki recognizing it as text formatting.
<pre><pre>This text is preformatted to be the default font and style, <b>Things aren't bolded</b> or <i>Italicized</i>!!!&lt;/pre></pre>
| <pre>This text is preformatted to be the default font and style, <b>Things aren't bolded</b> or <i>Italicized</i>!!!</pre>
|-
! Comments {{Anchor|Comment}}
| Use this to leave important notes/messages to people editing the page. Comments do not show up when you view the wiki page and are only visible in the page editor.
<pre> <!--This is a comment, to whoever is reading this -->
The Fitness Gram Pacer Test is a multi-stage aerobic exercise...</pre>
| <!--This is a comment, to whoever is reading this -->
The Fitness Gram Pacer Test is a multi-stage aerobic exercise...
|-
! Nowiki
| The nowiki block makes it so that any formatting within the block is ignore and is instead displayed as regular text. <pre>&lt;nowiki&gt;<b>This is bold!<b> this is a burger: [[File:Burger.png]]&lt;/nowiki&gt;</pre>
| <nowiki><b>This is bold!<b>
this is a burger: [[File:Burger.png]]</nowiki>
|}
</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed" style="width:99%">
===References===
It is very important the articles link to each other so we have a web of information. In order to do this, we can reference articles and link keywords to those articles.
<div class="mw-collapsible-content">
The most obvious way to do this is by typing <nowiki>[[Article Name]]</nowiki>
For example, you could link to [[Space Law]] by typing <pre>[[Space Law]]</pre>
You can also link the article and change the link text. If you wanted to still link to space law but instead have the link be [[Space Law|Legal Suggestions]] then you would have to use the syntax below. The two parameters for images is the <b>Page Name</b> and the <b>Link Text</b> --> <nowiki>[[Page Name|Link Text]] </nowiki> <pre>[[Space Law|Legal Suggestions]]</pre>
====Referencing Nuances====
As a general note, you should always add spaces after references as it will include any characters that are next to it. So if you write <nowiki>[[Space Law]]textextext</nowiki> It will output as [[Space Law]]textextext.
If you wanted to do something like [[SMES]]<nowiki />'s where you have characters directly next to the link then you would have to add the <nowiki><nowiki /></nowiki> tag to it --> <nowiki>[[SMES]]<nowiki />'s</nowiki>
If you want to link to an image rather than embedding it you will need to add a ':' colon before the name. For example, I can reference [[:File:Burger.png]] without the image embedding itself by doing: <pre>[[:File:Burger.png]]</pre>
If you want to link to something outside of the Main: Namespace (if you're not sure what a namespace is, go [[#Namespaces|here]], but for now all you need to know is that all general users will be reading are in the Main Namespace) you will have to specify which namespace the article is in before you link it.
For example if I wanted to link to my user page:[[User:Sirryan2002]] I cannot just use <nowiki>[[Sirryan2002]] because it will automatically default to the main namespace -> [[Main:Sirryan2002]]</nowiki> which does not exist. I will have to instead specify which name space I'm searching in. For the user's name space I will specify User <pre>[[User:Sirryan2002]]</pre>
====Referencing Subsections====
Sometimes you don't want to just link to an article, you want to link to a specific point in that article.
By adding a hashtag '#' to the end of a page name in your link you can specify where you want to go in that article. You can do this for any <b>subsection</b> in an article.
If I wanted to link [[Space Law#Crime Codes Quick Reference|this]] to Crime Codes References on the Space Law page. All I would have to do is specify it like so: <pre> [[Space Law#Crime Codes Quick Reference]]</pre>
If the area you're referencing is in the article where the link is you can shorten the syntax. For example if I was on the Space Law page and I wanted to link a certain word to a subsection/anchor all I would have to do is use a '#' and write the subsection name: <pre>[[#Crime Codes Quick Reference]]</pre>
=====Anchors=====
An Anchor is a defined place within in a page that you can link people to. They work much like headings where you can link people to them: <pre>[[Page Name#Anchor Name]].</pre> Infact, all headings have anchors attached to them!
On our wiki we have [[Template:Anchor]] which allows us to create anchors extremely easily. What you will need to do is find the area you want someone to be taken to and place the anchor directly next to it via <pre>{{Anchor|Anchor_Name}}</pre>
If I wanted to create an anchor right -> here{{Anchor|AnchorExampleSpot}} <- all I would have to do is this: <pre>If I wanted to create an anchor right -> here{{Anchor|AnchorExampleSpot}} <-</pre>
now if you click on [[#AnchorExampleSpot]] it should take you directly to the anchor.
====External References====
Occasionally you will need to reference a link outside of the Wiki. This is often seen in articles that are guides to spritiing/code stuff or in our rule pages. Bottom line, you will rarely ever have to use an external reference and it should be avoided. If you ever do need to add an external link, it is a lot like referencing an internal article.
You will needs to use one opening square bracket <nowiki>'''['''</nowiki> and one closing square bracket <nowiki>''']'''</nowiki>  Inbetween you will need to put the link, add a space after the link and define the text for the link
<pre> [https://www.paradisestation.org/ Paradise] </pre>
This outputs: [https://www.paradisestation.org/ Paradise]
</div></div>
<div class="toccolours mw-collapsible mw-collapsed" style="width:99%">
===Images===
Images are extremely important for our wiki, without them people wouldn't know what icons/mobs would look like or get a visual representation of what they're supposed to do.
<div class="mw-collapsible-content">
In order to use an image you must utilize the <nowiki>[[File:]]</nowiki> synax.
For example, if you want to use Burger.png: [[File:Burger.png|32px]] then you must specify <nowiki>[[File:Burger.png]]</nowiki>. This will make Burger.png appear wherever you declare this.
However, in order to make images useful to us, we need to format that in a way that is easy to understand and see. We can add parameters to our image by utilizing the pipe '|' character. If you want your image to a certain size and make it link to another page you can specify it as <nowiki>[[File:Burger.png|64px|link=Space Law]]</nowiki>. There's a ton of parameters you can use but the most important ones are listed below.
{|class="wikitable mw-collapsible"
|- style="font-weight:bold;background-color:Gray;text-align:center;"
! style="center; width: 10%"| Format Type
! style="left;"              | Usage
! style="center;"            | Output
|-
! Pixel Size
| You can declare how large you want your image to be in pixels. Generally, you want to stick with either the original size of the file, 64px, or 32px. Or else you may have lossy resizing. <pre>[[File:Burger.png|128px]]</pre>
| [[File:Burger.png|128px]]
|-
! Image Alignment
| You can align an image like you align text. You have four options: left, right, center, and justified <pre>[[File:Burger.png|right]]</pre>
| [[File:Burger.png|right]]
|-
! Framing
| You can put an image in a bordered frame. However, this will not allow you to resize the image. <pre>[[File:Burger.png|frame]]</pre>
| [[File:Burger.png|frame]]
|-
! Thumbnail
| You can put an object in a thumbnail which allows the image to be clicked and expanded. This allows you to resize an image while still having it be in a frame <pre>[[File:Burger.png|thumb]]</pre>
| [[File:Burger.png|thumb]]
|-
! Links
| You can make an image link to a page when it is clicked. You only need to include the page name/subsection and not the full link. <pre>[[File:Burger.png|link=Space Law]]</pre>
| [[File:Burger.png|link=Space Law]]
|-
! Captions
| You can add a caption to a framed image or have a tooltip appear with that caption with non framed images. <pre>[[File:Burger.png|Hello! this is my caption!]] and also [[File:Burger.png|Hello! this is my second caption!|frame]]</pre>
| [[File:Burger.png|Hello! this is my caption!]] [[File:Burger.png|Hello! this is my second caption!|frame]]
|}
</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed" style="width:99%">
===Tables===
Put data and shit into tables cause it helps readers digest information more betterer'
<div class="mw-collapsible-content">
A wikitable always has to be wrapped by curly brackets and a pipe bracket
<pre>{|
All the content goes here
|}</pre>
Below from left to right is Table Syntax, an example table in final form, and example code for a table.
{|class ="wikitable" style="float:left"
|-
! style="center;"            | Syntax
! style="center;"            | What it does
|-
! <nowiki>{|</nowiki>
| Start a table - ''required''
|-
! <nowiki>|}</nowiki>
| End a table - ''required''
|-
! <nowiki>|+</nowiki>
| Add a definition/title to the table
|-
! <nowiki>|-</nowiki>
| Starts a new row
|-
! <nowiki>!</nowiki>
| Creates a Header Cell
|-
! <nowiki>|</nowiki>
| creates a new cell
|}
{|class="wikitable" style="float:left; margin:10pt;"
|-
! Header Cell
! Header Cell
! Header Cell
|-
! Header Cell
| Cell
| Cell
|-
! Header Cell
| Cell
| Cell
|-
! Header Cell
| Cell
| Cell
|-
! Header Cell
| Cell
| Cell
|-
! Header Cell
| Cell
| Cell
|-
! Header Cell
| Cell
| Cell
|}
<pre>
{|class="wikitable"
|-
! Header Cell
! Header Cell
! Header Cell
|-
! Header Cell
| Cell
| Cell
|}
</pre>
====Table Classes====
You should never go with the default table setup because it has no border or lines to break up cells. In order to give our tables fancy UI we have to declare what class it is.
We always do this at the beginning directly after the table start syntax
The '''wikitable''' class gives our tables borders/outlines with grey backgrounds for header cells
{|class="wikitable"  style="float:right;"
|-
! Header Cell
! Header Cell
! Header Cell
|-
! Header Cell
| Cell
| Cell
|}
<pre>{|class="wikitable"
|-
! Header Cell
! Header Cell
! Header Cell
|-
! Header Cell
| Cell
| Cell
|}</pre>
The '''mw-collapsible''' class makes it so you can collapse the table(have to include wikitable class)
{|class="wikitable mw-collapsible"  style="float:right;"
|-
! Header Cell
! Header Cell
! Header Cell
|-
! Header Cell
| Cell
| Cell
|}
<pre>{|class="wikitable mw-collapsible"
|-
! Header Cell
! Header Cell
! Header Cell
|-
! Header Cell
| Cell
| Cell
|}</pre>
The '''mw-collapsed''' starts a table with a mw-collapsible class in the collapsed state.
{|class="wikitable mw-collapsible mw-collapsed"  style="float:right;"
|-
! Header Cell
! Header Cell
! Header Cell
|-
! Header Cell
| Cell
| Cell
|}
<pre>{|class="wikitable mw-collapsible mw-collapsed"
|-
! Header Cell
! Header Cell
! Header Cell
|-
! Header Cell
| Cell
| Cell
|}</pre>
The '''Sortable''' class allows you to make your columns sortable alphabetically, numerically, or by date. Additionally, by defining a row with <nowiki>class="unsortable"</nowiki> you can make it so that row isn't sortable.
{| class="wikitable sortable" style="float:right;"
|-
! Alphabetic
! Numeric
! Date
! class="unsortable" | Unsortable
|-
| d || 20 || 2008-11-24 || This
|-
| b || 8 || 2004-03-01 || column
|-
| a || 6 || 1979-07-23 || cannot
|-
| c || 4.2 || 1492-12-08 || be
|-
| e || 0 || 1601-08-13 || sorted.
|}
<pre>
{| class="wikitable sortable"
|-
! Alphabetic
! Numeric
! Date
! class="unsortable" | Unsortable
|-
| d || 20 || 2008-11-24 || This
|-
| b || 8 || 2004-03-01 || column
|-
| a || 6 || 1979-07-23 || cannot
|-
| c || 4.2 || 1492-12-08 || be
|-
| e || 0 || 1601-08-13 || sorted.
|}</pre>
====Cell Size Formatting====
You can define the '''size of a cell''' by using colspan and rowspan.
{| class="wikitable" style="float: right;"
!col1
!col2
!col3
!col4
|-
!row1
| colspan="2" | A
|C
|-
!row2
|AA
|BB
|CC
|-
!row3
|AAA
| rowspan="2" | BBB
|CCC
|-
!row4
|AAAA
|CCCC
|}
<pre>{| class="wikitable" style="text-align: center;"
!col1
!col2
!col3
!col4
|-
!row1
| colspan="2" | A
|C
|-
!row2
|AA
|BB
|CC
|-
!row3
|AAA
| rowspan="2" | BBB
|CCC
|-
!row4
|AAAA
|CCCC
|}</pre>
====Table Style====
Without defining the style of your table, it will look rather barebones. Most pages on this wiki have a color theme to them so it's important to know how to do this.
Whenever you're defining the style (aka how it looks) of a table you will need to declare it using the <nowiki>style=""</nowiki> syntax.
However, '''what do you put inbetween those quotations marks?''' Well the answer isn't the same for all the style options you have with HTML. For example, if you want to make background color of the table CadetBlue you would have to do this:
<pre>
{|class="wikitable" style="background-color:CadetBlue;"
|-
| Cell
| Cell
| Cell
|-
! Header Cell
| Cell
| Cell
|}</pre>
Notice how the there is a semi-colon ';' after it. You must use semicolons to separate each attribute you use and to end the string.
For more information on what attributes there are for styling go [[#Style|Here]]<nowiki />.
Depending on what you're trying to do, you can style different parts of a table. '''To style the entire table''', your style will have to go directly after where you define the class of the table:
<pre>
{|class="wikitable" style="text-align:justify;"
|-
| Cell
| Cell
| Cell
|-
! Header Cell
| Cell
| Cell
|}</pre>
To Style '''Individual Cells''' you will need to define the style of the cell and then use the '|' character after which you can then write the content that would go into the cell. Additionally, you can do this to header cells "!" in the sameway.
<pre>{|class="wikitable"
|-
! style="color:blue; text-weight:bold;" | This Header Cell is Styled!
| Cell
| Cell
|-
! Header Cell
| Cell
| style="text-align:left" | This Cell is also Styled!
|}</pre>
To Style '''Rows''' you will need to define the style after you declare the row with 'the |-' character
<pre>{|class="wikitable"
|-
| Cell
| Cell
| Cell
|- style="text-weight:bold;"
! Bold Header Cell
| Bold Cell
| bold Cell
|}</pre>
</div>
</div>
==Wiki Organization==
As stated previously, making information accessible and easy to find is just as important (if not more sometimes) than providing as much information to the read. Our Wiki is organized in a very specific way.
===Page Type===
All of our wiki pages can be broken down into 6 distinct pages:
* '''Location Page:''' A page that shows the image of a single station location and lists out pertinent information such as a short description of the location, its content, security level, access, and a few other items.
* '''Job Page:''' A Page that describes a job/role and the jobs purpose as well as how to fulfill its responsibilities in-game. These pages may also serve as mini-guides to the role and provide specific information detailing how to do certain role-unique actions.
* '''Guide Pages:''' A page that serves to teach players about a group of related mechanics and features. These pages explain how to obtain certain items, perform certain actions, and overall fully utilize all features that pertain to the subject matter.
* '''Item Pages:''' A page that serves to document all available game items/objects/structures related to its theme. Will generally list the object, its sprite, its name, and a light description of the object detailing what actions the object can perform and linking it to any other pertinent guides or roles.
* '''Lore Pages:''' A page that details the lore for our server.
* '''Navigation Pages:''' A page that has the purpose for directing the reader to articles containing knowledge that the reader is looking for. Pages like these may give a surface level explanation of a macro concept such as a specific department as a whole or overlying mechanic such as roles.
===Page Navigation===
Having a wiki with pages numbering in the 3 digits poses a unique issue: even if all relevant and necessary info is present, how does a reader efficiently access it? The Mediawiki search engine is from from enough. The simplest answer is to both interconnect pages to allow for easy jumping article-to-article as well as establishing navigation pages that serve as a phone-book for all relevant articles of a macro topic (think an overlying topic such a "Engineering" or "Antagonist").
While this is a particularly complex topic to break down, its important for contributors to know how their article needs to slot into the larger wiki structure so that the article they spent so much time putting into is actually accessible and discoverable. A good article will make sure it is connected to other articles in the following ways.
====Inter-Article Linking====
It does not make sense for a reader to jump to a navigation page when they need to find an article closely (or even tangentially) related to the article they are currently reading. There are a few methods in which our wiki allows easy jumping between similar articles.
* '''Interwiki Links:''' These are the bread and butter of the wiki represented as <code><nowiki>[[Space Law]]</nowiki></code> [[#blue links|blue links]] on wiki pages, they allow the reader to jump to a referenced article. This is very important for when an article references a term or feature that it does not need to define within the article, for example if the article talked about the [[Captain]] or referencing a specific [[Random events|Random Event]].
* '''Sidebars:''' Sidebars are by far the quickest way to navigate through a macro topic. They do not necessarily link articles of similar ''page type'' but do link together pages that cover similar topics. For example: the engineering sidebar is visible on and links together each of these page [[Station Engineer]], [[Guide to Construction]], and [[Atmospherics]] because they are all "Engineering" focused articles (and are very useful for anyone looking for general information on engineering).
* '''Footers Infoboxes:''' Footer infoboxes serve to link together all pages of similar ''Page Type''. That is, at the bottom of every job page is a large infobox linking all job articles. Unlike sidebars, these do not stick to a particular theme.
These three inter-article linking methods work together in perfect tandem. If implemented well and correctly, a reader can go from one article to another "related" article in a single-jump.
====Navigation Pages====
What about articles that ''are not'' "related?" It would be inefficient and useless to the reader if every single article was linked on every single page. It's just too much links and you run into the same issue of the reader not being able to find the information they want. The solution to this is a phone-book-esque page called a ''navigation page''. Navigation pages serve to coalesce all articles of a particular theme under one page. They are very similar to sidebars in what they offer in terms of linked articles (with a little more information), however, they allow for jumping between other navigation pages. That means, instead of jumping from an article to another "related" article, the reader can now jump from one macro topic to another. For example, one can use the [[Engineering Portal]] to not only find articles related to "engineering" but also jump to other navigation pages covering completely different macro topics such as the [[Antagonist Portal]] or [[Security Portal]].
==Wiki Templates==
Wiki templates are how contributors significantly count down on wikicode that is replicated across multiple page. For example, most headers, sidebars, maintenance headers, and otherwise standardized page UI elements are stored in templates. A template is exactly as the word defines it, predefined code that can be easily inserted into any wikipage with a simple template call. For the general wiki contributor, its only important to understand how to use these templates as well as what templates are available to use and when to use them!
===How to Use===
'''''Disclaimer:''''' It is important that you read the Template Documentation so you know what parameters it takes!
In order to call a template you must utilize double curly brackets: '''<nowiki>{{</nowiki>''' and '''<nowiki>}}</nowiki>'''
Inbetween those brackets you will need to put the name of the template.
For example, if I wanted to place a Work in Progress Template(see [[Template:Wip]]) over an article I'm working on I would call the template by its name in curly brackets. Additionally I've checked and seen that it takes one variable called '''assign'''. What I will need to now do is not only call the template but also give it parameter values. By using the pipe ''''|''''character to separate the template name and parameters you can assign values to those variables. <pre>{{Wip|assign=Sirryan2002}}</pre>
{{Wip|assign=Sirryan2002}}
While it would be easy to copy over the code from [[Template:Wip]], this is a much faster, easier, and shorter method of doing that.
===Types===
====Maintenance Templates====
These templates are all headers that indicate that there is something on the page that requires action from wiki contributors to either fix, create, or update.
'''Needs Revision:'''
* Most Common Template, indicates to contributors that something on the page should be revised
* Most useful for indicating incorrect information, improper formatting, missing information, or other article mistakes
<pre>{{Needsrevision|reason=This page is missing information about sleepers/blobbernauts/lavaland tendrils etc}}</pre>
{{Needsrevision|reason=This page is missing information about sleepers/blobbernauts/lavaland tendrils etc}}
'''Work In Progress:'''
* Indicates to contributors and readers that an article is incomplete and is in the process of being finished
* Most useful for newer pages or rewrites due to large reworks/refactors
<pre>{{Wip|assign=Yourmom}}</pre>
{{Wip|assign=Yourmom}}
'''Stub'''
* Indicates to contributors that readers/contributors want this page but it still needs to be filled out
* Useful to mark out pages for information that doesn't exist on the wiki but should
<pre>{{Stub}}</pre>
{{Stub}}
'''Rewrite:'''
* Indicates to contributors that this page should be completely rewritten either from the ground up or have each section revised/vetted.
* Most useful for old pages that have core formatting and writing style issue that aren't worth the effort to rework with small edits at a time.
<pre>{{Rewrite|reason=There is no actual information structure to this page, most sections encourage actions that are against server rules or are against our rules regarding wiki content}}</pre>
{{Rewrite|reason=There is no actual information structure to this page, most sections encourage actions that are against server rules or are against our rules regarding wiki content}}
'''Missing Images:'''
* Indicates to contributors this page is missing images that are references and another contributor should upload them.
* Useful for contributors who aren't well versed with getting images from the code but are capable of creating articles that need images to supplement them.
<pre>{{Missing Images|missing=The Lavaland loot table is missing images for all cult and magic related items.}}</pre>
{{Missing Images|missing=The Lavaland loot table is missing images for all cult and magic related items.}}
'''Slated For Removal:'''
* Used for both files and articles, indicates that a page should be deleted.
* This template should be used sparingly and only for article with titles that are not useful redirects and/or should not be on the wiki.
* This template should be used for file pages that will never be utilized on the wiki in the near future or duplicate files.
<pre>{{Slated for removal|reason="Duplicate File" or "Why the fuck does this page exist? Who thought 'Crab Cult" is even a remotely useful article name?"}}</pre>
{{Slated for removal|reason="Duplicate File" or "Why the fuck does this page exist? Who thought 'Crab Cult" is even a remotely useful article name?"}}
'''Outdated File:'''
* Used for files that contain images of outdated items such sprites, locations, or object that had changes made and now look different.
<pre>{{Outdated File|reason=Theta has moved from singularity to tesla equipment}}</pre>
{{Outdated File|reason=Theta has moved from singularity to tesla equipment}}
'''Low Quality:'''
* Used for just about any reason other than "outdated" for files. Can be that the image is low resolution, has stray marks, was capture incorrectly, or downright contains incorrect information/content.
<pre>{{Low Quality|reason=Non-SDMM In-game screenshot preffered}}</pre>
{{Low Quality|reason=Non-SDMM In-game screenshot preffered}}
==Categories==
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
---------------------------------------
==OLD GUIDE==
'''When editing, do not edit any Lore pages without asking the heads first. Editing these pages without permission may result in your Wiki privileges being revoked.'''
=General Guidelines=
This is simply a quick list of introductory wiki editing guidelines for our Wiki.
''If you're ever uncertain about something, feel free to ask in the #wiki-development channel on our Discord.''
'''General Wiki Etiquette'''
* Capitalize links and link names. This fits in better with how the Wiki supports article names at a software level, and proper nouns are supposed to be capitalized anyway.
** Not every reference needs to be a link unless it's for internal navigation. Link the first couple references to another page, but refer to it in plain-text further down the page.
** Do not use external links. Information should be contained on the wiki itself both for convenience and security purposes. There are a limited number of exceptions to this, such as with [https://www.paradisestation.org/rules/ rules].
* After performing an edit, please fill out a general statement (it can be as few as 2 words) to let people know what you did.
* Minor edits are for things like typos, missing punctuation, or minor grammatical quibbles. Anything larger than that is not a minor edit.
* This wiki uses proper British/Canadian English wherever possible. While using American spelling is fine, do not make edits to correct British/Canadian spelling to American spelling.
'''Wiki Guidelines/Editing Tips'''
* Keep on subject. Try to keep articles related to the title. If you feel like you're going off on a tangent, try linking to a new article.
* Several pages use standardized colour schemes, structure, and templates. If you're creating a new page, please follow the structure/colours/templating of similar existing pages.
* Keep header names short and to the point. Lengthy headers make the Table of Contents ridiculously and needlessly wide.
** If you change a page's headers, make sure to click the ''"What links here"'' button on the sidebar and fix any potentially broken redirects.
* If information is highly important/not easy to find, you should consider making a redirect for likely search terms. Redirects look like this: <nowiki>#REDIRECT[[pagename]]</nowiki>
'''Wiki Humour/Bolding'''
* Please refrain from using strikethrough, random bolding, scaled up text, or making excessive random jokes.
** We strive to keep the wiki as a to-the-point and semi-serious resource. The occasional clever joke in an article is fine, constant strikethrough humour is not.
** Bolding and text-scaling should be reserved for headers, disclaimers, or important notes. You should never be using bold text in the middle of a sentence unless absolutely necessary.
'''Location Pages'''
* Obvious exits should not include cardinal directions to reduce page bloat. Simply list the exits in a flowing list, IE: Central Primary Hallway, [[Bar/Chapel Maintenance]]
* Access Level should list the exact access required to access that location.
* Clearance should list ''only'' the minimum job rank/most obvious job rank required to access a location.
* Clearance (when listed) should contain page links to the jobs put under clearance.
* Any text on the page should appear in the description field and not below the template.
* The Department field should match the section the area is found in under the Template:Locations template.
'''New Pages'''
* Create new pages only for legitimately new content. IE: Was a new and complicated system reported that needs its own page? Was a new antagonist added?
* If a new page was added, add links to it in the primary navigation pages such as "Guides" (people can't find it otherwise).
* Do not create new pages for testing purposes. This inflates our article count and they can be navigated to through 'Random page.'
** If you need to test something, use your userpage. For instance, if your username is NeoTokyo, navigate to User:NeoTokyo and create a page there.
*** Userpages are not subject to editing from other contributors (please don't edit other people's userpages).
*** However, userpages that contain dead links or otherwise generate issues may be edited at the discretion of the people maintaining the wiki.
==Images and Image Use==
==Calling and Using Images==
In order to use an image, you will need to call the <nowiki>[[File:]]</nowiki> command.
Here's the appropriate syntax for the command to call an image of a burger: '''<nowiki>[[File:Burger.png]]</nowiki>'''
'''This will display as:''' [[File:Burger.png]]
Unless we're putting this image in a table, it's probably way too big! In order to fix that we need to add a size modifier.
To add a size modifier, we need to use the line identifier followed by a size in pixels: '''<nowiki>[[File:Burger.png|32px]]</nowiki>'''
'''This will display as:''' [[File:Burger.png|32px]]
If we wanted it even smaller for some reason, we would put: '''<nowiki>[[File:Burger.png|16px]]</nowiki>'''
'''This will display as:''' [[File:Burger.png|16px]]
As you can see, when we downsize to such a level we start losing a lot of visual fidelity. The same is also true if we upscale the image like so: '''<nowiki>[[File:Burger.png|96px]]</nowiki>'''
'''This will display as:''' [[File:Burger.png|92px]]
If we put all the images side-by-side, the loss in visual fidelity is immediately obvious when scaling above 64px (native resolution) or below 32px (native SS13 resolution).
{|class="wikitable"
| 92px (some loss):
| 64px (no loss):
| 32px (no loss):
| 16px (some loss):
|-
| [[File:Burger.png|center|92px]]
| [[File:Burger.png|center]]
| [[File:Burger.png|center|32px]]
| [[File:Burger.png|center|16px]]
|}
   
When using the file command, you should always specify your intended filesize (either 32, or 64px).
''Note: If you want a 64px version of an image but only a 32px version exists and you're unable to upload it yourself, it's still better to upsize to 64px and lose that visual fidelity. It will be an obvious and immediate indicator to any editor who comes across the page that the image needs to be uploaded.''
==File Modifiers==
The <nowiki>[[File:]]</nowiki> command has a variety of modifiers that can be applied to it, sizing is just one.
'''<nowiki>[[File:Burger.png|center]]</nowiki>''' will align the image in the center of wherever it's placed (be it in a table or elsewhere). You can also align it using left or right instead of center.
'''<nowiki>[[File:Burger.png|frame]]</nowiki>''' will frame the image in a standard MediaWiki box and align it on the right-hand margin.
'''<nowiki>[[File:Burger.png|frame|caption]]</nowiki>''' will add a caption below the frame. Simply replace the word caption with your description.
'''<nowiki>[[File:Burger.png|link=Space Law]]</nowiki>''' will add a link to the image. You can now click the image to navigate to the page, in this case clicking the icon navigates to the Space Law page.
Here's what a captioned, centered, framed, and linked image call would look like.
'''<nowiki>[[File:Burger.png|link=Space Law|center|frame|oh wow this is pretty neat|32px]]</nowiki>'''
{|class="wikitable"
| style="width: 100pt" | Centered Image
| style="width: 100pt" | Framed Image
| style="width: 100pt" | Image w/ Caption
| style="width: 100pt" | Linked Image
| style="width: 100pt" | All of the Above
|-
| [[File:Burger.png|center]]
| [[File:Burger.png|frame]]
| [[File:Burger.png|frame|caption]]
| [[File:Burger.png|link=Space Law]]
| [[File:Burger.png|link=Space Law|center|frame|oh wow this is pretty neat|32px]]
|}
==Uploading/Finding Images==
Alright, but how do we find/upload images?
It's actually pretty straight-forward. On the left-hand margin of the web-page underneath the Paradise Logo you'll see a list of links. Click '''Upload File'''.
Once you've navigated to the Upload File page, at the top there's a link to view "List of Uploaded Files."
* Clicking it will bring you to a searchbar that can navigate/search for images.
* You can also find the File List in the Special Pages listing.
* You can also just [[Special:ListFiles|click the words here to find it.]]
Now that we know how to reach the Upload File and Special:ListFiles pages, it's important that we run down a few important things when uploading images.
'''Basic File Etiquette'''
* Prior to uploading a new image, please ensure there isn't already a version of that image on the wiki.
** If you are uploading a superior version, maintain the same filename.
'''File Extensions/Image Sourcing'''
* Images must be in .png format, or .gif format for animated files. '''Never upload a file in .jpg or .bmp.'''
** The .jpg extension is not lossless (it loses fidelity when uploaded) and .bmp has a larger file-size (which wastes wiki resources).
* Images should be sourced directly from the codebase .DMI files located on the [https://github.com/ParadiseSS13/Paradise/tree/master/icons GitHub].
* Once you have the appropriate .DMI open (BYOND will open it) and have found your image, right-click it, hit "Export As," and save it as a .png.
'''Resizing/Modifying Your Image'''
* Images should be scaled up from their 32x32 size to 64x64 either using '''no scaling filter, or nearest neighbour scaling'''.
** Settings such as "Bilinear," "Bicubic," "Best Quality," and so on will cause a loss of quality when scaling SS13's pixel-art style.
** If all you have is MSPaint, you should consider downloading a free editor such as Paint.net or GIMP. MSPaint causes artifacts (colour loss) when rescaling.
* Icons must have a transparent background. If you sourced from the .dmi, it already does so you don't need to worry about this. If it doesn't, edit out the background.
'''Naming Your Image'''
* Name your file something appropriate when uploading it so it can be easily found. "dragonsbreath" isn't ideal, but "shotgun_dragonsbreath" would be.
** Unless using capitalization somehow clarifies the file-name, only the first-letter of the filename should be capitalized.
** Try to keep the image name short and to the point "bananacake" is fine, "food_bananacake" is also fine, but "food_bananacakechefkitchensliceable" is not.
'''Licensing Your Image'''
* You are required to select an appropriate license for your image.
** CC-BY-SA is for game files.
** CC-BY-NC-SA is for game files in the goon folder.
** GFDL 1.3+ is for wiki-specific files.
Assuming you followed these steps properly, you're all set to upload! If there's a duplicate file already on the wiki, you will be automatically warned. If the existing file is identical/superior, please use it instead of the file you're trying to upload (duplicate files not only create more work for everyone, they waste resources)!
=Templates and Categories=
Here is a list of all Categories and the important Templates we are using. If you make one, add it to the list (some templates automatically add categories to an article if you use them).
*[[:Category:Templates|Templates]]
*[[Special:Categories|Categories]] (Note: Some Categories redirect to a wikipage. To get to the Category, click on the reference below the pagename)
'''Please read the description in every Category and add it to an article where appropriate. If you want to add a category, please consult someone in charge of the Wiki.'''
==Templates==
Templates are outlines that accept a variety of parameters in order to create a standardized Wiki element.
Here's an example of what an unfilled template looks like.
<div style="display:table;">
{{JobGuides}}
</div>
When viewing a template's source, the elements surrounded by three curly brackets, such as <nowiki>{{{department}}}</nowiki>, indicate where the template will accept input.
The words "placeholder" may indicate other parameters that the template is looking for. To find them, we would look at the template's source. For now, we'll try modifying a few parameters!
To call a template, we used a template call which consists of two curly brackets like so: '''<nowiki>{{JobGuides}}</nowiki>'''
In this case, we're calling the job-guides template! We can define the parameters by opening up the Template Call and using some line identifiers like so:
<nowiki>{{JobGuides
| colour    = #CCAE18
| department = Burger
| image      = Burger.png
| roleheader = Burger Jobs
| roleguides = Burger Guides
}}</nowiki>
Doing this will fill in some of those missing parameters, and we'll get the following result:
<div style="display:table;">
{{JobGuides
| colour      = #CCAE18
| department  = Burger
| image      = Burger.png
| roleheader  = Burger Jobs
| guideheader = Burger Guides
}}
</div>
As a rule of thumb, it's always a good idea to look at another page that has the template to see how it's being utilized. This not only cuts down on time, it will usually tell you what those other hidden parameters are!
==Categories==
Categories categorizes the pages and files of the wiki to help people find them easier. Auto-generating categories are also a useful tool for editors looking for issues on the wiki.
==Basic Syntax==
The Wiki accepts BBCode, basic HTML, and CSS styling to create a variety of formats.
Here's a list of some commonly used tags on our wiki.
===Word Tags===
<nowiki>=text=</nowiki> creates the largest headline
<nowiki>======text======</nowiki> creates the smallest headline
<nowiki>'''texthere''' Creates bold text</nowiki>
<nowiki>''texthere'' Creates italic text</nowiki>
<nowiki><font size="3"></font> Sets size of font, from 1 to 7</nowiki>
<nowiki><font color="green"></font> Sets font color, using name or hex value</nowiki>
===Links===
<nowiki>[[Page Name Here]] creates a hyperlink</nowiki>
<nowiki>[[File:Filename.filetype|sizepx]] creates an image/link</nowiki>
<nowiki>[[Page Name Here#Subsection Here]] creates a target location within a document</nowiki>
<nowiki>[[#Subsection In Page]] links to that target location from elsewhere in the document</nowiki>
===Formatting===
<nowiki><br> Inserts a line break</nowiki>
<nowiki><ol></ol> Creates a numbered list</nowiki>
<nowiki><ul></ul> Creates a bulleted list. You can also just use * to create manual bullets.</nowiki>
<nowiki><li></li> Precedes each list item, and adds a number or symbol depending upon the type of list selected</nowiki>
<nowiki><hr> Inserts a horizontal rule</nowiki>
<nowiki><hr size="3"> Sets size (height) of rule</nowiki>
<nowiki><hr width="80%"> Sets width of rule, in percentage or absolute value</nowiki>
<nowiki><hr noshade> Creates a rule without a shadow</nowiki>
<nowiki><big></big> Scales up text to a larger size</nowiki>
===Tables===
<nowiki>{| Starts a table. It's the initial table call.
| The standard table line. Specifies an item in the table.
|- A table-break. When creating tables, the first break will signal the end of the column headers.
|+ A special table-header. This header will appear in plain, bolded text above the table.
! A table header. This applies a special light-grey background and bolds any text.
|] Closes an established table.</nowiki>
[[Category:Guides]]

Latest revision as of 03:14, 11 May 2022