Difference between revisions of "Help"

From Polar Lights Wiki
Jump to: navigation, search
(Editing Tools)
(Colors)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==Wiki Editing==
 +
'''<span class="red">The main reference for editing wiki pages can be found </span>[https://www.mediawiki.org/wiki/Help:Contents here]<span class="red">.</span>'''
  
 +
It's also worth printing out a copy of the [https://upload.wikimedia.org/wikipedia/meta/6/66/MediaWikiRefCard.pdf MediaWiki Reference Card], which covers the most commonly used markup (I keep a copy of it under my mouse mat -- [[User:Yasueh|Yasueh]] ([[User talk:Yasueh|talk]])).
 +
 +
For editing large and complex sections of wiki code (such as large tables with many CSS style tags), it can sometimes be easier to copy the code into an editor like [https://notepad-plus-plus.org/ Notepad++] - which provides more advanced features than the in wiki editor, such as find/replace - and then copy the edited code back into the wiki edit box.
  
 
==Colors==
 
==Colors==
 
+
These are the hexadecimal red/green/blue values for colors used on this site. Some may already have been defined for use in <nowiki><span></nowiki> tags at [[MediaWiki:Common.css]]
The colors used in game to represent all the character classes, item qualities, and a set of bright colors based on the golden ratio, some of which are used on this site.
+
  
 
{| border="0" cellpadding="0"
 
{| border="0" cellpadding="0"
 
|-
 
|-
 
 
| valign="top" |
 
| valign="top" |
 
+
===Character Classes===
 
{| border="0" cellpadding="0"
 
{| border="0" cellpadding="0"
 
|-
 
|-
Line 35: Line 38:
  
 
|}
 
|}
 
+
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
| valign="top" |
 
| valign="top" |
 
+
===Item Qualities===
 
{| border="0" cellpadding="0"
 
{| border="0" cellpadding="0"
 
|-
 
|-
Line 46: Line 49:
 
| style="background:#a335ee;" | &nbsp;&nbsp;&nbsp;&nbsp; || style="color:#a335ee;" | a335ee|| WoW item purple
 
| style="background:#a335ee;" | &nbsp;&nbsp;&nbsp;&nbsp; || style="color:#a335ee;" | a335ee|| WoW item purple
 
|}
 
|}
 
+
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
| valign="top" |
 
| valign="top" |
 
+
===Site Colors===
 
{| border="0" cellpadding="0"
 
{| border="0" cellpadding="0"
 
|-
 
|-
Line 80: Line 83:
 
|}
 
|}
  
==Wowhead Tooltips==
+
==Uploading Images==
 +
[http://www.picpick.org/en/ PicPick] is a screen capture program that has the ability to grab just a section of the screen, and it includes a basic image editor.
  
This wiki includes JavaScript that modifies links to items, abilities, etc. on the wowhead.com site, so that they have icons and correctly colored text, as well as mouse-over tooltips.
+
Most image content for the site though should be sourced from the game files where possible, to ensure that eg. captures of semi-transparent images don't include the background.  The files comprising the game's User Interface can be extracted using [http://wow.gamepedia.com/Viewing_Blizzard%27s_interface_code this] method, and then a program like [http://www.xnview.com/en/ XnView] can be used to browse the images, which are in .blp format.  [http://www.wowinterface.com/downloads/info6127-BLP2PNG.html blp2png] can then be used to convert them to a format compatible with use on the web.
  
[http://www.wowhead.com/item=25697]
+
Because images on the wiki may be added into pages through template code, their file names should be all lower case, and of a similar form.  Being descriptive in the file name also saves having to fill in the description field when uploading, and makes it easier to find groups of files in the [http://wiki.sewowhelp.info/Special:ListFiles file list].  eg.:
  
[http://www.wowhead.com/item=25697&gems=23121&ench=2647&pcs=25695:25696:25697] (with enchant, gem and pieces for set bonus in the tooltip)
+
* icon class druid.png
 +
* icon trade blacksmithing.png
 +
* icon race orc female.png
 +
* icon dungeon ragefire chasm.png
 +
* icon ability warrior shield slam.png
 +
* screenshot npc auctioneer sowata.png
 +
* screenshot npc bow and rifle vendor kaja.png
 +
* screenshot location booty bay.png -
 +
* map world city azeroth orgrimmar.png - Maps form the main map called up by pressing 'M'.
 +
* map world zone northrend icecrown.png
 +
* map world dungeon ragefire chasm.png
 +
* map mini valley of wisdom.png - minimap scale maps, which may have been stitched together from several images (or extracted from game data and cropped).
  
==Editing Tools==
 
Some tools may be useful for editing or providing image content for the site.
 
  
* For editing large and complex sections of wiki code (such as large tables with many CSS style tags), it can sometimes be easier to copy the code into an editor like [https://notepad-plus-plus.org/ Notepad++] - which provides more advanced features than the in wiki editor, such as find/replace - and then copy the edited code back into the wiki edit box.
+
==Wowhead Tooltips==
* [http://www.picpick.org/en/ PicPick] is a screen grabbing program that has the ability to grab just a section of the screen, and it includes a basic image editor.
+
This wiki includes JavaScript that modifies links to items, abilities, etc. on the wowhead.com site, so that they have icons and correctly colored text, as well as mouse-over tooltipsUse edit or view source on this section to see the code used (it's not posible to provide a text example here without the JavaScript converting it).
* Most image content for the site though should be sourced from the game files where possible, to ensure that eg. captures semi-transparent image do not show a backgroundThe files comprising the game's User Interface can be extracted using [http://wow.gamepedia.com/Viewing_Blizzard%27s_interface_code this] method, and then a program like [http://www.xnview.com/en/ XnView] can be used to browse the images, which are in .blp format.  [http://www.wowinterface.com/downloads/info6127-BLP2PNG.html blp2png] can then be used to convert them to a format compatible with use on the web.
+
 
 +
[http://www.wowhead.com/item=25697]
 +
 
 +
[http://www.wowhead.com/item=25697&gems=23121&ench=2647&pcs=25695:25696:25697] (with enchant, gem and pieces for set bonus in the tooltip)

Latest revision as of 03:43, 3 August 2015

Wiki Editing

The main reference for editing wiki pages can be found here.

It's also worth printing out a copy of the MediaWiki Reference Card, which covers the most commonly used markup (I keep a copy of it under my mouse mat -- Yasueh (talk)).

For editing large and complex sections of wiki code (such as large tables with many CSS style tags), it can sometimes be easier to copy the code into an editor like Notepad++ - which provides more advanced features than the in wiki editor, such as find/replace - and then copy the edited code back into the wiki edit box.

Colors

These are the hexadecimal red/green/blue values for colors used on this site. Some may already have been defined for use in <span> tags at MediaWiki:Common.css

Character Classes

     c41f3b death knight
     ff7d0a druid
     abd473 hunter
     69ccf0 mage
     00ff96 monk
     f58cba paladin
     ffffff priest
     fff569 rogue
     0070de shaman
     9482c9 warlock
     c79c6e warrior
     

Item Qualities

     1eff00 WoW item green
     0070dd WoW item blue
     a335ee WoW item purple
     

Site Colors

     ff9e00 phi orange high
     ff009e phi pink high
     9e00ff phi purple high
     009eff phi blue high
     00ff9e phi aqua high
     9eff00 phi green high
     ff6100 phi orange low
     ff0061 phi pink low
     6100ff phi purple low
     0061ff phi blue low
     00ff61 phi aqua low
     61ff00 phi green low

Uploading Images

PicPick is a screen capture program that has the ability to grab just a section of the screen, and it includes a basic image editor.

Most image content for the site though should be sourced from the game files where possible, to ensure that eg. captures of semi-transparent images don't include the background. The files comprising the game's User Interface can be extracted using this method, and then a program like XnView can be used to browse the images, which are in .blp format. blp2png can then be used to convert them to a format compatible with use on the web.

Because images on the wiki may be added into pages through template code, their file names should be all lower case, and of a similar form. Being descriptive in the file name also saves having to fill in the description field when uploading, and makes it easier to find groups of files in the file list. eg.:

  • icon class druid.png
  • icon trade blacksmithing.png
  • icon race orc female.png
  • icon dungeon ragefire chasm.png
  • icon ability warrior shield slam.png
  • screenshot npc auctioneer sowata.png
  • screenshot npc bow and rifle vendor kaja.png
  • screenshot location booty bay.png -
  • map world city azeroth orgrimmar.png - Maps form the main map called up by pressing 'M'.
  • map world zone northrend icecrown.png
  • map world dungeon ragefire chasm.png
  • map mini valley of wisdom.png - minimap scale maps, which may have been stitched together from several images (or extracted from game data and cropped).


Wowhead Tooltips

This wiki includes JavaScript that modifies links to items, abilities, etc. on the wowhead.com site, so that they have icons and correctly colored text, as well as mouse-over tooltips. Use edit or view source on this section to see the code used (it's not posible to provide a text example here without the JavaScript converting it).

[1]

[2] (with enchant, gem and pieces for set bonus in the tooltip)