Melvor Idle:Contributing: Difference between revisions
m (added some examples) |
m (added stuff about wiki) |
||
Line 81: | Line 81: | ||
| Combat icon {{T|Icon|Melee|notext=true}} | | Combat icon {{T|Icon|Melee|notext=true}} | ||
| Combat icon {{Icon|Melee|notext=true}} | | Combat icon {{Icon|Melee|notext=true}} | ||
|- | |||
| {{T|GoldPrice|price=100|text=units of currency}} | |||
| {{GoldPrice|price=100|text=units of currency}} | |||
|} | |} | ||
=== Special wiki stuff === | |||
{| class=wikitable | |||
|- | |||
| <nowiki>#REDIRECT [[Currency]]</nowiki> | |||
| A single line with this in a page, will redirect it to the given page | |||
|- | |||
| <nowiki>{{:Currency}}</nowiki> | |||
| Includes the whole Currency page here | |||
|- | |||
| <nowiki><nowiki>something</nowiki></nowiki> | |||
| Disables wiki formatting for the string inside | |||
|- | |||
| <nowiki><onlyinclude>Hello</onlyinclude></nowiki> | |||
| When including the page, it will only display this text | |||
|- | |||
| <nowiki><includeonly>Hello</includeonly></nowiki> | |||
| Will only include the text while transcluding it, not in the source page | |||
|- | |||
| <nowiki><noinclude>Hello</noinclude></nowiki> | |||
| Removes this text when importing the page it as an include | |||
|} | |||
=== Tables === | === Tables === |
Revision as of 03:21, 16 April 2022
This page is up to date (v1.3.1). |
If you want to help with the wiki, join our Discord and direct message one of the Wiki Admins for an account.
What to do
If you want to help but don't know what you can do, here are a couple of things you can do: Contributing/To-Do List
What not to do
A lot of the content on the Wiki is also generated via Lua functions. Please be cautious around this. If you notice a page generated by Lua, contact one of the Wiki Admins before editing the page.
If you wish to add information on pages with generated content, please edit the text above the placement of the template. For example, Crown of Rhaelyx.
Generated content currently includes:
- The Item Template, Armour Stats Template, and Weapon Stats Template on Item pages
- The Item Source Templates generated for each item page
- The Monster Template on Monster pages
- The Dungeon Template, Slayer Area Template, and Combat Area Template on Dungeon, Slayer Area, and Combat Area pages respectively
- The Prayer Template on Prayer pages
- The Spell Template, Aurora Template, Curse Template, Ancient Magick Template, and Alt. Magic Template on Spell pages
- The Pet Template on Pet pages
- The Shop Upgrade Template on Upgrade pages, with the exception of Misc. Upgrades which are maintained manually.
- All Table Templates
If you do find an issue with the accuracy of information in any of these templates, it is possible that the internal game data is flawed, or there has been a recent hotfix (hidden update without a version number change) to the game code and the Lua data modules need to be updated.
Templates
We use a number of templates on the wiki for various purposes. Such as the {{Menu}} template for the menu at the bottom of the page.
Versioning
We have created a system of templates to mark which pages are up to date. At the top of every page there should be a template indicating for which version the page is written. This will look like either {{V}}
or {{V|1.0}}
.
- If a page is entirely populated by Lua-powered templates, then simply add
{{V}}
to the top of the page. - If a page contains a decent amount of user-written text that has the potential to change with each version, then the version number should be specified. For example, if a page is written for version 1.0 you would add
{{V|1.0}}
to the top of the page.
Each page should have a version attached to it. Every version can be found in the Versions Category. One of the main tasks is to make sure that pages are up to date.
You can view the versioning system in action on the top right corner of this page.
Main article
If you have a bit of text in a page but have more text explaining that concept on another page, it might be a good idea to use the Main Template. This template adds a formatted link to the main article to the page. It can be seen in action on the Beginners Guide.
Icons
{{Icon|Loot Container Stacking}}
|
Loot Container Stacking |
{{Icon|Zarrah|type=pet}}
|
Error creating thumbnail: File missing Zarrah
|
{{PetIcon|Zarrah}}
|
Error creating thumbnail: File missing Zarrah
|
{{MonsterIcon|Necromancer}}
|
Necromancer |
{{ZoneIcon|Strange Cave}}
|
Error creating thumbnail: File missing Strange Cave
|
{{Skill|Mining|Rock extraction}}
|
Error creating thumbnail: File missing Rock extraction
|
{{PrayerIcon|Eagle Eye}}
|
Error creating thumbnail: File missing Eagle Eye
|
{{ItemIcon|Pig}}
|
Error creating thumbnail: File missing Pig
|
{{Icon|Wind Strike|type=spell}}
|
Error creating thumbnail: File missing Wind Strike
|
{{Icon|Weakening III|type=curse}}
|
Error creating thumbnail: File missing Weakening III
|
{{UpgradeIcon|Golbin Crate|nolink=true}}
|
Golbin Crate |
{{ItemIcon|Lucky Herb Potion}}
|
Lucky Herb Potion |
Combat icon {{Icon|Melee|notext=true}}
|
Combat icon Error creating thumbnail: File missing
|
{{GoldPrice|price=100|text=units of currency}}
|
Template:GoldPrice |
Special wiki stuff
#REDIRECT [[Currency]] | A single line with this in a page, will redirect it to the given page |
{{:Currency}} | Includes the whole Currency page here |
<nowiki>something</nowiki> | Disables wiki formatting for the string inside |
<onlyinclude>Hello</onlyinclude> | When including the page, it will only display this text |
<includeonly>Hello</includeonly> | Will only include the text while transcluding it, not in the source page |
<noinclude>Hello</noinclude> | Removes this text when importing the page it as an include |
Tables
{{AreaMonsters|Spider Forest}}
|
| ||||||||||||||||||||||||||||||||||||
{{CombatTriangleAdjustmentTable}}
|
Template:CombatTriangleAdjustmentTable | ||||||||||||||||||||||||||||||||||||
{{EquipmentTableFromList|Aeris God Helmet,Aeris God Platebody,Aeris God Platelegs,Aeris God Boots,Aeris God Gloves}}
|
ERROR: Some items not found in database: 'Aeris God Helmet,Aeris God Platebody,Aeris God Platelegs,Aeris God Boots,Aeris God Gloves'
|
Tables with Sticky Headers
Some of the tables on the wiki have headers which are "sticky", that is they will remain at the top of a table as the user scrolls down. See Equipment for an example of this. In order to implement this on your tables first add the class "stickyHeader" to the start of the table. E.g:
{| class="wikitable sortable"
would become:
{| class="wikitable sortable stickyHeader"
Before you start your first row of headers you then add |- class="headerRow-0"
before it.
If you have a second row of headers you must add |- class="headerRow-1"
before it.
As an example:
First Column 1 | Second Column 1 | Third Column 1 |
---|---|---|
First Column 2 | Second Column 2 | Third Column 2 |
1 | 2 | 3 |
Can be generated with the following wikitext
{| class="wikitable sortable stickyHeader" |- class="headerRow-0" ! First Column 1 ! Second Column 1 ! Third Column 1 |- class="headerRow-1" ! First Column 2 ! Second Column 2 ! Third Column 2 |- | 1 | 2 | 3 |}
Melvor Idle version v1.3.1 (Released: 30th October 2024) |
---|
Error creating thumbnail: File missing Combat: Error creating thumbnail: File missing Attack • Error creating thumbnail: File missing Strength • Error creating thumbnail: File missing Defence • Error creating thumbnail: File missing Hitpoints • Error creating thumbnail: File missing Ranged • Error creating thumbnail: File missing Magic • Error creating thumbnail: File missing Prayer • Error creating thumbnail: File missing Slayer • Error creating thumbnail: File missing Corruption
|
Skills: Error creating thumbnail: File missing Farming • Error creating thumbnail: File missing Township • Error creating thumbnail: File missing Woodcutting • Error creating thumbnail: File missing Fishing • Error creating thumbnail: File missing Firemaking • Error creating thumbnail: File missing Cooking • Error creating thumbnail: File missing Mining • Error creating thumbnail: File missing Smithing • Error creating thumbnail: File missing Thieving • Error creating thumbnail: File missing Fletching • Error creating thumbnail: File missing Crafting • Error creating thumbnail: File missing Runecrafting • Error creating thumbnail: File missing Herblore • Error creating thumbnail: File missing Agility • Error creating thumbnail: File missing Summoning • Error creating thumbnail: File missing Astrology • Error creating thumbnail: File missing Alternative Magic • Error creating thumbnail: File missing Cartography • Error creating thumbnail: File missing Archaeology • Error creating thumbnail: File missing Harvesting
|
Other: Error creating thumbnail: File missing Beginners Guide • Guides • Error creating thumbnail: File missing Bank • Error creating thumbnail: File missing Combat • Error creating thumbnail: File missing Mastery • Error creating thumbnail: File missing Money Making • Error creating thumbnail: File missing Shop • Easter Eggs • Pets • Error creating thumbnail: File missing Golbin Raid • Error creating thumbnail: File missing Full Version • Throne of the Herald • Atlas of Discovery • Error creating thumbnail: File missing Into the Abyss
|
Reference Tables: Items, Equipment, Experience Table, Upgrading Items, Combat Areas, Slayer Areas, Dungeons, Strongholds, The Abyss, Monsters |