From Dark and Darker Wiki

m (/Wiki_Editing mockup)
mNo edit summary
Line 17: Line 17:


=MediaWiki=
=MediaWiki=
The Dark and Darker wiki runs on MediaWiki software.<br>
The Dark and Darker wiki runs on MediaWiki software.<br><br>
This gives the wiki access to a few basic features like gagic words, basic text markup, and HTML markup.<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>
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>
Getting familiar with these features and extensions is critical to being able to read and comprehend source code quickly 'and correctly'.<br><br>

Revision as of 21:07, 14 March 2024

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 <includeonly> html tags.



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.
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.

This gives the wiki access to a few basic features like magic words, basic text markup, and HTML markup.
Mediawiki also allows the inclusion of several extensions that simulate more traditional programming language elements.
Getting familiar with these features and extensions is critical to being able to read and comprehend source code quickly 'and correctly'.

The sections below are not intended to be a comprehensive guide. Follow the links for more detailed information on the features.
The lists below each heading will cover most but not all of the commonly used elements on the Dark and Darker Wiki.

Basic Features

Text Markup

HTML Markup

Magic Words Variables

Magic Words Parser Functions

Extensions

ParserFunctions

ParserFunctions/Strings

Variables

Arrays

Loops

Tabber

Tabber extension allows content to be created under tabs.

Code Preview
{{{1}}}
<tabber>
|-|Content1=
Here is your content 1
|-|Spells=
Spells here etc.
</tabber>