Difference between revisions of "Stoneshard wiki:Community portal"

From Stoneshard wiki
Jump to navigation Jump to search
m
(Rewritten Data Structures section, now named Editing Items, Enemies, Skills, etc.)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
<div style="text-align:center;font-size: 24px;">{{SITENAME}} is a '''community project''' run entirely by volunteers to provide information about Stoneshard.</div>
<div style="text-align:center;font-size: 24px;">{{SITENAME}} is a '''community project''' run entirely by volunteers to provide information about Stoneshard.</div>


==Our community of editors is open to anyone!==
==Our community is open to anyone!==
<div id="admins" class="feature" style="width: 40%;float: right;">
<div id="admins" class="feature" style="width: 40%;float: right;">
{{Admins}}
{{Admins}}
Line 11: Line 11:
*[[Special:CreateAccount|Registering a free account]] is required for editing our wiki. It also makes it easier to keep track of your own edits.
*[[Special:CreateAccount|Registering a free account]] is required for editing our wiki. It also makes it easier to keep track of your own edits.
*Learn the basics about wiki editing: [https://www.mediawiki.org/wiki/Help:Editing MediaWiki Help section]
*Learn the basics about wiki editing: [https://www.mediawiki.org/wiki/Help:Editing MediaWiki Help section]
*Check out the [[Stoneshard_wiki:Community_portal#Wiki_progress_overview|Wiki progress overview]] to see where help is needed.
*Check out the pages marked as [[:Category:Stubs|Stubs]]. These are pages we have already created that are missing some information and can be improved.
*Alternatively, check out the pages marked as [[:Category:Stubs|Stubs]]. These are pages we have already created that are missing some information and can be improved.
*Check out the [[:Special:WantedPages|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.
*Check out the [[:Special:WantedPages|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.
*If you have questions or simply want to talk to other editors and players, feel free to join us at the [https://discord.gg/stoneshard Stoneshard Discord]!
*If you have questions or simply want to talk to other editors and players, feel free to join us at the [https://discord.gg/stoneshard Stoneshard Discord]!




===Images and Files===
==Write pages==
* When [[:Special:Upload|Uploading]] new images, sort them by using their respective Category, or at least the general [[:Category:Images]].
Write new articles and edit existing articles by adding useful information.
* Try to always name the image file with the same name as the item it is for. For example, an image of Bread [[File:Bread.png]], should be named "Bread.png".<br>
 
===Creating new pages===
* Anytime you see a '''red link''' on a wiki, it points to a page or image that doesn't exist yet. Click it to begin creating that page.
* You can start a new page from the Search bar. If it doesn't find an exact match, there will be a red link.
* You can also type the URL directly into your browser, like this: <code><nowiki>https://stoneshard.com/wiki/Your_page_name</nowiki></code>
 
===Editing with visual editor===
* Find the page you want to edit and click the '''Edit''' button.
* Visual editor is useful for writing texts and basic formatting, for example adding loot lists to [[Enemies]], writing lore snippets, etc.
 
===Editing with source editor===
* Find the page you want to edit and click the '''Edit source''' button.
* If you have disabled the visual editor in your [[Special:Preferences#mw-prefsection-editing|Preferences]], the '''Edit''' button will instead bring you to the source editor.
* Source editor is much more powerful, but doing formatting and many other advanced edits requires knowledge of [https://www.mediawiki.org/wiki/Wikitext Wikitext].
 
If you want to edit Item tooltips, Enemy attributes, Skill formulas, etc., look here [[#Editing_Items,_Enemies,_Skills_etc.]]
 
==Upload images==
Help by uploading relevant images to the wiki.
 
===How to upload new images===
* Use the [[:Special:Upload|Uploading]] page.
* Try to select proper licensing using the dropdown. The most common option is "Licensing: This is from the game, or its official website".
* Try to always name the image file with the same name as the thing it represents. For example, an image of Bread [[File:Bread.png]], should be named "Bread.png".<br>
This strict File naming scheme is required for our Templates to function properly.
This strict File naming scheme is required for our Templates to function properly.


===How to replace an existing file===
* Find the current file by typing "File:" into the search box.
* For example, typing <code>File:Bread</code> will give you a suggestion for [[:File:Bread.png]].
* Below the file history, there will be a link "Upload a new version of this file", click it.
* Due to caching, it might take a while before you see the new image. You can use CTRL+F5 shortcut in most browsers to force-reload the cache.
==Categorize pages==
Help sort the wiki by categorizing the images and pages.
Click edit source on a page, then add <code><nowiki>[[Category:<category name>]]</nowiki></code> at the very end of a page to categorize it.
===How to add Category to images===
* Add a Category by writing <code><nowiki>[[Category:Category name]]</nowiki></code> on the upload page.
* To add a Category to an existing image, go to file page, for example [[:File:Bread.png]] then click edit source.
* Try to sort them by using their respective Category, ie. Bread is <code><nowiki>[[Category:Food images]]</nowiki></code>.
* Put [[:Category:Images]] if you're unsure where it belongs.
You can check the [[Special:Categories]] for a complete list of categories. Check [[:Category:Stoneshard Wiki]] to browse the existing hierarchy.
==Advanced stuff==
===Skill images format===
* Skill image sprites are extracted from the game files as 25x24 with no border.
* Use an image editor to upscale the sprites to 2x, make sure no interpolation is selected (to preserve pixel color)
* Then add the skill icon border. You can use this [[:File:Skill_locked.png]] as a template.
===Colored text and links===
We adhere to the ingame color palette and use the {{tl|Color}} template (shortcut: {{tl|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.
{| class="stoneshard" style="margin: auto;"
! colspan="2" | Skills
|-
|
* <span style="color:#f6bb15;">#f6bb15</span> should be the orange-yellow-ish Passive Bonus.
* <span style="color:#78d199;">#78d199</span> should be the light-green bonus like -5% Cooldown Reduction on skills.
* <span style="color:#0ed78e;">#0ed78e</span> is the more profound light-green in "Active" skill type.
* <span style="color:#a3b719;">#a3b719</span> lime color in "Passive" skill type.
* <span style="color:#ffffff;">#ffffff</span> for the amount of turns that a stance/effect lasts.
* <span style="color:#9d9a9a;">#9d9a9a</span> gray for skill description.
* <span style="color:#71725e;">#71725e</span> for weapon type requirements
* <span style="color:#9e1b31;">#9e1b31</span> should be red for negative bonuses from skills and conditions
* <span style="color:#21b7ec;">#21b7ec</span> energy burn or Energy/Max Energy replenish skills
|
* '''<nowiki>{{C|Orange|Passive Bonus}}</nowiki>''' appears as {{Color|Orange|Passive Bonus}}
* '''<nowiki>{{C|+|+10%}}</nowiki>''' appears as {{Color|+|+10%}}
* '''<nowiki>{{C|Active|Active}}</nowiki>''' appears as {{Color|Active|Active}}
* '''<nowiki>{{C|Passive|Passive}}</nowiki>''' appears as {{Color|Passive|Passive}}
* '''<nowiki>{{C|White|Text}}</nowiki>''' appears as {{Color|White|Text}}
* '''<nowiki>{{C|Gray|Text}}</nowiki>''' appears as {{Color|Gray|Text}}
* '''<nowiki>{{C|Req|- requires Swords}}</nowiki>''' appears as {{Color|Req|- requires Swords}}
* '''<nowiki>{{C|-|-5%}}</nowiki>''' appears as {{Color|-|-5%}}
* '''<nowiki>{{C|Energy|+20}}</nowiki>''' appears as {{Color|Energy|+20}}
|-
! colspan="2" | Items
|-
|
* <span style="color:#c75c5d;">#c75c5d</span> is the brighter red for negative bonuses on items
* <span style="color:#824858;">#824858</span> is cursed red for cursed items
* <span style="color:#27b1ea;">#27b1ea</span> is blue for random enchantment bonuses
* <span style="color:#59db4c;">#59db4c</span> light green for Uncommon item names only
* <span style="color:#4c7fff;">#4c7fff</span> is blue for Rare item names only
* <span style="color:#8248bc;">#8248bc</span> is purple for unique item names only
* <span style="color:#ffb72b;">#ffb72b</span> is epic items (not yet in-game)
* <span style="color:#95796a;">#95796a</span> brown for item descriptions
* <span style="color:#d5b292;">#d5b292</span> light brown for keyword highligting
* <span style="color:#0ed78e;">#0ed78e</span> for Potions with positive effects
* <span style="color:#9e1b31;">#9e1b31</span> for Potions with negative effects
|
* '''<nowiki>{{C|Red|Buckler}}</nowiki>''' appears as {{Color|Red|-5% Skills Energy Cost}}
* '''<nowiki>{{C|Cursed|Buckler}}</nowiki>''' appears as {{Color|Cursed|Buckler}}
* '''<nowiki>{{C|Ench|+2% Block Chance}}</nowiki>''' appears as {{Color|Ench|+2% Block Chance}}
* '''<nowiki>{{C|Uncommon|Buckler}}</nowiki>''' appears as {{Color|Uncommon|Buckler}}
* '''<nowiki>{{C|Rare|Buckler}}</nowiki>''' appears as {{Color|Rare|Buckler}}
* '''<nowiki>{{C|Unique|Buckler}}</nowiki>''' appears as {{Color|Unique|Buckler}}
* '''<nowiki>{{C|Epic|Buckler}}</nowiki>''' appears as {{Color|Epic|Buckler}}
* '''<nowiki>{{C|Brown|An epic sword.}}</nowiki>''' appears as {{Color|Brown|An epic sword.}}
* '''<nowiki>{{C|Light Brown|Agility}}</nowiki>''' appears as {{Color|Light Brown|Agility}}
* '''<nowiki>{{C|Flawless|Potion of Antivenom}}</nowiki>''' appears as {{Color|Flawless|Potion of Antivenom}}
* '''<nowiki>{{C|-|Potion of Poison}}</nowiki>''' appears as {{Color|-|Potion of Poison}}
|-
! colspan="2" | Damage types
|-
|
* <span style="color:#f28d31;">#f28d31</span> Fire damage / burning effect
* <span style="color:#9872ec;">#9872ec</span> Arcane damage
* <span style="color:#fff6b5;">#fff6b5</span> Sacred damage
* <span style="color:#fff6b5;">#fff6b5</span> Shock damage
* <span style="color:#ec4d49;">#ec4d49</span> Unholy damage
* <span style="color:#58af13;">#58af13</span> Poison damage
* <span style="color:#0ed78e;">#0ed78e</span> Caustic damage
* <span style="color:#504aea;">#504aea</span> Psionic damage
* <span style="color:#73c0de;">#73c0de</span> Frost damage
|
* '''<nowiki>{{C|Fire|10}}</nowiki>''' appears as {{Color|Fire|10}}<br>
* '''<nowiki>{{C|Arcane|10}}</nowiki>''' appears as {{Color|Arcane|10}}<br>
* '''<nowiki>{{C|Sacred|10}}</nowiki>''' appears as {{Color|Sacred|10}}<br>
* '''<nowiki>{{C|Shock|10}}</nowiki>''' appears as {{Color|Shock|10}}<br>
* '''<nowiki>{{C|Unholy|10}}</nowiki>''' appears as {{Color|Unholy|10}}<br>
* '''<nowiki>{{C|Poison|10}}</nowiki>''' appears as {{Color|Poison|10}}<br>
* '''<nowiki>{{C|Caustic|10}}</nowiki>''' appears as {{Color|Caustic|10}}<br>
* '''<nowiki>{{C|Psionic|10}}</nowiki>''' appears as {{Color|Psionic|10}}<br>
* '''<nowiki>{{C|Frost|10}}</nowiki>''' appears as {{Color|Frost|10}}<br>
|-
! colspan="2" | Conditions
|-
|
* <span style="color:#0ed78e;">#0ed78e</span> conditions labelled State
* <span style="color:#9e1b31;">#9e1b31</span> conditions labelled Physical
* <span style="color:#27b1ea;">#27b1ea</span> conditions labelled Condition
* <span style="color:#27b1ea;">#27b1ea</span> conditions labelled Mental
* <span style="color:#4c7fff;">#4c7fff</span> conditions labelled Magical
|
* '''<nowiki>{{C|State}}</nowiki>''' appears as {{Color|State}}<br>
* '''<nowiki>{{C|Physical}}</nowiki>''' appears as {{Color|Physical}}<br>
* '''<nowiki>{{C|Condition}}</nowiki>''' appears as {{Color|Condition}}<br>
* '''<nowiki>{{C|Mental}}</nowiki>''' appears as {{Color|Mental}}<br>
* '''<nowiki>{{C|Magical}}</nowiki>''' appears as {{Color|Magical}}<br>
|-
! colspan="2" | Misc
|-
|
* <span style="color:#f28d31;">#f28d31</span> unique trait
|
* '''<nowiki>{{C|Unique Trait}}</nowiki>''' appears as {{Color|Unique Trait}}<br>
|}
===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:
<nowiki>{{#tip-text: Hover this text to see the tooltip. | tooltip content }}</nowiki>
{{#tip-text: Hover this text to see the tooltip. | tooltip content }}
To add the border to your tooltip, you can use {{tl|Tooltip hover box}} template, otherwise you get just the white text.
<nowiki>{{#tip-text: Hover this text to see the tooltip. | {{Tooltip hover box|title=tooltip content}} }}</nowiki>
{{#tip-text: Hover this text to see the tooltip. | {{Tooltip hover box|title=tooltip content}} }}
Tooltip examples:
{| class="stoneshard" style="text-align: center;margin: auto;"
|'''Text with custom tooltip on hover'''
<nowiki>{{#tip-text: Strength | {{Tooltip hover box|title=Strength is good.}} }}</nowiki>
{{#tip-text: Strength | {{Tooltip hover box|title=Strength is good.}} }}
|'''Text with another page loaded into tooltip'''
<nowiki>{{#tip-text: Strength | {{:Strength}} }}</nowiki>
{{#tip-text: Strength | {{:Strength}} }}
|-
|'''Colored Text with another page loaded into tooltip'''
<nowiki>{{C|Light Brown|{{#tip-text: Strength | {{:Strength}} }} }}</nowiki>
{{C|Light Brown|{{#tip-text: Strength | {{:Strength}} }} }}
|'''Link with another page loaded into tooltip'''
<nowiki>[[Strength|{{#tip-text: Strength | {{:Strength}} }}]]</nowiki>
[[Strength|{{#tip-text: Strength | {{:Strength}} }}]]
|-
|'''Colored link with another page loaded into tooltip'''
<nowiki>{{cl|Light Brown|Strength|{{#tip-text: Strength | {{:Strength}} }} }}</nowiki>
{{cl|Light Brown|Strength|{{#tip-text: Strength | {{:Strength}} }} }}
|'''Using blue "?" icon as the hoverable object'''
<nowiki>anything {{#tip-info: {{Tooltip hover box|title=tooltip content}} }}</nowiki>
anything {{#tip-info: {{Tooltip hover box|title=tooltip content}} }}
|-
|'''Using image as the hoverable object'''
<nowiki>{{#tip-img: {{filepath:Runic Boulder.png}} | {{Tooltip hover box|title=Runic Boulder is good.}} }}</nowiki>
{{#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'''
<nowiki>{{#tip-img: {{filepath:Runic Boulder.png}} | {{Tooltip hover box|title= {{Skill|Runic Boulder|tooltip=1}} }} }}</nowiki>
{{#tip-img: {{filepath:Runic Boulder.png}} | {{Tooltip hover box|title= {{Skill|Runic Boulder|tooltip=1}} }} }}
|}
===Editing Items, Enemies, Skills etc.===
Pages with Weapons, Armor, Jewelry and other Items, as well as pages of Enemies, Skills, Consumables, etc. all use [https://www.mediawiki.org/wiki/Help:Templates Templates] that ensure uniformity of output across pages.
* Templates cannot be edited with Visual Editor. If you wish to edit them, Source Editor is required.
* Any changes made to the Template will automatically apply to all pages where the Template is used.
Templates use various attributes like Weapon damage and stats, Skill energy cost, Enemy Resistances, etc. These attributes can be found in the [[Data]] pages.
Data is written as either a list of parameters and values (Datalist), or as one long string of comma-delimited values (Datastring). Both the Datalists and Datastrings are saved as a parameter of a single <code>#Switch</code> ParserFunction (see [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##switch Help:Extension:ParserFunctions] for more info).
* Attributes in Datalists were used since the early wiki days, these are always maintained manually.
* Attributes in Datastrings are updated in bulk when a new patch comes out by the wiki admin. The process involves extracting data from the game files, applying edits and corrections, then converting the format to wikitext and importing it to the wiki. This is done with the help of a custom written Google Sheet (often referred to as Parser) used by the wiki admin.
* If you find an error like missing attribute on an item or incorrect stats for an enemy, feel free to correct it, but please let us know in the wiki channel on official Stoneshard [https://discord.gg/stoneshard Discord] or via the talk pages, so that we can correct the problem in the Parser too.
Documentation for our Templates and examples of use can be found on the Template pages.
{| class="stoneshard cell-hover" style="text-align: center;margin: auto;width: 1200px;"
! colspan=4 style="font-size: 20px;" | Characters, NPCs and Enemies
|-
! style="font-size: 20px;" | '''What are you editing?'''
! style="font-size: 20px;" | '''Which Template should you use?'''
! style="font-size: 20px;" | '''Where are attributes stored?'''
! style="font-size: 20px;" | '''Are attributes updated with Parser?'''
|-
| [[Characters|Playable Character]]
| [[Template:Playable]]
| Datalist in page, e.g. [[Jorgrim]]
| not required
|-
| [[NPCs]]
| [[Template:Friendly]]
| [[Friendly data]]
| '''{{c|-|No}}'''
|-
| [[Enemies]]
| [[Template:Enemy]]
| [[Enemy data]]
| '''{{c|+|Yes}}'''
|-
! colspan=4 style="font-size: 20px;" | Gear
|-
! style="font-size: 20px;" | '''What are you editing?'''
! style="font-size: 20px;" | '''Which Template should you use?'''
! style="font-size: 20px;" | '''Where are attributes stored?'''
! style="font-size: 20px;" | '''Are attributes updated with Parser?'''
|-
| '''Armor''' item page, like<br>{{cl|unique|Der Vyrne Heirloom Cuirass}}
| [[Template:Armor]]
| [[Armor data]]
| '''{{c|+|Yes}}'''
|-
| [[Armor]] table
| [[Template:ArmorTable/head]]<br>[[Template:ArmorTable/row]]
| [[Armor data]]
| '''{{c|+|Yes}}'''
|-
| Artifact item page
| [[Template:Valuable]]
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| [[Artifacts]] table
| manual
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| [[Books & Notes]]
| [[Template:Book]]
| [[Book data]]
| '''{{c|+|Yes}}'''
|-
| '''Jewelry''' item page, like<br>{{cl|unique|Jorgrim's Pendant}}
| [[Template:Armor]]
| [[Armor data]]
| '''{{c|+|Yes}}'''
|-
| [[Jewelry]] table
| [[Template:ArmorTable/head]]<br>[[Template:ArmorTable/row]]
| [[Armor data]]
| '''{{c|+|Yes}}'''
|-
| Loot page, like [[Diamond]]
| [[Template:Valuable]]
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| [[Loot]] table
| [[Template:ConsumableTable/head]]<br>[[Template:ConsumableTable/row]]
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| [[Treatises]]
| [[Template:Book]]
| [[Book data]]
| '''{{c|+|Yes}}'''
|-
| Quest Item page, like [[Heraldic Note]]
| [[Template:Valuable]]
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| [[Quest Items]] table
| manual
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| '''Weapon''' item like<br>{{cl|unique|Arna's Sword}}
| [[Template:Weapon]]
| [[Weapon data]]
| '''{{c|+|Yes}}'''
|-
| [[Weapons]] table
| [[Template:WeaponTable/head]]<br>[[Template:WeaponTable/row]]
| [[Weapon data]]
| '''{{c|+|Yes}}'''
|-
! colspan=4 style="font-size: 20px;" | Skills
|-
! style="font-size: 20px;" | '''What are you editing?'''
! style="font-size: 20px;" | '''Which Template should you use?'''
! style="font-size: 20px;" | '''Where are attributes stored?'''
! style="font-size: 20px;" | '''Are attributes updated with Parser?'''
|-
| Skill page, like [[Fire Barrage]]
| [[Template:Skill]]
| [[Skill data]]
| '''{{c|-|No}}'''
|-
| [[Skill]] table in Enemy pages, like [[Madman]]
| [[Template:SkillTable/head]]<br>[[Template:SkillTable/row]]
| [[Skill data]]
| '''{{c|-|No}}'''
|-
! colspan=4 style="font-size: 20px;" | Consumables
|-
! style="font-size: 20px;" | '''What are you editing?'''
! style="font-size: 20px;" | '''Which Template should you use?'''
! style="font-size: 20px;" | '''Where are attributes stored?'''
! style="font-size: 20px;" | '''Are attributes updated with Parser?'''
|-
| [[Ammunition]] item
| [[Template:Consumable]]
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| Beverage item page, like [[Waterskin]]
| [[Template:Consumable]]
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| [[Beverages]] table
| [[Template:ConsumableTable/head]]<br>[[Template:ConsumableTable/row]]
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| Drug item page, like [[Al'qud]]
| [[Template:Consumable]]
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| [[Drugs]] table
| manual
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| Food item page, like [[Bread]]
| [[Template:Consumable]]
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| [[Food]] table
| manual
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| Ingredient item page, like [[Agrimony]]
| [[Template:Consumable]]
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| [[Ingredients]] table
| [[Template:ConsumableTable/head]]<br>[[Template:ConsumableTable/row]]
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| Medicine item page, like [[Bandage]]
| [[Template:Consumable]]
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| [[Medicine]] table
| [[Template:ConsumableTable/head]]<br>[[Template:ConsumableTable/row]]
| Datalist in page
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| Tools & Traps item page, like [[Crowbar]]
|
[[Template:Weapon]] for Chain, Lute, Broom, Pickaxe and Sickle<br>
[[Template:Consumable]] for everything else
|
[[Weapon data]] for Chain, Lute, Broom, Pickaxe and Sickle<br>
the rest is in the Datalists in pages.<br>
[[Consumable data]] is '''{{c|Magical|Work in Progress}}'''
| '''{{c|Magical|Work in Progress}}'''
|-
| [[Tools & Traps]] table
| manual
| manual
| '''{{c|-|No}}'''
|-
! colspan=4 style="font-size: 20px;" | Other data
|-
! style="font-size: 20px;" | '''What are you editing?'''
! style="font-size: 20px;" | '''Which Template should you use?'''
! style="font-size: 20px;" | '''Where are attributes stored?'''
! style="font-size: 20px;" | '''Are attributes updated with Parser?'''
|-
| [[Status Effects]] page, like [[Optimism]]
| [[Template:Condition]]
| Datalist in page
| '''{{c|-|No}}'''
|-
| [[Containers]] page
| manual
| Datalist in page
| '''{{c|-|No}}'''
|}
===Tabs===
Using the TabberNeue extension, you can create tabs that display different content in each Tab. For example:
Simple tabber example:
<nowiki><tabber>
|-|Early game shield=
{{Armor|Board Shield}}
|-|Mid game shield=
{{Armor|Buckler}}
|-|Late game shield=
{{Armor|Orient Shield}}
</tabber></nowiki>
<tabber>
|-|Early game shield=
{{Armor|Board Shield}}
|-|Mid game shield=
{{Armor|Buckler}}
|-|Late game shield=
{{Armor|Orient Shield}}
</tabber>
Nested tabber example:
<nowiki><tabber>
|-| Archer variants =
{{#tag:tabber
| Skeleton Archer (Ranged) = {{Enemy|Skeleton Archer}}
{{!}}-{{!}} Skeleton Archer (Melee) = {{Enemy|Skeleton Archer (Melee)}}
}}
|-| Marksman variants =
{{#tag:tabber
| Skeleton Bowman (Ranged) = {{Enemy|Skeleton Bowman}}
{{!}}-{{!}} Skeleton Bowman (Melee) = {{Enemy|Skeleton Bowman (Melee)}}
}}
|-| Crossbowman variants =
{{#tag:tabber
| Skeleton Crossbowman (Ranged) = {{Enemy|Skeleton Crossbowman}}
{{!}}-{{!}} Skeleton Crossbowman (Melee) = {{Enemy|Skeleton Crossbowman (Melee)}}
}}
</tabber></nowiki>
<tabber>
|-| Archer variants =
{{#tag:tabber
| Skeleton Archer (Ranged) = {{Enemy|Skeleton Archer}}
{{!}}-{{!}} Skeleton Archer (Melee) = {{Enemy|Skeleton Archer (Melee)}}
}}
|-| Marksman variants =
{{#tag:tabber
| Skeleton Bowman (Ranged) = {{Enemy|Skeleton Bowman}}
{{!}}-{{!}} Skeleton Bowman (Melee) = {{Enemy|Skeleton Bowman (Melee)}}
}}
|-| Crossbowman variants =
{{#tag:tabber
| Skeleton Crossbowman (Ranged) = {{Enemy|Skeleton Crossbowman}}
{{!}}-{{!}} Skeleton Crossbowman (Melee) = {{Enemy|Skeleton Crossbowman (Melee)}}
}}
</tabber>
===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 <nowiki>[[ ]]</nowiki> 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:
<nowiki>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</nowiki>
Using the Swords_skilltree.png image, we will make the first two top icons into links. This code:
<nowiki><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></nowiki>
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 [[Stoneshard_Wiki:Admin_noticeboard|let the admins know]]. Translating a whole wiki is no easy task, so be prepared that it will take you some time.


===Categories===
* Help sort the wiki by categorizing the images and pages. Simply add <code><nowiki>[[Category:<category name>]]</nowiki></code> at the very end of a page to categorize it.<br>
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.
=== 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.




Line 320: Line 862:
</div><!--END Flex container-->
</div><!--END Flex container-->
{{-}}
{{-}}
==Advanced stuff==
===Colors and Templates===
We adhere to the ingame color palette and use the {{tl|Color}} template (shortcut: {{tl|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.
{| class="stoneshard" style="margin: auto;"
! colspan="2" | Skills
|-
|
* <span style="color:#f6bb15;">#f6bb15</span> should be the orange-yellow-ish Passive Bonus.
* <span style="color:#78d199;">#78d199</span> should be the light-green bonus like -5% Cooldown Reduction on skills.
* <span style="color:#0ed78e;">#0ed78e</span> is the more profound light-green in "Active" skill type.
* <span style="color:#a3b719;">#a3b719</span> lime color in "Passive" skill type.
* <span style="color:#ffffff;">#ffffff</span> for the amount of turns that a stance/effect lasts.
* <span style="color:#9d9a9a;">#9d9a9a</span> gray for skill description.
* <span style="color:#71725e;">#71725e</span> for weapon type requirements
* <span style="color:#9e1b31;">#9e1b31</span> should be red for negative bonuses from skills and conditions
* <span style="color:#21b7ec;">#21b7ec</span> energy burn or Energy/Max Energy replenish skills
|
* '''<nowiki>{{C|Orange|Passive Bonus}}</nowiki>''' appears as {{Color|Orange|Passive Bonus}}
* '''<nowiki>{{C|+|+10%}}</nowiki>''' appears as {{Color|+|+10%}}
* '''<nowiki>{{C|Active|Active}}</nowiki>''' appears as {{Color|Active|Active}}
* '''<nowiki>{{C|Passive|Passive}}</nowiki>''' appears as {{Color|Passive|Passive}}
* '''<nowiki>{{C|White|Text}}</nowiki>''' appears as {{Color|White|Text}}
* '''<nowiki>{{C|Gray|Text}}</nowiki>''' appears as {{Color|Gray|Text}}
* '''<nowiki>{{C|Req|- requires Swords}}</nowiki>''' appears as {{Color|Req|- requires Swords}}
* '''<nowiki>{{C|-|-5%}}</nowiki>''' appears as {{Color|-|-5%}}
* '''<nowiki>{{C|Energy|+20}}</nowiki>''' appears as {{Color|Energy|+20}}
|-
! colspan="2" | Items
|-
|
* <span style="color:#c75c5d;">#c75c5d</span> is the brighter red for negative bonuses on items
* <span style="color:#824858;">#824858</span> is cursed red for cursed items
* <span style="color:#27b1ea;">#27b1ea</span> is blue for random enchantment bonuses
* <span style="color:#59db4c;">#59db4c</span> light green for Uncommon item names only
* <span style="color:#4c7fff;">#4c7fff</span> is blue for Rare item names only
* <span style="color:#8248bc;">#8248bc</span> is purple for unique item names only
* <span style="color:#ffb72b;">#ffb72b</span> is epic items (not yet in-game)
* <span style="color:#95796a;">#95796a</span> brown for item descriptions
* <span style="color:#d5b292;">#d5b292</span> light brown for keyword highligting
* <span style="color:#0ed78e;">#0ed78e</span> for Potions with positive effects
* <span style="color:#9e1b31;">#9e1b31</span> for Potions with negative effects
|
* '''<nowiki>{{C|Red|Buckler}}</nowiki>''' appears as {{Color|Red|-5% Skills Energy Cost}}
* '''<nowiki>{{C|Cursed|Buckler}}</nowiki>''' appears as {{Color|Cursed|Buckler}}
* '''<nowiki>{{C|Ench|+2% Block Chance}}</nowiki>''' appears as {{Color|Ench|+2% Block Chance}}
* '''<nowiki>{{C|Uncommon|Buckler}}</nowiki>''' appears as {{Color|Uncommon|Buckler}}
* '''<nowiki>{{C|Rare|Buckler}}</nowiki>''' appears as {{Color|Rare|Buckler}}
* '''<nowiki>{{C|Unique|Buckler}}</nowiki>''' appears as {{Color|Unique|Buckler}}
* '''<nowiki>{{C|Epic|Buckler}}</nowiki>''' appears as {{Color|Epic|Buckler}}
* '''<nowiki>{{C|Brown|An epic sword.}}</nowiki>''' appears as {{Color|Brown|An epic sword.}}
* '''<nowiki>{{C|Light Brown|Agility}}</nowiki>''' appears as {{Color|Light Brown|Agility}}
* '''<nowiki>{{C|Flawless|Potion of Antivenom}}</nowiki>''' appears as {{Color|Flawless|Potion of Antivenom}}
* '''<nowiki>{{C|-|Potion of Poison}}</nowiki>''' appears as {{Color|-|Potion of Poison}}
|-
! colspan="2" | Damage types
|-
|
* <span style="color:#f28d31;">#f28d31</span> Fire damage / burning effect
* <span style="color:#9872ec;">#9872ec</span> Arcane damage
* <span style="color:#fff6b5;">#fff6b5</span> Sacred damage
* <span style="color:#fff6b5;">#fff6b5</span> Shock damage
* <span style="color:#ec4d49;">#ec4d49</span> Unholy damage
* <span style="color:#58af13;">#58af13</span> Poison damage
* <span style="color:#0ed78e;">#0ed78e</span> Caustic damage
* <span style="color:#504aea;">#504aea</span> Psionic damage
* <span style="color:#73c0de;">#73c0de</span> Frost damage
|
* '''<nowiki>{{C|Fire|10}}</nowiki>''' appears as {{Color|Fire|10}}<br>
* '''<nowiki>{{C|Arcane|10}}</nowiki>''' appears as {{Color|Arcane|10}}<br>
* '''<nowiki>{{C|Sacred|10}}</nowiki>''' appears as {{Color|Sacred|10}}<br>
* '''<nowiki>{{C|Shock|10}}</nowiki>''' appears as {{Color|Shock|10}}<br>
* '''<nowiki>{{C|Unholy|10}}</nowiki>''' appears as {{Color|Unholy|10}}<br>
* '''<nowiki>{{C|Poison|10}}</nowiki>''' appears as {{Color|Poison|10}}<br>
* '''<nowiki>{{C|Caustic|10}}</nowiki>''' appears as {{Color|Caustic|10}}<br>
* '''<nowiki>{{C|Psionic|10}}</nowiki>''' appears as {{Color|Psionic|10}}<br>
* '''<nowiki>{{C|Frost|10}}</nowiki>''' appears as {{Color|Frost|10}}<br>
|-
! colspan="2" | Conditions
|-
|
* <span style="color:#0ed78e;">#0ed78e</span> conditions labelled State
* <span style="color:#9e1b31;">#9e1b31</span> conditions labelled Physical
* <span style="color:#27b1ea;">#27b1ea</span> conditions labelled Condition
* <span style="color:#27b1ea;">#27b1ea</span> conditions labelled Mental
* <span style="color:#4c7fff;">#4c7fff</span> conditions labelled Magical
|
* '''<nowiki>{{C|State}}</nowiki>''' appears as {{Color|State}}<br>
* '''<nowiki>{{C|Physical}}</nowiki>''' appears as {{Color|Physical}}<br>
* '''<nowiki>{{C|Condition}}</nowiki>''' appears as {{Color|Condition}}<br>
* '''<nowiki>{{C|Mental}}</nowiki>''' appears as {{Color|Mental}}<br>
* '''<nowiki>{{C|Magical}}</nowiki>''' appears as {{Color|Magical}}<br>
|-
! colspan="2" | Misc
|-
|
* <span style="color:#f28d31;">#f28d31</span> unique trait
|
* '''<nowiki>{{C|Unique Trait}}</nowiki>''' appears as {{Color|Unique Trait}}<br>
|}
===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:
<nowiki>{{#tip-text: Hover this text to see the tooltip. | tooltip content }}</nowiki>
{{#tip-text: Hover this text to see the tooltip. | tooltip content }}
To add the border to your tooltip, you can use {{tl|Tooltip hover box}} template, otherwise you get just the white text.
<nowiki>{{#tip-text: Hover this text to see the tooltip. | {{Tooltip hover box|title=tooltip content}} }}</nowiki>
{{#tip-text: Hover this text to see the tooltip. | {{Tooltip hover box|title=tooltip content}} }}
Tooltip examples:
{| class="stoneshard" style="text-align: center;margin: auto;"
|'''Text with custom tooltip on hover'''
<nowiki>{{#tip-text: Strength | {{Tooltip hover box|title=Strength is good.}} }}</nowiki>
{{#tip-text: Strength | {{Tooltip hover box|title=Strength is good.}} }}
|'''Text with another page loaded into tooltip'''
<nowiki>{{#tip-text: Strength | {{:Strength}} }}</nowiki>
{{#tip-text: Strength | {{:Strength}} }}
|-
|'''Colored Text with another page loaded into tooltip'''
<nowiki>{{C|Light Brown|{{#tip-text: Strength | {{:Strength}} }} }}</nowiki>
{{C|Light Brown|{{#tip-text: Strength | {{:Strength}} }} }}
|'''Link with another page loaded into tooltip'''
<nowiki>[[Strength|{{#tip-text: Strength | {{:Strength}} }}]]</nowiki>
[[Strength|{{#tip-text: Strength | {{:Strength}} }}]]
|-
|'''Colored link with another page loaded into tooltip'''
<nowiki>{{cl|Light Brown|Strength|{{#tip-text: Strength | {{:Strength}} }} }}</nowiki>
{{cl|Light Brown|Strength|{{#tip-text: Strength | {{:Strength}} }} }}
|'''Using blue "?" icon as the hoverable object'''
<nowiki>anything {{#tip-info: {{Tooltip hover box|title=tooltip content}} }}</nowiki>
anything {{#tip-info: {{Tooltip hover box|title=tooltip content}} }}
|-
|'''Using image as the hoverable object'''
<nowiki>{{#tip-img: {{filepath:Runic Boulder.png}} | {{Tooltip hover box|title=Runic Boulder is good.}} }}</nowiki>
{{#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'''
<nowiki>{{#tip-img: {{filepath:Runic Boulder.png}} | {{Tooltip hover box|title= {{Skill|Runic Boulder|tooltip=1}} }} }}</nowiki>
{{#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 <code>#Switch</code> ParserFunction (see [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##switch 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.
{| border=1px solid; style="margin: auto;"
! Container
|-
| style="width:300px;" |
<nowiki><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></nowiki>
|}
===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 <nowiki>[[ ]]</nowiki> 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:
<nowiki>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</nowiki>
Using the Swords_skilltree.png image, we will make the first two top icons into links. This code:
<nowiki><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></nowiki>
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 [[Stoneshard_Wiki:Admin_noticeboard|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.


{{Clear}}
{{Clear}}

Latest revision as of 16:04, 3 September 2025

Stoneshard wiki is a community project run entirely by volunteers to provide information about Stoneshard.

Our community is open to anyone!

Community Administrator
Psojed talk  •  contribs


Developer Administrator
Wayfinder talk  •  contribs
  • Registering a free account is required for editing our wiki. It also makes it easier to keep track of your own edits.
  • Learn the basics about wiki editing: MediaWiki Help section
  • Check out the pages marked as Stubs. These are pages we have already created that are missing some information and can be improved.
  • 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.
  • If you have questions or simply want to talk to other editors and players, feel free to join us at the Stoneshard Discord!


Write pages

Write new articles and edit existing articles by adding useful information.

Creating new pages

  • Anytime you see a red link on a wiki, it points to a page or image that doesn't exist yet. Click it to begin creating that page.
  • You can start a new page from the Search bar. If it doesn't find an exact match, there will be a red link.
  • You can also type the URL directly into your browser, like this: https://stoneshard.com/wiki/Your_page_name

Editing with visual editor

  • Find the page you want to edit and click the Edit button.
  • Visual editor is useful for writing texts and basic formatting, for example adding loot lists to Enemies, writing lore snippets, etc.

Editing with source editor

  • Find the page you want to edit and click the Edit source button.
  • If you have disabled the visual editor in your Preferences, the Edit button will instead bring you to the source editor.
  • Source editor is much more powerful, but doing formatting and many other advanced edits requires knowledge of Wikitext.

If you want to edit Item tooltips, Enemy attributes, Skill formulas, etc., look here #Editing_Items,_Enemies,_Skills_etc.

Upload images

Help by uploading relevant images to the wiki.

How to upload new images

  • Use the Uploading page.
  • Try to select proper licensing using the dropdown. The most common option is "Licensing: This is from the game, or its official website".
  • Try to always name the image file with the same name as the thing it represents. For example, an image of Bread Bread.png, should be named "Bread.png".

This strict File naming scheme is required for our Templates to function properly.

How to replace an existing file

  • Find the current file by typing "File:" into the search box.
  • For example, typing File:Bread will give you a suggestion for File:Bread.png.
  • Below the file history, there will be a link "Upload a new version of this file", click it.
  • Due to caching, it might take a while before you see the new image. You can use CTRL+F5 shortcut in most browsers to force-reload the cache.


Categorize pages

Help sort the wiki by categorizing the images and pages. Click edit source on a page, then add [[Category:<category name>]] at the very end of a page to categorize it.

How to add Category to images

  • Add a Category by writing [[Category:Category name]] on the upload page.
  • To add a Category to an existing image, go to file page, for example File:Bread.png then click edit source.
  • Try to sort them by using their respective Category, ie. Bread is [[Category:Food images]].
  • Put Category:Images if you're unsure where it belongs.

You can check the Special:Categories for a complete list of categories. Check Category:Stoneshard Wiki to browse the existing hierarchy.


Advanced stuff

Skill images format

  • Skill image sprites are extracted from the game files as 25x24 with no border.
  • Use an image editor to upscale the sprites to 2x, make sure no interpolation is selected (to preserve pixel color)
  • Then add the skill icon border. You can use this File:Skill_locked.png as a template.


Colored text and links

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
  • #f6bb15 should be the orange-yellow-ish Passive Bonus.
  • #78d199 should be the light-green bonus like -5% Cooldown Reduction on skills.
  • #0ed78e is the more profound light-green in "Active" skill type.
  • #a3b719 lime color in "Passive" skill type.
  • #ffffff for the amount of turns that a stance/effect lasts.
  • #9d9a9a gray for skill description.
  • #71725e for weapon type requirements
  • #9e1b31 should be red for negative bonuses from skills and conditions
  • #21b7ec energy burn or Energy/Max Energy replenish skills
  • {{C|Orange|Passive Bonus}} appears as Passive Bonus
  • {{C|+|+10%}} appears as +10%
  • {{C|Active|Active}} appears as Active
  • {{C|Passive|Passive}} appears as Passive
  • {{C|White|Text}} appears as Text
  • {{C|Gray|Text}} appears as Text
  • {{C|Req|- requires Swords}} appears as - requires Swords
  • {{C|-|-5%}} appears as -5%
  • {{C|Energy|+20}} appears as +20
Items
  • #c75c5d is the brighter red for negative bonuses on items
  • #824858 is cursed red for cursed items
  • #27b1ea is blue for random enchantment bonuses
  • #59db4c light green for Uncommon item names only
  • #4c7fff is blue for Rare item names only
  • #8248bc is purple for unique item names only
  • #ffb72b is epic items (not yet in-game)
  • #95796a brown for item descriptions
  • #d5b292 light brown for keyword highligting
  • #0ed78e for Potions with positive effects
  • #9e1b31 for Potions with negative effects
  • {{C|Red|Buckler}} appears as -5% Skills Energy Cost
  • {{C|Cursed|Buckler}} appears as Buckler
  • {{C|Ench|+2% Block Chance}} appears as +2% Block Chance
  • {{C|Uncommon|Buckler}} appears as Buckler
  • {{C|Rare|Buckler}} appears as Buckler
  • {{C|Unique|Buckler}} appears as Buckler
  • {{C|Epic|Buckler}} appears as Buckler
  • {{C|Brown|An epic sword.}} appears as An epic sword.
  • {{C|Light Brown|Agility}} appears as Agility
  • {{C|Flawless|Potion of Antivenom}} appears as Potion of Antivenom
  • {{C|-|Potion of Poison}} appears as Potion of Poison
Damage types
  • #f28d31 Fire damage / burning effect
  • #9872ec Arcane damage
  • #fff6b5 Sacred damage
  • #fff6b5 Shock damage
  • #ec4d49 Unholy damage
  • #58af13 Poison damage
  • #0ed78e Caustic damage
  • #504aea Psionic damage
  • #73c0de Frost damage
  • {{C|Fire|10}} appears as 10
  • {{C|Arcane|10}} appears as 10
  • {{C|Sacred|10}} appears as 10
  • {{C|Shock|10}} appears as 10
  • {{C|Unholy|10}} appears as 10
  • {{C|Poison|10}} appears as 10
  • {{C|Caustic|10}} appears as 10
  • {{C|Psionic|10}} appears as 10
  • {{C|Frost|10}} appears as 10
Conditions
  • #0ed78e conditions labelled State
  • #9e1b31 conditions labelled Physical
  • #27b1ea conditions labelled Condition
  • #27b1ea conditions labelled Mental
  • #4c7fff conditions labelled Magical
  • {{C|State}} appears as State
  • {{C|Physical}} appears as Physical
  • {{C|Condition}} appears as Condition
  • {{C|Mental}} appears as Mental
  • {{C|Magical}} appears as Magical
Misc
  • #f28d31 unique trait
  • {{C|Unique Trait}} appears as Unique Trait


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}} }}]]

Strength

Colored link with another page loaded into tooltip
{{cl|Light Brown|Strength|{{#tip-text: Strength | {{: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}} }} }}


Editing Items, Enemies, Skills etc.

Pages with Weapons, Armor, Jewelry and other Items, as well as pages of Enemies, Skills, Consumables, etc. all use Templates that ensure uniformity of output across pages.

  • Templates cannot be edited with Visual Editor. If you wish to edit them, Source Editor is required.
  • Any changes made to the Template will automatically apply to all pages where the Template is used.


Templates use various attributes like Weapon damage and stats, Skill energy cost, Enemy Resistances, etc. These attributes can be found in the Data pages.

Data is written as either a list of parameters and values (Datalist), or as one long string of comma-delimited values (Datastring). Both the Datalists and Datastrings are saved as a parameter of a single #Switch ParserFunction (see Help:Extension:ParserFunctions for more info).

  • Attributes in Datalists were used since the early wiki days, these are always maintained manually.
  • Attributes in Datastrings are updated in bulk when a new patch comes out by the wiki admin. The process involves extracting data from the game files, applying edits and corrections, then converting the format to wikitext and importing it to the wiki. This is done with the help of a custom written Google Sheet (often referred to as Parser) used by the wiki admin.
  • If you find an error like missing attribute on an item or incorrect stats for an enemy, feel free to correct it, but please let us know in the wiki channel on official Stoneshard Discord or via the talk pages, so that we can correct the problem in the Parser too.

Documentation for our Templates and examples of use can be found on the Template pages.

Characters, NPCs and Enemies
What are you editing? Which Template should you use? Where are attributes stored? Are attributes updated with Parser?
Playable Character Template:Playable Datalist in page, e.g. Jorgrim not required
NPCs Template:Friendly Friendly data No
Enemies Template:Enemy Enemy data Yes
Gear
What are you editing? Which Template should you use? Where are attributes stored? Are attributes updated with Parser?
Armor item page, like
Der Vyrne Heirloom Cuirass
Template:Armor Armor data Yes
Armor table Template:ArmorTable/head
Template:ArmorTable/row
Armor data Yes
Artifact item page Template:Valuable Datalist in page

Consumable data is Work in Progress

Work in Progress
Artifacts table manual Datalist in page

Consumable data is Work in Progress

Work in Progress
Books & Notes Template:Book Book data Yes
Jewelry item page, like
Jorgrim's Pendant
Template:Armor Armor data Yes
Jewelry table Template:ArmorTable/head
Template:ArmorTable/row
Armor data Yes
Loot page, like Diamond Template:Valuable Datalist in page

Consumable data is Work in Progress

Work in Progress
Loot table Template:ConsumableTable/head
Template:ConsumableTable/row
Datalist in page

Consumable data is Work in Progress

Work in Progress
Treatises Template:Book Book data Yes
Quest Item page, like Heraldic Note Template:Valuable Datalist in page

Consumable data is Work in Progress

Work in Progress
Quest Items table manual Datalist in page

Consumable data is Work in Progress

Work in Progress
Weapon item like
Arna's Sword
Template:Weapon Weapon data Yes
Weapons table Template:WeaponTable/head
Template:WeaponTable/row
Weapon data Yes
Skills
What are you editing? Which Template should you use? Where are attributes stored? Are attributes updated with Parser?
Skill page, like Fire Barrage Template:Skill Skill data No
Skill table in Enemy pages, like Madman Template:SkillTable/head
Template:SkillTable/row
Skill data No
Consumables
What are you editing? Which Template should you use? Where are attributes stored? Are attributes updated with Parser?
Ammunition item Template:Consumable Datalist in page

Consumable data is Work in Progress

Work in Progress
Beverage item page, like Waterskin Template:Consumable Datalist in page

Consumable data is Work in Progress

Work in Progress
Beverages table Template:ConsumableTable/head
Template:ConsumableTable/row
Datalist in page

Consumable data is Work in Progress

Work in Progress
Drug item page, like Al'qud Template:Consumable Datalist in page

Consumable data is Work in Progress

Work in Progress
Drugs table manual Datalist in page

Consumable data is Work in Progress

Work in Progress
Food item page, like Bread Template:Consumable Datalist in page

Consumable data is Work in Progress

Work in Progress
Food table manual Datalist in page

Consumable data is Work in Progress

Work in Progress
Ingredient item page, like Agrimony Template:Consumable Datalist in page

Consumable data is Work in Progress

Work in Progress
Ingredients table Template:ConsumableTable/head
Template:ConsumableTable/row
Datalist in page

Consumable data is Work in Progress

Work in Progress
Medicine item page, like Bandage Template:Consumable Datalist in page

Consumable data is Work in Progress

Work in Progress
Medicine table Template:ConsumableTable/head
Template:ConsumableTable/row
Datalist in page

Consumable data is Work in Progress

Work in Progress
Tools & Traps item page, like Crowbar

Template:Weapon for Chain, Lute, Broom, Pickaxe and Sickle
Template:Consumable for everything else

Weapon data for Chain, Lute, Broom, Pickaxe and Sickle
the rest is in the Datalists in pages.
Consumable data is Work in Progress

Work in Progress
Tools & Traps table manual manual No
Other data
What are you editing? Which Template should you use? Where are attributes stored? Are attributes updated with Parser?
Status Effects page, like Optimism Template:Condition Datalist in page No
Containers page manual Datalist in page No


Tabs

Using the TabberNeue extension, you can create tabs that display different content in each Tab. For example:

Simple tabber example:

<tabber>
|-|Early game shield=
{{Armor|Board Shield}}
|-|Mid game shield=
{{Armor|Buckler}}
|-|Late game shield=
{{Armor|Orient Shield}}
</tabber>
Tier 1
Board Shield
common light shield
Block Chance: +10%
Block Power: +7
Block Power Recovery: +10%
 
Energy: -1
 
Durability: 60/60

This homemade shield is just a few rough planks cobbled together. Still better than nothing.
Price25

Board Shield

Tier 3
Buckler
common light shield
Block Chance: +9%
Block Power: +6
Block Power Recovery: +15%
Counter Chance: +7%
 
Durability: 75/75

Any duelist worth their salt must possess three things: a buckler, a trusty blade, and a carefully rehearsed Brynn accent.
Price325

Buckler

Tier 5
Orient Shield
common light shield
Move Resistance: +5%
 
Block Chance: +20%
Block Power: +15
Block Power Recovery: +7%
 
Energy: -3
 
Durability: 140/140

Elven shields are reliable and don't weigh the arm down. The alloy they are made of is exotic to Aldor.
Price3275

Orient Shield


Nested tabber example:

<tabber>
|-| Archer variants =
{{#tag:tabber
| Skeleton Archer (Ranged) = {{Enemy|Skeleton Archer}}
{{!}}-{{!}} Skeleton Archer (Melee) = {{Enemy|Skeleton Archer (Melee)}}
}}
|-| Marksman variants =
{{#tag:tabber
| Skeleton Bowman (Ranged) = {{Enemy|Skeleton Bowman}}
{{!}}-{{!}} Skeleton Bowman (Melee) = {{Enemy|Skeleton Bowman (Melee)}}
}}
|-| Crossbowman variants =
{{#tag:tabber
| Skeleton Crossbowman (Ranged) = {{Enemy|Skeleton Crossbowman}}
{{!}}-{{!}} Skeleton Crossbowman (Melee) = {{Enemy|Skeleton Crossbowman (Melee)}}
}}
</tabber>

Skeleton Archer
Tier Data does not exist.
Skeleton Archer
Health:
Energy:

Damage

Protection
Head 0
Body 0
Arms 0
Legs 0

Resistances

Defensive stats
Block Chance 0%
Bleed Res. 0%
Pain Res. 0%
Block Power 0
Control Res. 0%
Fortitude 0%
Dodge Chance 0%
Move Res. 0%
Crit Avoidance 0%

Offensive stats
Crit Chance 0%
Counter Chance 0%
Stun Chance 0%
Knockb. Chance 0%
Life Leech 0%
Vision 0
Crit Efficiency ×1
Bleed Chance 0%
Daze Chance 0%
Immob. Chance 0%
Energy Leech 0%
Bonus Range 0
Accuracy 0%
Fumble Chance 0%
Stagger Chance 0%
Magic Power 100%
Armor Pen. 0%
Bodypart Dmg 0%

Attributes
STR:
AGL:
PRC:
VIT:
WIL:

Miscellaneous
Faction:
Size:
XP:

Show moreShow less
Data does not exist.

Skeleton Archer (Melee)
Tier Data does not exist.
Skeleton Archer (Melee)
Health:
Energy:

Damage

Protection
Head 0
Body 0
Arms 0
Legs 0

Resistances

Defensive stats
Block Chance 0%
Bleed Res. 0%
Pain Res. 0%
Block Power 0
Control Res. 0%
Fortitude 0%
Dodge Chance 0%
Move Res. 0%
Crit Avoidance 0%

Offensive stats
Crit Chance 0%
Counter Chance 0%
Stun Chance 0%
Knockb. Chance 0%
Life Leech 0%
Vision 0
Crit Efficiency ×1
Bleed Chance 0%
Daze Chance 0%
Immob. Chance 0%
Energy Leech 0%
Bonus Range 0
Accuracy 0%
Fumble Chance 0%
Stagger Chance 0%
Magic Power 100%
Armor Pen. 0%
Bodypart Dmg 0%

Attributes
STR:
AGL:
PRC:
VIT:
WIL:

Miscellaneous
Faction:
Size:
XP:

Show moreShow less
Data does not exist.


Skeleton Bowman
Tier Data does not exist.
Skeleton Bowman
Health:
Energy:

Damage

Protection
Head 0
Body 0
Arms 0
Legs 0

Resistances

Defensive stats
Block Chance 0%
Bleed Res. 0%
Pain Res. 0%
Block Power 0
Control Res. 0%
Fortitude 0%
Dodge Chance 0%
Move Res. 0%
Crit Avoidance 0%

Offensive stats
Crit Chance 0%
Counter Chance 0%
Stun Chance 0%
Knockb. Chance 0%
Life Leech 0%
Vision 0
Crit Efficiency ×1
Bleed Chance 0%
Daze Chance 0%
Immob. Chance 0%
Energy Leech 0%
Bonus Range 0
Accuracy 0%
Fumble Chance 0%
Stagger Chance 0%
Magic Power 100%
Armor Pen. 0%
Bodypart Dmg 0%

Attributes
STR:
AGL:
PRC:
VIT:
WIL:

Miscellaneous
Faction:
Size:
XP:

Show moreShow less
Data does not exist.

Skeleton Bowman (Melee)
Tier Data does not exist.
Skeleton Bowman (Melee)
Health:
Energy:

Damage

Protection
Head 0
Body 0
Arms 0
Legs 0

Resistances

Defensive stats
Block Chance 0%
Bleed Res. 0%
Pain Res. 0%
Block Power 0
Control Res. 0%
Fortitude 0%
Dodge Chance 0%
Move Res. 0%
Crit Avoidance 0%

Offensive stats
Crit Chance 0%
Counter Chance 0%
Stun Chance 0%
Knockb. Chance 0%
Life Leech 0%
Vision 0
Crit Efficiency ×1
Bleed Chance 0%
Daze Chance 0%
Immob. Chance 0%
Energy Leech 0%
Bonus Range 0
Accuracy 0%
Fumble Chance 0%
Stagger Chance 0%
Magic Power 100%
Armor Pen. 0%
Bodypart Dmg 0%

Attributes
STR:
AGL:
PRC:
VIT:
WIL:

Miscellaneous
Faction:
Size:
XP:

Show moreShow less
Data does not exist.


Skeleton Crossbowman
Tier Data does not exist.
Skeleton Crossbowman
Health:
Energy:

Damage

Protection
Head 0
Body 0
Arms 0
Legs 0

Resistances

Defensive stats
Block Chance 0%
Bleed Res. 0%
Pain Res. 0%
Block Power 0
Control Res. 0%
Fortitude 0%
Dodge Chance 0%
Move Res. 0%
Crit Avoidance 0%

Offensive stats
Crit Chance 0%
Counter Chance 0%
Stun Chance 0%
Knockb. Chance 0%
Life Leech 0%
Vision 0
Crit Efficiency ×1
Bleed Chance 0%
Daze Chance 0%
Immob. Chance 0%
Energy Leech 0%
Bonus Range 0
Accuracy 0%
Fumble Chance 0%
Stagger Chance 0%
Magic Power 100%
Armor Pen. 0%
Bodypart Dmg 0%

Attributes
STR:
AGL:
PRC:
VIT:
WIL:

Miscellaneous
Faction:
Size:
XP:

Show moreShow less
Data does not exist.

Skeleton Crossbowman (Melee)
Tier Data does not exist.
Skeleton Crossbowman (Melee)
Health:
Energy:

Damage

Protection
Head 0
Body 0
Arms 0
Legs 0

Resistances

Defensive stats
Block Chance 0%
Bleed Res. 0%
Pain Res. 0%
Block Power 0
Control Res. 0%
Fortitude 0%
Dodge Chance 0%
Move Res. 0%
Crit Avoidance 0%

Offensive stats
Crit Chance 0%
Counter Chance 0%
Stun Chance 0%
Knockb. Chance 0%
Life Leech 0%
Vision 0
Crit Efficiency ×1
Bleed Chance 0%
Daze Chance 0%
Immob. Chance 0%
Energy Leech 0%
Bonus Range 0
Accuracy 0%
Fumble Chance 0%
Stagger Chance 0%
Magic Power 100%
Armor Pen. 0%
Bodypart Dmg 0%

Attributes
STR:
AGL:
PRC:
VIT:
WIL:

Miscellaneous
Faction:
Size:
XP:

Show moreShow less
Data does not exist.


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.



Wiki progress overview

Because Stoneshard is in Early Access, every new patch can change ALL of the information present on this wiki.
This table shows the current status of various parts of this wiki.
Parser Parser means that this information is complete and is being updated semi-automaticaly with every patch release.
It should correspond to the latest game version.
Updated Updated means that this information is complete and is being updated manually.
It should correspond to the latest game version.
Outdated Outdated means that this information was complete at some point, but it wasn't kept updated.
Parts of it may be old or completely missing.
Half-done Half-done means that lots of information was gathered about this subject, but it was never completed.
Parts of it will be old or completely missing.
Unfinished Unfinished means that this information was never completed or even added to the wiki yet. Consider this info missing.
Take any information marked as Unfinished with a grain of salt.
Gear
Lists & Stats Vendors Drops Lore
Weapons Parser Updated Unfinished Unfinished
Armor Parser Updated Unfinished Unfinished
Jewelry Parser Updated Unfinished Unfinished
Artifacts Updated Updated Unfinished Unfinished
Treatises Parser Updated Unfinished Unfinished
Loot Outdated Unfinished Unfinished Unfinished
Quest Items Updated - Updated Unfinished
Enchantments Outdated - Unfinished Unfinished
Blessings & Curses Outdated - Unfinished Unfinished
Quality & Durability Updated
Consumables
Lists & Stats Vendors Drops Lore
Food Outdated Unfinished Unfinished Unfinished
Beverages Outdated Unfinished Unfinished Unfinished
Potions Outdated Unfinished Unfinished Unfinished
Ingredients Outdated Unfinished Unfinished Unfinished
Drugs Updated Half-done Unfinished Unfinished
Medicine Updated Unfinished Unfinished Unfinished
Scrolls Updated Unfinished Unfinished Unfinished
Ammunition Updated Updated Unfinished Unfinished
Tools & Traps Updated Unfinished Unfinished Unfinished
 
Skills
Lists Data Tips Lore
Weaponry abilities Updated Half-done Unfinished Unfinished
Utility abilities Updated Half-done Unfinished Unfinished
Sorcery abilities Updated Half-done Unfinished Unfinished
Enemy abilities Half-done Unfinished Unfinished Unfinished
NPCs
Lists Data Tips Lore
Characters Updated Updated Unfinished Half-done
Enemies Parser Parser Unfinished Unfinished
NPCs Half-done Unfinished Unfinished Unfinished
Other sections
Attributes Updated Traits Updated
Injuries & Pain Outdated Hunger, Thirst & Intoxication Half-done
Psyche Updated Fatigue & Resting Updated
Combat Formulas Outdated Damage Types Updated
Status Effects Outdated Noise & Stealth Outdated
Lockpicking & Trap Mechanics Outdated Dual Wielding Outdated
Throwing Half-done Biomes & Weather Half-done
Factions & Settlements Outdated Contracts & Tasks Half-done
Global Map Half-done Points of Interest Half-done
Reputation Updated Crime & Punishment Half-done
Dungeons Unfinished Story & Lore Unfinished
Need help? Want something changed or want to debate about something? Feel free to join us at the Stoneshard Discord!