|
|
Line 1: |
Line 1: |
| =Basics=
| |
| There are two ways to edit a page:
| |
| *Edit aka, "Visual Edit".
| |
| **If you want to make a simple change -to fix a typo, let's say- then edit is the better and faster option.
| |
| **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.
| |
| ***Note: editing colors and other niche properties will require using Source Edit.
| |
| **Visual Edit isn't accessible on Template pages.
| |
| *Source Edit
| |
| **Takes you to a codebox that highlights wikitext syntax.
| |
| **"Show preview" allows you to edit code and see the effects of your edits before committing the changes with "Save changes".
| |
| **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"><includeonly></span> html tags.
| |
| <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>}}
| |