Wiki Editing

From Exiled Kingdoms Wiki
Revision as of 21:09, 23 May 2017 by M3lkor (talk | contribs) (Created page with "I'm going to give a brief overview of the the layout and what's required to add to the wiki. == Individual Pages == Every item, area, NPC, mob, quest or skill had its own pa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I'm going to give a brief overview of the the layout and what's required to add to the wiki.

Individual Pages

Every item, area, NPC, mob, quest or skill had its own page. The title of the page should be it's name in title case.(First Letter of Every Word in Caps)

The page itself is going to be a template but not within the template namespace. That means when it's called there needs to be a semicolon before the name. I.E.

{{:NameofItem}}

That call will create the page that's intended to be shown only on that items individual page (like going to the Steel Dagger page itself). The default argument is for creating its own page.

To get different data from the call you have to send arguments​(up to 2) that tell the template what to display.

{{:Steel Dagger|genSel|Description}}

Will result in

Sharp steel weapon.

The individual page itself is a template call to whatever type it is (WpnSub, ItmSub, MobSub, etc) But the arguments passed (damage, description) are what is passed and able to be searched. So by calling the item page as a template as above what happened is:

Steel Dagger template call with argument 1 being genSel and argument 2 being Description. That then called WpnSub with all the named arguments from that page in addition to sending argument 1 as Step and argument 2 as Sel.

The Step argument is what determines the output within WpnSub (or any sub) The Sel is what's used to customize the results even more but isn't always necessary.

The Lists

These act as a database that most of the other pages pull from. If you need to change the order of an item in a table, or add an item it's done within these lists.


The Subs