Difference between revisions of "Stoneshard wiki:Community portal"

From Stoneshard wiki
Jump to navigation Jump to search
old>Phoe nixx
old>Phoe nixx
Line 39: Line 39:
==Advanced stuff==
==Advanced stuff==
===Colors and Templates===
===Colors and Templates===
We adhere to the ingame color palette and use the Color template to colorize texts on the wiki. Below is a table of all current colors from the game and example usage with the Color template.
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.




Line 56: Line 56:
* <span style="color:#21b7ec;">#21b7ec</span> energy burn or Energy/Max Energy replenish skills
* <span style="color:#21b7ec;">#21b7ec</span> energy burn or Energy/Max Energy replenish skills
|
|
* '''<nowiki>{{Color|Orange|Passive Bonus}}</nowiki>''' appears as {{Color|Orange|Passive Bonus}}
* '''<nowiki>{{C|Orange|Passive Bonus}}</nowiki>''' appears as {{Color|Orange|Passive Bonus}}
* '''<nowiki>{{Color|+|+10%}}</nowiki>''' appears as {{Color|+|+10%}}
* '''<nowiki>{{C|+|+10%}}</nowiki>''' appears as {{Color|+|+10%}}
* '''<nowiki>{{Color|Active|Active}}</nowiki>''' appears as {{Color|Active|Active}}
* '''<nowiki>{{C|Active|Active}}</nowiki>''' appears as {{Color|Active|Active}}
* '''<nowiki>{{Color|Passive|Passive}}</nowiki>''' appears as {{Color|Passive|Passive}}
* '''<nowiki>{{C|Passive|Passive}}</nowiki>''' appears as {{Color|Passive|Passive}}
* '''<nowiki>{{Color|White|Text}}</nowiki>''' appears as {{Color|White|Text}}
* '''<nowiki>{{C|White|Text}}</nowiki>''' appears as {{Color|White|Text}}
* '''<nowiki>{{Color|Gray|Text}}</nowiki>''' appears as {{Color|Gray|Text}}
* '''<nowiki>{{C|Gray|Text}}</nowiki>''' appears as {{Color|Gray|Text}}
* '''<nowiki>{{Color|Req|- requires Swords}}</nowiki>''' appears as {{Color|Req|- requires Swords}}
* '''<nowiki>{{C|Req|- requires Swords}}</nowiki>''' appears as {{Color|Req|- requires Swords}}
* '''<nowiki>{{Color|-|-5%}}</nowiki>''' appears as {{Color|-|-5%}}
* '''<nowiki>{{C|-|-5%}}</nowiki>''' appears as {{Color|-|-5%}}
* '''<nowiki>{{Color|Energy|+20}}</nowiki>''' appears as {{Color|Energy|+20}}
* '''<nowiki>{{C|Energy|+20}}</nowiki>''' appears as {{Color|Energy|+20}}
|-
|-
! colspan="2" | Items
! colspan="2" | Items
Line 80: Line 80:
* <span style="color:#9e1b31;">#9e1b31</span> for Potions with negative effects
* <span style="color:#9e1b31;">#9e1b31</span> for Potions with negative effects
|
|
* '''<nowiki>{{Color|Red|Buckler}}</nowiki>''' appears as {{Color|Red|-5% Skills Energy Cost}}
* '''<nowiki>{{C|Red|Buckler}}</nowiki>''' appears as {{Color|Red|-5% Skills Energy Cost}}
* '''<nowiki>{{Color|Cursed|Buckler}}</nowiki>''' appears as {{Color|Cursed|Buckler}}
* '''<nowiki>{{C|Cursed|Buckler}}</nowiki>''' appears as {{Color|Cursed|Buckler}}
* '''<nowiki>{{Color|Ench|+2% Block Chance}}</nowiki>''' appears as {{Color|Ench|+2% Block Chance}}
* '''<nowiki>{{C|Ench|+2% Block Chance}}</nowiki>''' appears as {{Color|Ench|+2% Block Chance}}
* '''<nowiki>{{Color|Uncommon|Buckler}}</nowiki>''' appears as {{Color|Uncommon|Buckler}}
* '''<nowiki>{{C|Uncommon|Buckler}}</nowiki>''' appears as {{Color|Uncommon|Buckler}}
* '''<nowiki>{{Color|Rare|Buckler}}</nowiki>''' appears as {{Color|Rare|Buckler}}
* '''<nowiki>{{C|Rare|Buckler}}</nowiki>''' appears as {{Color|Rare|Buckler}}
* '''<nowiki>{{Color|Unique|Buckler}}</nowiki>''' appears as {{Color|Unique|Buckler}}
* '''<nowiki>{{C|Unique|Buckler}}</nowiki>''' appears as {{Color|Unique|Buckler}}
* '''<nowiki>{{Color|Epic|Buckler}}</nowiki>''' appears as {{Color|Epic|Buckler}}
* '''<nowiki>{{C|Epic|Buckler}}</nowiki>''' appears as {{Color|Epic|Buckler}}
* '''<nowiki>{{Color|Brown|An epic sword.}}</nowiki>''' appears as {{Color|Brown|An epic sword.}}
* '''<nowiki>{{C|Brown|An epic sword.}}</nowiki>''' appears as {{Color|Brown|An epic sword.}}
* '''<nowiki>{{Color|Flawless|Potion of Antivenom}}</nowiki>''' appears as {{Color|Flawless|Potion of Antivenom}}
* '''<nowiki>{{C|Flawless|Potion of Antivenom}}</nowiki>''' appears as {{Color|Flawless|Potion of Antivenom}}
* '''<nowiki>{{Color|-|Potion of Poison}}</nowiki>''' appears as {{Color|-|Potion of Poison}}
* '''<nowiki>{{C|-|Potion of Poison}}</nowiki>''' appears as {{Color|-|Potion of Poison}}
|-
|-
! colspan="2" | Damage types
! colspan="2" | Damage types
Line 104: Line 104:
* <span style="color:#73c0de;">#73c0de</span> Frost damage
* <span style="color:#73c0de;">#73c0de</span> Frost damage
|  
|  
* '''<nowiki>{{Color|Fire|10}}</nowiki>''' appears as {{Color|Fire|10}}<br>
* '''<nowiki>{{C|Fire|10}}</nowiki>''' appears as {{Color|Fire|10}}<br>
* '''<nowiki>{{Color|Arcane|10}}</nowiki>''' appears as {{Color|Arcane|10}}<br>
* '''<nowiki>{{C|Arcane|10}}</nowiki>''' appears as {{Color|Arcane|10}}<br>
* '''<nowiki>{{Color|Sacred|10}}</nowiki>''' appears as {{Color|Sacred|10}}<br>
* '''<nowiki>{{C|Sacred|10}}</nowiki>''' appears as {{Color|Sacred|10}}<br>
* '''<nowiki>{{Color|Shock|10}}</nowiki>''' appears as {{Color|Shock|10}}<br>
* '''<nowiki>{{C|Shock|10}}</nowiki>''' appears as {{Color|Shock|10}}<br>
* '''<nowiki>{{Color|Unholy|10}}</nowiki>''' appears as {{Color|Unholy|10}}<br>
* '''<nowiki>{{C|Unholy|10}}</nowiki>''' appears as {{Color|Unholy|10}}<br>
* '''<nowiki>{{Color|Poison|10}}</nowiki>''' appears as {{Color|Poison|10}}<br>
* '''<nowiki>{{C|Poison|10}}</nowiki>''' appears as {{Color|Poison|10}}<br>
* '''<nowiki>{{Color|Caustic|10}}</nowiki>''' appears as {{Color|Caustic|10}}<br>
* '''<nowiki>{{C|Caustic|10}}</nowiki>''' appears as {{Color|Caustic|10}}<br>
* '''<nowiki>{{Color|Psionic|10}}</nowiki>''' appears as {{Color|Psionic|10}}<br>
* '''<nowiki>{{C|Psionic|10}}</nowiki>''' appears as {{Color|Psionic|10}}<br>
* '''<nowiki>{{Color|Frost|10}}</nowiki>''' appears as {{Color|Frost|10}}<br>
* '''<nowiki>{{C|Frost|10}}</nowiki>''' appears as {{Color|Frost|10}}<br>
|-
|-
! colspan="2" | Conditions
! colspan="2" | Conditions
Line 123: Line 123:
* <span style="color:#4c7fff;">#4c7fff</span> conditions labelled Magical
* <span style="color:#4c7fff;">#4c7fff</span> conditions labelled Magical
|  
|  
* '''<nowiki>{{Color|State|State}}</nowiki>''' appears as {{Color|State|State}}<br>
* '''<nowiki>{{C|State}}</nowiki>''' appears as {{Color|State}}<br>
* '''<nowiki>{{Color|Physical|Physical}}</nowiki>''' appears as {{Color|Physical|Physical}}<br>
* '''<nowiki>{{C|Physical}}</nowiki>''' appears as {{Color|Physical}}<br>
* '''<nowiki>{{Color|Condition|Condition}}</nowiki>''' appears as {{Color|Condition|Condition}}<br>
* '''<nowiki>{{C|Condition}}</nowiki>''' appears as {{Color|Condition}}<br>
* '''<nowiki>{{Color|Mental|Mental}}</nowiki>''' appears as {{Color|Mental|Mental}}<br>
* '''<nowiki>{{C|Mental}}</nowiki>''' appears as {{Color|Mental}}<br>
* '''<nowiki>{{Color|Magical|Magical}}</nowiki>''' appears as {{Color|Magical|Magical}}<br>
* '''<nowiki>{{C|Magical}}</nowiki>''' appears as {{Color|Magical}}<br>
|}
|}



Revision as of 01:05, 31 May 2020

Stoneshard wiki is a community project run entirely by volunteers to provide information for the game.

Our community of editors is open to anyone. If you would like to join in:

  • While you can edit anonymously, Registering a free account makes it easier to keep track of your own edits.
  • Check out the gamepedia wiki manual if you're new to Wiki editing.
  • See a list of recent changes.
  • Jump right in and start editing. You can start small by fixing spelling, grammar, and other errors you come across.
  • Edit and expand pages marked as Stubs. These are pages we have already created that need more information.
  • Check out the Wanted Pages. These are pages that don't exist yet, but some other page links to them. You can see how many pages link to a given page name. Pages with many links are the ones that should be created first. Pages with only a single link could be wanted pages too, but they could also be a typo and only need to repair the link.


Alternatively, just type a new article name in the search box. A link will be provided to start the article at the top of the search results.
<inputbox>

type= create width= 40 </inputbox>



Helpful things you can do

Images and Files

For example, an image of Bread Bread.png, should be named "Bread.png". When uploading image of an item's description, name it "<itemname> description.png", etc.
We use strict File naming scheme, because our Templates rely on using names identical to pagenames. More on that in the #Advanced stuff section.


Categories

  • Categorize new images and new pages. Simply add [[Category:<category name>]] at the very end of the page.

For example, when I upload a new weapon image, it belongs to [[Category:Weapon images]]. A page about a new NPC would belong to [[Category:NPCs]], etc. Check the [Category tree] for a complete list of categories.


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
  • #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
  • #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|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

Item Properties and Descriptions

To display the different properties of Items, we use data structures placed on the respective item pages. We use the same system for Conditions.

  • The data is written inside of <includeonly></includeonly> statements to make it hidden from the page itself.
  • The data is written as parameters of a single #Switch ParserFunction (see [Help:Extension:ParserFunctions] for more info) to allow different Templates to call for different pieces of data.
  • Different item types may use different parameters. Here are examples of data structures we use:


Weapon Consumable Condition
<includeonly>{{#switch: {{{1}}}
|WeaponType = Sword
|Damage1 = 30
|DamageType1 = Slashing
|Damage2 = {{Sacred|2}}
|DamageType2 = {{Sacred|Sacred}}
|Properties1 = Armor Penetration
|Values1 = {{Positive|+20%}}
|Properties2 = Accuracy
|Values2 = {{Positive|+3%}}
|Properties3 = Magic Power
|Values3 = {{Positive|+5%}}
|Properties4 = Block Chance
|Values4 = {{Positive|+5%}}
|Properties5 = Skills Energy Cost
|Values5 = {{Negative|+15%}}
|Durability = 400
|Description = desc.
|Price = 7200
|#default = 
}}</includeonly>
<includeonly>{{#switch: {{{1}}}
|ItemType = Ingredient
|Properties1 = Energy Replenishment
|Values1 = {{Positive|+5}}
|Properties2 = Health Restoration
|Values2 = {{Positive|+0.50% (45x)}}
|Properties3 = Immunity
|Values3 = {{Positive|+1%}}
|PropertyText = text
|Description = desc.
|Price = 10
|#default = 
}}</includeonly>
<includeonly>{{#switch: {{{1}}}
|ConditionType = {{neg|Physical}}
|Properties1 = Deals Damage
|Values1 = {{neg|+2}}
|Properties2 = Energy Restoration
|Values2 = {{neg|-5%}}
|Properties3 = Healing Efficiency
|Values3 = {{neg|-30%}}
|PropertyText = text
|Description = desc.
|#default = 
}}</includeonly>


Skills currently don't have data on the Skill pages, instead they have the data written inside the Skill Tooltip pages. We may change that in the future to be in line with the way Items and Conditions are created.


Tooltips

When creating a specific item or skill page, most wikis display an infobox on the right side to show the most relevant information about an item or skill. Our wiki simply shows the tooltips of said item or skill.

  1. Follow the instructions on Template:Tooltip_hover_box to create a Tooltip page.
  2. Add this code into the item/skill page. This will automatically display whatever is written in the page's tooltip page and place it to the right side of the screen.
<div style="float: right">{{:{{ROOTPAGENAME}}/Tooltip}}</div>


Need help? Want something changed or want to debate about something? Feel free to join us at the Stoneshard Discord!
Community Administrator
Psojed talk  •  contribs


Developer Administrator
Wayfinder talk  •  contribs