Help:Editing

From Zen Cart(tm) Wiki
Jump to: navigation, search

Introduction

Remember that the content is more important than the structure. If you have something you'd like to add to the wiki but don't know where to put it or how to format it, just create a new page, name it as something related to your topic and add your content there. If it's really needed, someone else may edit the formatting and structure later, but it is, after all, the content that is most important.


Don't forget, you can add a content page without linking it into the structure. This allows you to get started adding content without a formal structure being in place. For example, to add a page called bobsTipsOnCSS, just type http://www.zen-cart.com/wiki/index.php/BobsTipsOnCSS as the URL.


If you want to test out how to edit the wiki you can try the SandBox. Feel free to edit it as much as you like.


If you are unsure what to do, click the 'discussion' tab on top of the page for the section you're interested in and add a comment/question, or post something to the support forum wiki documentation thread.


Editing overview

Starting a new page

  1. Page name

Referencing

  1. Links
  2. Piped links
  3. URLs
  4. Anchors

Formatting

  1. Lists
  2. Tables
  3. HTML in wikitext
  4. Image & File uploads
  5. Image page

Organizing

  1. Sections
  2. Templates
  3. Categories
  4. Redirects

Saving effort

  1. Editing shortcuts
  2. Editing toolbar
  3. Magic words

Communicating

  1. Edit summary
  2. Talk page
  3. Edit conflict
  4. Minor edit

Frequently Asked Questions


If you've got a lot of time on your hands and want to learn more about writing articles or MediaWiki in general, try these links:


Menu Bar Navigation

You will notice that some pages have a navigation menu at the top of the page. Something like this.



The code to get that menu bar is:

{{Template:menuBarInstallation}}

This code would be added at the top of the page.


There is currently a menu bar for each main section of the wiki. The menu bars can be edited at

Template:menuBarIntroduction : Introduction menu
Template:menuBarInstallation : Installation menu
Template:menuBarCustomising : Customisation menu
Template:menuBarDevelopers : Developers menu
Template:menuBarStoreOwner : Store Owners menu


Tips & tricks

Wiki headers will automatically create anchors + TOC

= Header Level 1 =
== Header Level 2 ==
=== Header Level 3 ===
==== Header Level 4 ====
===== Header Level 5 =====
====== Header Level 6 ======

The above headers will create the following anchors

#Header_Level_1
#Header_Level_2
#Header_Level_3
#Header_Level_4
#Header_Level_5
#Header_Level_6

A table of contents (TOC) will also automatically be created from these anchors unless you include __NOTOC__ somewhere on the page.


Avoiding wiki syntax

<nowiki>This will not be parsed for wiki syntax</nowiki>
<pre>This creates a box which will not be parsed for wiki syntax.</pre>

Note that in the above example and in this line, we had to use the html entities &#60; for < and &#62; for > in order to display the special tags <nowiki> and <pre>.


Prebuilt info boxes

I have created some little info (alert) type boxes. There are currently three

Info.png Information!
This is some useful information.
Warning.png Warning!
Warning Will Robinson Warning
Idea.png Useful Hint!
This is a very useful hint


You can call the boxes by putting the following in your page

{{infoBox|Title|Content}}
{{warningBox|Title|Content}}
{{hintBox|Title|Content}}

where you replace the Title and Content tags with whatever you want.


Note: There's an issue with these info-boxes where if a link contains a query string, it will mess up the entire box. The solution is to use <nowiki> tags, only around the query string.

[http://domain.tld/example.php?<nowiki>query=string&this=example</nowiki> link text]