From Dark and Darker Wiki

mNo edit summary
(Ln(y) tab)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Basics=
<tabber>
There are two ways to edit a page:
|-|Linear=
*Edit aka, "Visual Edit".
<div style="display:inline-block; vertical-align:top; min-width:550px; width:55%; margin-right:40px;">
**If you want to make a simple change -to fix a typo, let's say- then edit is the better and faster option.
{{#widget:DatasetsChart|uniqueId=1Hoardtreasure_HR3|datasets={"labels":[0, 25, 50, 75, 100, 125, 150, 175, 200, 225, 250, 275, 300, 325, 350, 375, 400, 425, 450, 475, 500],"datasets":[{"label":"2","data":[1.0, 0.84902, 0.739258, 0.657067, 0.592511, 0.541233, 0.498804, 0.46412, 0.434549, 0.409781, 0.388129, 0.369863, 0.353686, 0.339913, 0.327543, 0.317101, 0.307695, 0.299859, 0.29273, 0.286992, 0.281855],"borderColor":"#DEDEDE","backgroundColor":"#DEDEDEAA"},{"label":"3","data":[1.0, 0.859332, 0.758213, 0.682312, 0.623696, 0.577007, 0.539248, 0.508346, 0.482832, 0.461465, 0.443576, 0.428578, 0.416101, 0.405624, 0.397022, 0.390038, 0.384619, 0.380532, 0.377716, 0.376136, 0.375806],"borderColor":"#62BE0B","backgroundColor":"#62BE0BAA"},{"label":"4","data":[1.0, 1.069009, 1.119123, 1.156519, 1.185646, 1.208831, 1.227867, 1.243414, 1.256328, 1.267184, 1.276612, 1.28445, 1.291163, 1.296779, 1.301836, 1.305849, 1.309243, 1.312074, 1.31445, 1.316101, 1.317201],"borderColor":"#4A9BD1","backgroundColor":"#4A9BD1AA"},{"label":"5","data":[1.0, 1.100804, 1.172956, 1.227479, 1.269845, 1.30346, 1.330864, 1.353216, 1.372208, 1.388088, 1.401257, 1.412595, 1.422235, 1.430634, 1.437221, 1.443142, 1.448091, 1.45173, 1.454583, 1.456776, 1.458504],"borderColor":"#AD5AFF","backgroundColor":"#AD5AFFAA"},{"label":"6","data":[1.0, 1.13174, 1.226789, 1.29844, 1.354044, 1.398666, 1.43386, 1.463527, 1.48857, 1.508992, 1.526345, 1.54074, 1.553723, 1.564084, 1.573002, 1.580436, 1.586554, 1.591385, 1.595093, 1.597827, 1.599808],"borderColor":"#F7A22D","backgroundColor":"#F7A22DAA"}]}|title=Luck's Effect on Each Luck Grade|yAxisLabel=Probability at  X  Luck  /  Probability at  0  Luck|xAxisLabel=Luck}}</div>
**This mode makes creating and editing tables quicker than in source edit. Pasting a copy selection from Excel/G-Sheets to the wiki is as simple as pasting regular text.
|-|Logarithmic=
***Note: editing colors and other niche properties will require using Source Edit.
<div style="display:inline-block; vertical-align:top; min-width:550px; width:55%; margin-right:40px;">
**Visual Edit isn't accessible on Template pages.
{{#widget:LogDatasetsChart|uniqueId=2Hoardtreasure_HR3|datasets={"labels":[0, 25, 50, 75, 100, 125, 150, 175, 200, 225, 250, 275, 300, 325, 350, 375, 400, 425, 450, 475, 500],"datasets":[{"label":"2","data":[1.0, 0.84902, 0.739258, 0.657067, 0.592511, 0.541233, 0.498804, 0.46412, 0.434549, 0.409781, 0.388129, 0.369863, 0.353686, 0.339913, 0.327543, 0.317101, 0.307695, 0.299859, 0.29273, 0.286992, 0.281855],"borderColor":"#DEDEDE","backgroundColor":"#DEDEDEAA"},{"label":"3","data":[1.0, 0.859332, 0.758213, 0.682312, 0.623696, 0.577007, 0.539248, 0.508346, 0.482832, 0.461465, 0.443576, 0.428578, 0.416101, 0.405624, 0.397022, 0.390038, 0.384619, 0.380532, 0.377716, 0.376136, 0.375806],"borderColor":"#62BE0B","backgroundColor":"#62BE0BAA"},{"label":"4","data":[1.0, 1.069009, 1.119123, 1.156519, 1.185646, 1.208831, 1.227867, 1.243414, 1.256328, 1.267184, 1.276612, 1.28445, 1.291163, 1.296779, 1.301836, 1.305849, 1.309243, 1.312074, 1.31445, 1.316101, 1.317201],"borderColor":"#4A9BD1","backgroundColor":"#4A9BD1AA"},{"label":"5","data":[1.0, 1.100804, 1.172956, 1.227479, 1.269845, 1.30346, 1.330864, 1.353216, 1.372208, 1.388088, 1.401257, 1.412595, 1.422235, 1.430634, 1.437221, 1.443142, 1.448091, 1.45173, 1.454583, 1.456776, 1.458504],"borderColor":"#AD5AFF","backgroundColor":"#AD5AFFAA"},{"label":"6","data":[1.0, 1.13174, 1.226789, 1.29844, 1.354044, 1.398666, 1.43386, 1.463527, 1.48857, 1.508992, 1.526345, 1.54074, 1.553723, 1.564084, 1.573002, 1.580436, 1.586554, 1.591385, 1.595093, 1.597827, 1.599808],"borderColor":"#F7A22D","backgroundColor":"#F7A22DAA"}]}|title=Luck's Effect on Each Luck Grade|yAxisLabel=Probability at  X  Luck  /  Probability at  0  Luck|xAxisLabel=Luck}}</div>
*Source Edit
|-|Ln(y)=
**Takes you to a codebox that highlights wikitext syntax.
<div style="display:inline-block; vertical-align:top; min-width:550px; width:55%; margin-right:40px;">
**"Show preview" allows you to edit code and see the effects of your edits before committing the changes with "Save changes".
{{#widget:DatasetsChart|uniqueId=3Hoardtreasure_HR3|datasets={"labels":[0, 25, 50, 75, 100, 125, 150, 175, 200, 225, 250, 275, 300, 325, 350, 375, 400, 425, 450, 475, 500],"datasets":[{"label":"2","data":[0, -0.163673, -0.302108, -0.419969, -0.5233856, -0.613905, -0.695542, -0.767612, -0.833447, -0.892132, -0.946418, -0.994623, -1.039346, -1.079065, -1.116136, -1.148535, -1.178647, -1.204443, -1.228505, -1.248301, -1.266363],"borderColor":"#DEDEDE","backgroundColor":"#DEDEDEAA"},{"label":"6","data":[0, 0.123756, 0.204400, 0.261164, 0.3031, 0.335519, 0.360370, 0.380849, 0.397816, 0.411442, 0.422876, 0.432263, 0.440654, 0.4473, 0.452986, 0.457701, 0.461564, 0.464605, 0.466932, 0.468645, 0.469884],"borderColor":"#F7A22D","backgroundColor":"#F7A22DAA"}]}|title=Luck's Effect on Each Luck Grade|yAxisLabel=Ln( Probability at  X  Luck  /  Probability at  0  Luck )|xAxisLabel=Luck}}</div>
**If you enter an empty page, i.e. an existing page without content, try using Source Edit. More likely than not, there is code that is hidden within <span style="color:green">&lt;includeonly&gt;</span> html tags.
</tabber>
<br><br>
Try to keep in mind that automation, where possible, is strongly preferred. The wiki relies on contributors having both the knowledge and time to keep information up to date.<br>
Automation, especially through templates, saves time for all wiki editors. If you find yourself copy and pasting things more than once, consider using a template instead as that will make future editing of that content faster.
 
Join the Wiki Discord if you wish to discuss changes and ideas. Other editors can point out resources and such.
 
=MediaWiki=
The Dark and Darker wiki runs on MediaWiki software.<br><br>
This gives the wiki access to a few basic features like magic words, basic text markup, and HTML markup.<br>
Mediawiki also allows the inclusion of several extensions that simulate more traditional programming language elements.<br>
Getting familiar with these features and extensions is critical to being able to read and comprehend source code quickly 'and correctly'.<br><br>
The sections below are not intended to be a comprehensive guide. Follow the links for more detailed information on the features.<br>
The lists below each heading will cover most but not all of the commonly used elements on the Dark and Darker Wiki.
==Basic Features==
===[https://www.mediawiki.org/wiki/Help:Formatting#Text_formatting_markup Text Markup]===
===[https://www.mediawiki.org/wiki/Help:Formatting#HTML_tags HTML Markup]===
===[https://www.mediawiki.org/wiki/Help:Magic_words#Variables Magic Words Variables]===
===[https://www.mediawiki.org/wiki/Help:Magic_words#Parser_functions Magic Words Parser Functions]===
==Extensions==
===[https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions ParserFunction]s===
===[https://www.mediawiki.org/wiki/Extension:ParserFunctions/String_functions ParserFunctions/Strings]===
===[https://www.mediawiki.org/wiki/Extension:Variables Variables]===
===[https://www.mediawiki.org/wiki/Extension:Arrays Arrays]===
===[https://www.mediawiki.org/wiki/Extension:Loops##loop Loops]===
===[https://www.mediawiki.org/wiki/Extension:TabberNeue#Simple_tabbers Tabber]===
Tabber extension allows content to be created under tabs.
{{CodePreview|
<pre><tabber>
|-|Content1=
Here is your content 1
|-|Spells=
Spells here etc.
</tabber></pre>}}

Latest revision as of 19:26, 18 September 2024