Stoneshard wiki:Community portal
Our community of editors is open to anyone. If you would like to join in:
- Registering a free account is required for editing our wiki. It also makes it easier to keep track of your own edits.
- Check out the MediaWiki Help section if you're new to Wiki editing.
- See a list of recent changes.
- Jump right in and start editing. You can start small by fixing spelling, grammar, and other errors you come across.
- Edit and expand pages marked as Stubs. These are pages we have already created that need more information.
- Check out the Wanted Pages. These are pages that don't exist yet, but some other page links to them. You can see how many pages link to a given page name. Pages with many links are the ones that should be created first. Pages with only a single link could be wanted pages too, but they could also be a typo and only need to repair the link.
Helpful things you can do
Images and Files
- Before uploading new images, check out the respective Category:Images or Special:UncategorizedFiles. Chances are that someone has already uploaded the same picture.
- When Uploading images, name the image file based on the image.
For example, an image of Bread , should be named "Bread.png". When uploading image of an item's description, name it "<itemname> description.png", etc.
We use strict File naming scheme, because our Templates rely on using names identical to pagenames. More on that in the #Advanced stuff section.
Categories
- Categorize new images and new pages. Simply add
[[Category:<category name>]]
at the very end of the page.
For example, when I upload a new weapon image, it belongs to Category:Weapon images. A page about a new NPC would belong to Category:NPCs, etc.
Check the Special:Categories for a complete list of categories. Check Category:Stoneshard Wiki to browse the existing hierarchy.
Advanced stuff
Colors and Templates
We adhere to the ingame color palette and use the {{Color}}
template (shortcut: {{C}}
) to colorize texts on the wiki. Below is a table of all current colors from the game and example usage with the Color template. Note that omitting the second argument will result in showing the first argument as the text.
Skills | |
---|---|
|
|
Items | |
|
|
Damage types | |
|
|
Conditions | |
|
|
Misc | |
|
|
How to make Tooltips
We're using Simple Tooltip extension for tooltips. You can add hover to text, some html elements, images, or you can instead add a small icon. The basic syntax looks like this:
{{#tip-text: Hover this text to see the tooltip. | tooltip content }}
Hover this text to see the tooltip.
To add the border to your tooltip, you can use {{Tooltip hover box}}
template, otherwise you get just the white text.
{{#tip-text: Hover this text to see the tooltip. | {{Tooltip hover box|title=tooltip content}} }}
Hover this text to see the tooltip.
Tooltip examples:
Text with custom tooltip on hover
{{#tip-text: Strength | {{Tooltip hover box|title=Strength is good.}} }} Strength |
Text with another page loaded into tooltip
{{#tip-text: Strength | {{:Strength}} }} Strength |
Colored Text with another page loaded into tooltip
{{C|Light Brown|{{#tip-text: Strength | {{:Strength}} }} }} Strength |
Link with another page loaded into tooltip
[[Strength|{{#tip-text: Strength | {{:Strength}} }}]] |
Colored link with another page loaded into tooltip
{{cl|Light Brown|Strength|{{#tip-text: Strength | {{:Strength}} }} }} |
Using blue "?" icon as the hoverable object
anything {{#tip-info: {{Tooltip hover box|title=tooltip content}} }} anything |
Using image as the hoverable object
{{#tip-img: {{filepath:Runic Boulder.png}} | {{Tooltip hover box|title=Runic Boulder is good.}} }}
|
Using image as the hoverable object and loading a Template into the tooltip
{{#tip-img: {{filepath:Runic Boulder.png}} | {{Tooltip hover box|title= {{Skill|Runic Boulder|tooltip=1}} }} }}
|
Data Structures
Properties of Items, Conditions and other things are stored in the Data pages. The data is written as parameters of a single #Switch
ParserFunction (see Help:Extension:ParserFunctions for more info). This allows them to be easily loaded to any page via templates.
Please refer to the documentation of these templates for usage and examples:
- Template:Armor
- Template:Book
- Template:Consumable
- Template:Condition
- Template:Enemy
- Template:Friendly
- Template:Playable
- Template:Skill
- Template:Valuable
- Template:Weapon
Some of these templates are using the "old way" and load their data from item page instead of the Data pages. The plan is to change them to load everything from the Data pages.
Additionally, Containers also use the data structure, but they are very outdated and there isn't a special template that uses them.
Container |
---|
<includeonly>{{#switch: {{{1}}} |Loot = Plague Doctor Mask, Brynn Vermouth, Mannshire Fortified, Brandy, Lockpicks, Repair Kit, Crowbar, Surgeon's Kit, Horsetail, etc... |Treatise = Sword Treatise I, Sword Treatise II, Sword Treatise III, Axe Treatise I, Axe Treatise II, Axe Treatise III, Mace Treatise I, etc... |#default = }}</includeonly> |
ImageMaps
Using the ImageMap extension, you can create images that link to multiple different pages, as opposed to the default single link for the whole image. Usage:
- Image comes in the same format as default wiki images, but without the enclosing [[ ]] brackets.
- The link positions are selected by entering parameters. These parameters translate into X and Y values of certain points of the image:
- X position is calculated as distance in pixels from the left edge of the image.
- Y position is calculated as distance in pixels from the top edge of the image.
- Important: The positions are calculated from the full size image, not from the size of the image displayed on a wiki page.
- Finally, the amount of parameters required changes depending on the shape used:
- default - gives the default link, ie. a single link for the whole image.
- circle - gives a circular area, requires 3 parameters: first and second are X and Y coordinates of the center, and third is the radius.
- rect - gives a rectangular area, requires 4 parameters: first and second are X and Y coordinates of top-left corner, third and fourth are X and Y coordinates of the bottom-right corner.
- poly - gives a polygon, any amount of parameters can be provided.
- desc - adds a blue "i" icon to the image. Possible values: top-right, bottom-right (default), bottom-left, top-left, none. Doesn't work if image uses frame and thumb parameters.
- Example param usage:
default [[Blade Maintenance]] circle 50 50 10 [[Blade Maintenance]] rect 50 50 150 150 [[Blade Maintenance]] poly 10 10 20 10 20 20 30 20 30 30 10 30 [[Blade Maintenance]] desc none
Using the Swords_skilltree.png image, we will make the first two top icons into links. This code:
<imagemap> File:Swords_skilltree.png|338px|Swords skill tree rect 382 176 558 352 [[Cleaving Strike]] rect 108 176 284 352 [[Blade Maintenance]] desc top-right </imagemap>
Produces this result: <imagemap> File:Swords_skilltree.png|338px|Swords skill tree rect 382 176 558 352 Cleaving Strike rect 108 176 284 352 Blade Maintenance desc top-right </imagemap>
Wiki Translation
Stoneshard Wiki is primarily available in English. However, we do support translating the wiki to other languages. If you are willing to translate the wiki to another language, you should let the admins know. Translating a whole wiki is no easy task, so be prepared that it will take you some time.
Translating pages with text
You should start with the links you can see on the main page. Create a new page of the same name, but with a subpage for your language. For example, if you wanted to translate the page Factions to Czech language, you would create Factions/cz and translate all the text on that page.
If the page uses any Templates or other wikitext, don't translate those. Admins will tell you more about that after they prepare the templates for your language.