Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

UniWiki:Editing Guide: Difference between revisions

From EVE University Wiki
m Deprecated: fix typo
Streamlined information on templates, pointing users to Template and each template's documentation page (which has all this information).
Line 154: Line 154:


=== Templates ===
=== Templates ===
[http://meta.wikimedia.org/wiki/Help:Template Templates] are a bit more advanced so this guide will not explain how to make them, but we do have some [[:Category:Template|templates made that are ready to use]].
{{main|Template}}
 
Templates allow us to automatically format information a certain way. For example, the Clean Up template always looks like this: {{Color box|color=#2B547E|border=#2B3856|width=80%|'''This article should be cleaned up or improved.'''}}
Templates allow us to automatically format information a certain way. For example, the Clean Up template always looks like this: {{Color box|color=#2B547E|border=#2B3856|'''This article should be cleaned up or improved.''' }}
In order to include a template, place the template name between two pairs of curly brackets:
In order to include a template, place the template name between two pairs of curly brackets:
<pre><nowiki>{{Cleanup}}</nowiki></pre>
<pre><nowiki>{{Cleanup}}</nowiki></pre>


Some templates allow variable input. {{Example|The example template for example!}}
Some templates allow variable input. You simply put a pipe character after the template name and then put the text. A new pipe for each variable:
 
You simply put a pipe character after the template name and then put the text. A new pipe for each variable:
<pre><nowiki>{{Example|The example template for example!}}</nowiki></pre>
<pre><nowiki>{{Example|The example template for example!}}</nowiki></pre>
{{Example|The example template for example!}}


We have several templates that we use at the moment, see the [[:Category:Template|template category]] for the full collection. We'll discuss some of the more common maintenance templates here.
There are many templates which you can use to improve your pages, from status messages (e.g. {{tl|Cleanup}}, {{tl|Deprecated}} or {{tl|Deletion}}), to help with links (e.g. {{tl|sk}} for linking skills), to beautifully crafted information boxed (e.g. {{tl|Ship}} or {{tl|Skill}}). For help on using a particular template, click its link, which will take you to the template's documentation page. For instance, if you would like to add a new ship fitting, but are unsure how to use the {{tl|ShipFitting}} template, go to [[Template:ShipFitting]] and read the documentation (or go to a page which currently uses the template to see what parameters they used; most are fairly self-explanatory).  
 
==== Cleanup ====
<pre><nowiki>{{Cleanup}}</nowiki></pre>
Indicates that this article needs to be cleaned up/improved. Mark articles with the Cleanup template if they contain a lot of spelling errors, unwieldy layout, etc.
 
==== Deprecated ====
<pre><nowiki>{{Deprecated}}</nowiki></pre>
Indicates that this article is no longer required and is no longer being maintained. Deprecated pages may be reused or edited into something useful.
 
==== Deletion ====
<pre><nowiki>{{Deletion}}</nowiki></pre>
Used for pages that were created by accident, empty categories, blank pages, or abusive articles that are better off removed entirely.
 
==== Merge ====
Indicates that the contents of an article is duplicated somewhere else. Duplication of information will almost certainly lead to inconsistencies when changes are applied to only a part of the duplicate information, and as such should be avoided at all cost. Instead, articles should link to one another to reference information. If you find articles that have significant duplicate information, mark them with the Merge template. The Merge template takes one argument, the name of the other article containing the duplicate information:
<pre><nowiki>{{Merge|Second Wiki How To Guide}}</nowiki></pre>
 
==Uni Specific==
===Skills===
The whole of the skills code is in one template that should be used.
 
'''Listing Skills on Overview:'''
<pre><nowiki>*[[Skills:Group#Skill_Name|Skill Name]]</nowiki></pre>
-First letter of each word is capital.
 
-First part, before the "|", has a "_" between the words.
 
-Second part, after the "|", has a "space" between the words.
 
''Example:''
<pre><nowiki>*[[Skills:Armor#Armor_Layering|Armor Layering]]</nowiki></pre>
 
'''Creating/Modifying Skill links in skill description's prerequisites'''
<pre><nowiki>{{Skill
|skill=Name
|desc=Description
|1=Major Attribute
|2=Minor Attribute
|mult=Multiplierx
|price=32K
|pre=[[Skills:Engineering#CPU_Management|CPU Management I]]
|notes=Notes
}}</nowiki></pre>
-Skill coding is the same as used for the Overview (that's why they all have to be the same).
 
-Skill level needed should be included inside the brackets.
 
''Example:''
<pre><nowiki>|pre=[[Skills:Engineering#CPU_Management|CPU Management I]] <- Correct way
|pre=[[Skills:Engineering#CPU_Management|CPU Management]] I <- Incorrect way
</nowiki></pre>
 
-Skill name is listed with "space" between words (if needed), not "_".
 
-Attributes are written with capital on first letter, being the Major the one that contributes the most, and Minor the one that contributes less.
 
''Example''
<pre><nowiki>|1=Intelligence
|2=Memory</nowiki></pre>
 
-Training multiplier is written a number+x
 
''Example''
<pre><nowiki>
|mult=1x
</nowiki></pre>
 
-Price were changed to be coherent across all skill pages. Do not put "ISK" after the price as it will show "ISK ISK" on the wiki. Values have been changed to power of ten nomenclature, therefore K=thousand, M=million, B=billion. There's no need to put "~" before the price to indicate it's approximately, as all prices are a good approximation of the in-game prices. If there's a value range, put "-" between the two numbers, without "spaces", and add the K, M, or B after the last number. The correct fraction denominator is "." and not ",".
 
''Example''
<pre><nowiki>
|price=32K <- Correct
|price=32.5M <- Correct
|price=20-25.5B <- Correct
 
|price=32,000 <- Incorrect
|price=32,5M <- Incorrect
|price=~20-25.5B <- Incorrect
|price=20 - 25.5B <- Incorrect
|price=20B-25.5B <- Incorrect
|price=32K ISK <- Incorrect
</nowiki></pre>
 
Maintaining this pattern is very important because it allows the use of a Code Editing software to more easily and timely modify the skills on the wiki should CCP decide to make any more changes.
 
You will see that almost all (if not all) skills are properly edited to reflect that. In case of doubt, check a few skills above and below. In case of more doubt, check these examples. :)
 
===Fits===
Fits can easily be converted from EFT to wiki using an [http://eve.sonicreality.x10.mx/template/ automated tool].


====Adding to Ship Pages====
[[Template]] goes into more details about the most commonly-used templates and how to use them. Alternatively, see the [[:Category:Template|template category]] for the full collection.
#Make sure you are logged in
#Navigate to the ship page (eg [[Bantam]])
#On the contents, click "4 Fitting"
#Click "<nowiki>[EDIT]</nowiki>" in the right of the "Fitting" header
#Copy the wikicode from the [http://eve.sonicreality.x10.mx/template/ automated tool]
#Paste right at the '''end''' of the edit box
#Click "Show preview"
#If all looks correct, click save page


== Discussion ==
== Discussion ==