Star Trek Online Wiki
Register
No edit summary
No edit summary
Line 113: Line 113:
 
* To indent text as shown above, use the following formatting:
 
* To indent text as shown above, use the following formatting:
   
<span class="indent">
+
&lt;span class="indent"&gt;
 
24 Hit Points to Fabrications
 
24 Hit Points to Fabrications
 
25% chance: to self: AICommand
 
25% chance: to self: AICommand
 
...
 
...
</span>
+
&lt;/span&gt;
   
 
This can be nested to indent on more than one level, like so:
 
This can be nested to indent on more than one level, like so:
   
<span class="indent">
+
&lt;span class="indent"&gt;
 
...
 
...
to target: Applies <span class="blue">Quick Fix Applied</span> for 12 sec
+
to target: Applies &lt;span class="blue"&gt;Quick Fix Applied&lt;/span&gt; for 12 sec
<span class="indent">Removes up to 1 effects</span>
+
&lt;span class="indent"&gt;Removes up to 1 effects&lt;/span&gt;
 
+9% All Damage strength to Ranged Weapons for 12 sec
 
+9% All Damage strength to Ranged Weapons for 12 sec
 
...
 
...
</span>
+
&lt;/span&gt;
   
 
* Finally, for the cost of the item, use the following formatting:
 
* Finally, for the cost of the item, use the following formatting:

Revision as of 23:31, 15 January 2010

Article Naming

The folowing naming conventions must be observed when naming certain articles:

Article Type Prefix Example
NPCs (non-player characters) (None) /wiki/Golos Vell
Items (None) /wiki/Firearms Engineering Mk II
Missions Mission:(space) /wiki/Mission: Azure Blues
Equipment Equipment:(space) /wiki/Equipment: Pollyalloy Weave Mk VIII
(Must also be placed within category "Body Armor" because the equipment name is preceded by that phrase within the game.)
Kits Kit:(space) /wiki/Kit: Firearms Engineering Mk II
(Must also be placed within category "Engineering Kits" because the kit name is preceded by "Engineering Kit" in the game.)
Weapons Weapon:(space) /wiki/Weapon: Arcwave MK VIII
(Must also be placed within category "Disruptor Bolt Assault Weapons", because the weapon name is preceded by that phrase within the game.)

Article Linking

For the following article types, the corresponding template must be used when linking to it:

Article Type Template Example
NPCs (non-player characters) (None) [[Malcolm Sissel]]
Items (None) [[Firearms Engineering Mk II]]
Missions {{mission}} {{mission|Azure Blues}}
Equipment {{equipment}} {{equipment|Body Armor|Energy Dampening Mk II|common}}
Kits {{kit}} {{kit|Engineering Kit|Firearms Engineering Mk II|uncommon}}
Weapons {{weapon}} {{weapon|Disruptor Bolt Assault Weapon|Arcwave Mk VIII|uncommon}}

Item InfoBoxes

EngineeringKit FirearmsEngineeringMkII

Sample in-game info box.

Like in the game, and as can be seen in the screenshot to the right, each item within the game has a specially formatted information box. This convention must be observed on this wiki as well; all items will have a corresponding info box. Here is how the process will work:

  1. On an item page, the template {{{iteminfobox}}} is added.
  2. This, in turn, calls up the template {{{iteminfoboxspecific|Item Article Title}}}, where the name of the item is automatically retrieved from the article title where {{{iteminfobox}}} was added.
  3. This template then calls up the article Infobox: Item Article Title, which the user must populate with formatting to resemble the in-game information box.

Item InfoBox Formatting

  • In the example above, the title is in a narrow green font, since the item is Uncommon. To specify the infobox title, use the following formatting:
<span class="itemtitle uncommon">Engineering Kit - Firearms Engineering Mk II</span>

The itemtitle' class specifies the correct font and size for the title, and the uncommon class formats the color for the corresponding rarity. Only use uncommon, common, epic, and rare for the second class name.

  • For the text directly below the title, "Uncommon Kit", use the following formatting:
<span class="uncommon">Uncommon Kit</span>

The uncommon class again colors it green for being an Uncommon item.

  • For all body text, simply use formatting only when the text is not plain white:
Bind On Pickup
<span class="blue">KDF Engineer, Starfleet Engineer</span>
...

...and so forth. The blue class simply colors the body text a light cyan color where shown.

  • For subtitle text (such as "Quick Fix 1" and "Expose Attack" in the example above), use the following formatting:
<span class="subtitle green">Quick Fix 1</span>

and

<span class="subtitle yellow">Expose Attack</span>
  • If there is a label for a required rank for item usage, specify it like so:
<span class="rank">Captain</span>

This will automatically right-align the text, as it is in the game's item information boxes.

  • To indent text as shown above, use the following formatting:
<span class="indent">
24 Hit Points to Fabrications
25% chance: to self: AICommand
...
</span>

This can be nested to indent on more than one level, like so:

<span class="indent">
...
to target: Applies <span class="blue">Quick Fix Applied</span> for 12 sec
<span class="indent">Removes up to 1 effects</span>
+9% All Damage strength to Ranged Weapons for 12 sec
...
</span>
  • Finally, for the cost of the item, use the following formatting:
<span class="cost">2,285 {{{EC}}}</span>

The {{{EC}}} template inserts the "Energy Credits" currency icon as shown in the screenshot above.

  • To view an example of how the above info box would be formatted in its entirety, please visit: Example: Item InfoBox Formatting.