Difference between revisions of "Stoneshard wiki:Community portal"
old>Maintenance script-gpuser (Automated Import) |
m |
||
(47 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
<div class="cpbox"> | |||
<div id="help" class="feature"> | |||
<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!== | ||
<div id="admins" class="feature" style="width: 40%;float: right;"> | |||
{{Admins}} | |||
</div> | |||
{{Tocright}} | |||
*[[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] | |||
*Check out the [[Stoneshard_wiki:Community_portal#Wiki_progress_overview|Wiki progress overview]] to see where help is needed. | |||
*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. 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]! | |||
* | ===Images and Files=== | ||
* | * When [[:Special:Upload|Uploading]] new images, sort them by using their respective Category, or at least the general [[:Category:Images]]. | ||
* 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> | |||
This strict File naming scheme is required for our Templates to function properly. | |||
===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. | |||
{{#vardefine:Updated|'''{{c|+|Updated}}'''}}<!-- | |||
| class=" | -->{{#vardefine:Parser|'''{{c|Energy|Parser}}'''}}<!-- | ||
{{ | -->{{#vardefine:Outdated|'''{{c|Orange|Outdated}}'''}}<!-- | ||
{{ | -->{{#vardefine:Half|'''{{c|Passive|Half-done}}'''}}<!-- | ||
-->{{#vardefine:Unfinished|'''{{c|-|Unfinished}}'''}} | |||
{{-}} | |||
== Wiki progress overview == | |||
<div style="display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch;font-size: 16px;text-align:center;"><!--BEGIN Flex container--> | |||
<div class="fpbox" style="min-width: 300px; flex-grow: 1; flex-basis: 100%; overflow-x:auto;"> | |||
{| class="stoneshard" style="width: 100%;" | |||
! colspan="5"|Because Stoneshard is in Early Access, every new patch can change ALL of the information present on this wiki.<br>This table shows the current status of various parts of this wiki. | |||
|- | |||
| style="width:20%;"|{{#var:Parser}} | |||
| {{#var:Parser}} means that this information is complete and is being updated semi-automaticaly with every patch release.<br>It should correspond to the latest game version. | |||
|- | |||
| style="width:20%;"|{{#var:Updated}} | |||
| {{#var:Updated}} means that this information is complete and is being updated manually.<br>It should correspond to the latest game version. | |||
|- | |||
| style="width:20%;"|{{#var:Outdated}} | |||
| {{#var:Outdated}} means that this information was complete at some point, but it wasn't kept updated.<br>Parts of it may be old or completely missing. | |||
|- | |||
| style="width:20%;"|{{#var:Half}} | |||
| {{#var:Half}} means that lots of information was gathered about this subject, but it was never completed.<br>Parts of it '''will''' be old or completely missing. | |||
|- | |||
| style="width:20%;"|{{#var:Unfinished}} | |||
| {{#var:Unfinished}} means that this information was never completed or even added to the wiki yet. Consider this info missing.<br>Take any information marked as Unfinished with a grain of salt. | |||
|} | |||
</div> | |||
<div class="fpbox" style="min-width: 300px; flex-grow: 1; flex-basis: 47.6%; overflow-x:auto;"> | |||
{| class="stoneshard" style="width: 100%;" | |||
! colspan="5"| Gear | |||
|- | |||
| | |||
| Lists & Stats | |||
| Vendors | |||
| Drops | |||
| Lore | |||
|- | |||
| [[Weapons]] | |||
| {{#var:Parser}} | |||
| {{#var:Updated}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Armor]] | |||
| {{#var:Parser}} | |||
| {{#var:Updated}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Jewelry]] | |||
| {{#var:Parser}} | |||
| {{#var:Updated}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Artifacts]] | |||
| {{#var:Updated}} | |||
| {{#var:Updated}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Treatises]] | |||
| {{#var:Parser}} | |||
| {{#var:Updated}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Loot]] | |||
| {{#var:Outdated}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Quest Items]] | |||
| {{#var:Updated}} | |||
| - | |||
| {{#var:Updated}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Enchantments]] | |||
| {{#var:Outdated}} | |||
| - | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Blessings & Curses]] | |||
| {{#var:Outdated}} | |||
| - | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Quality & Durability]] | |||
| colspan="4"|{{#var:Updated}} | |||
|} | |||
</div> | |||
<div class="fpbox" style="min-width: 300px; flex-grow: 1; flex-basis: 47.6%; overflow-x:auto;"> | |||
{| class="stoneshard" style="width: 100%;" | |||
! colspan="5"| Consumables | |||
|- | |||
| | |||
| Lists & Stats | |||
| Vendors | |||
| Drops | |||
| Lore | |||
|- | |||
| [[Food]] | |||
| {{#var:Outdated}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Beverages]] | |||
| {{#var:Outdated}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Potions]] | |||
| {{#var:Outdated}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Ingredients]] | |||
| {{#var:Outdated}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Drugs]] | |||
| {{#var:Updated}} | |||
| {{#var:Half}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Medicine]] | |||
| {{#var:Updated}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Scrolls]] | |||
| {{#var:Updated}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Ammunition]] | |||
| {{#var:Updated}} | |||
| {{#var:Updated}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| [[Tools & Traps]] | |||
| {{#var:Updated}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| colspan="5"| | |||
|} | |} | ||
</div> | |||
<div class="fpbox" style="min-width: 300px; flex-grow: 1; flex-basis: 47.6%; overflow-x:auto;"> | |||
{| class="stoneshard" style="width: 100%;" | |||
! colspan="5"| Skills | |||
|- | |||
| | |||
| Lists | |||
| Data | |||
| Tips | |||
| Lore | |||
|- | |||
| Weaponry abilities | |||
| {{#var:Updated}} | |||
| {{#var:Half}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| Utility abilities | |||
| {{#var:Updated}} | |||
| {{#var:Half}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| Sorcery abilities | |||
| {{#var:Updated}} | |||
| {{#var:Half}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| Enemy abilities | |||
| {{#var:Half}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
! colspan="5"| NPCs | |||
|- | |||
| | |||
| Lists | |||
| Data | |||
| Tips | |||
| Lore | |||
|- | |||
| Characters | |||
| {{#var:Updated}} | |||
| {{#var:Updated}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Half}} | |||
|- | |||
| Enemies | |||
| {{#var:Parser}} | |||
| {{#var:Parser}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|- | |||
| NPCs | |||
| {{#var:Half}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
| {{#var:Unfinished}} | |||
|} | |||
</div> | |||
<div class="fpbox" style="min-width: 300px; flex-grow: 1; flex-basis: 47.6%; overflow-x:auto;"> | |||
{| class="stoneshard" style="width: 100%;" | |||
! colspan="5"| Other sections | |||
|- | |||
| [[Attributes]] | |||
| {{#var:Updated}} | |||
| [[Traits]] | |||
| {{#var:Updated}} | |||
|- | |||
| [[Injuries & Pain]] | |||
| {{#var:Outdated}} | |||
| [[Hunger, Thirst & Intoxication]] | |||
| {{#var:Half}} | |||
|- | |||
| [[Psyche]] | |||
| {{#var:Updated}} | |||
| [[Fatigue & Resting]] | |||
| {{#var:Updated}} | |||
|- | |||
| [[Combat Formulas]] | |||
| {{#var:Outdated}} | |||
| [[Damage Types]] | |||
| {{#var:Updated}} | |||
|- | |||
| [[Status Effects]] | |||
| {{#var:Outdated}} | |||
| [[Noise & Stealth]] | |||
| {{#var:Outdated}} | |||
|- | |||
| [[Lockpicking & Trap Mechanics]] | |||
| {{#var:Outdated}} | |||
| [[Dual Wielding]] | |||
| {{#var:Outdated}} | |||
|- | |||
| [[Throwing]] | |||
| {{#var:Half}} | |||
| [[Biomes & Weather]] | |||
| {{#var:Half}} | |||
|- | |||
| [[Factions & Settlements]] | |||
| {{#var:Outdated}} | |||
| [[Contracts & Tasks]] | |||
| {{#var:Half}} | |||
|- | |||
| [[Global Map]] | |||
| {{#var:Half}} | |||
| [[Points of Interest]] | |||
| {{#var:Half}} | |||
|- | |||
| [[Reputation]] | |||
| {{#var:Updated}} | |||
| [[Crime & Punishment]] | |||
| {{#var:Half}} | |||
|- | |||
| [[Dungeons]] | |||
| {{#var:Unfinished}} | |||
| [[Story & Lore]] | |||
| {{#var:Unfinished}} | |||
|} | |||
</div> | |||
</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}} | |||
<div style="text-align: center; font-size: 100%; font-weight: bold;">Need help? Want something changed or want to debate about something? Feel free to join us at the [https://discord.gg/stoneshard Stoneshard Discord]!</div> | |||
</div> | |||
</div> | |||
[[Category:Community]] | [[Category:Community]] | ||
<!-- post topics below --> | <!-- post topics below --> |
Latest revision as of 15:18, 22 October 2023
Our community of editors is open to anyone!
- 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 Wiki progress overview to see where help is needed.
- Alternatively, 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. 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 Stoneshard Discord!
Images and Files
- When Uploading new images, sort them by using their respective Category, or at least the general Category:Images.
- Try to always name the image file with the same name as the item it is for. For example, an image of Bread , should be named "Bread.png".
This strict File naming scheme is required for our Templates to function properly.
Categories
- Help sort the wiki by categorizing the images and pages. Simply add
[[Category:<category name>]]
at the very end of a page to categorize it.
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.
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 |
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.