Editing Guide

GP Modder Editing Guide
Welcome modders! This page should answer many of your wiki-editing questions by providing examples and explanations for how things work around here.

If you have any questions that are not covered here, leave a comment on the bottom of the page or ask in the #modding-corner of the Bitten Toast Discord.

# Visual Editor vs Source Editor

Before you edit, know what type of workspace you are using.

## Visual Editor

**The Visual Editor is a more visual layout used for quick editing.** This is good for things like fixing typos, adding quick galleries, or filling in Infoboxes. You can also use it to get a better idea of what the layout will look like, but the "Preview" button at the bottom of the page is often more useful for that.
Drawbacks: The Visual Editor may not display properly, especially if there are errors in the code.
## Source Editor

**The Source Editor is used for more in-depth editing.** This is the preferred mode for many seasoned editors. It is the mode you want to be in if you're working on any type of coding, changing or using different fonts, tweaking spacing or alignment, or any other countless types of edits that can't be easily done in the Visual Editor.
The Source Editor uses **syntax highlighting**. This means text becomes color-coded depending on the 'type' of code it is. It makes things easier to read, and easier to notice where mistake was made.
**Please keep in mind that most tips and answers are based on the assumption you are using the Source Editor.**

**Links on this wiki are *case-sensitive*.**
Be careful to check if you're using the right capitalization, because the same phrase capitalized differently will link to a different page.
* "modder resources" will **not** link to "Modder Resources".
* Typing **{{questinfobox}}** will **not** create a **{{QuestInfobox}}**.

The only exception is if you manually create a redirect page for the different capitalization (or misspelling), which is a blank page with ONLY the following in the code: **#redirect [[Page it will redirect to]]**

# Using Infoboxes

If you have been around the wiki, you will have encountered an Infobox - this is a type of pre-existing template found on every wiki on Fandom. These infoboxes provide a quick-glance summary of the page that a user is reading, and highlights important information.

Most pages on the Garden Paws Wiki use Infoboxes to keep a uniform look about the site. If you are interested in starting a new page, here are the templates to add to the first line of your code depending on what type of page you wish to add:

## Our Infoboxes

The Garden Paws Wiki makes use of special Infoboxes to organize pages. For the sake of consistency, we ask that you stick to these when making new pages or adding to existing ones:

You can click the names of the Infoboxes to see how they are used, and what information fields they will show.

## Editing An Infobox

If you are looking to make an edit on to an infobox on a pre-existing page, it would be best switch to the **Visual Editor** (using the Source Editor works too, but may take you longer).

### Visual Editor

In order to make an edit to an Infobox using the Visual Editor:

1. Go to the page you wish to edit and switch to the 'Visual' tab
2. Move the cursor over the Infobox until you see two options: "edit" and "delete".
3. Click the the "Edit" button
4. Fill in the desired fields. You can click the green "Preview" button to see what it looks like so far.
5. Click "OK" to accept the changes.

The Infobox will auto-format your provided information.

### Source Editor

In order to make an edit to an Infobox (using Source Editor):

* Go to the page you wish to edit and switch to the 'Source' tab
* The Infobox code will appear at the top. Sometimes the information is all condensed into a single line, but the result is the same.

The fields you can edit are the ones that come after the "=" sign. Changing anything before it (even capitalization) will 'break' that line, and it will not show up in the final Infobox.

All elements of an Infobox *before* the equal sign are case sensitive. This is true for all templates.

* For instance, if you changed the "rewards" entry to use a capital letter, so it reads: **"Rewards = 1x [[Workbench]], [[Blueprint]]"**, then the entire "Rewards" section will disappear when you hit "Preview" to view your changes. This is because it looks for "rewards" with all lowercase. Please keep this in mind.

**It is important to know what fields are valid ones for the Infobox type you are editing. For examples, click the Infobox names above to see example template fields.**

# Formatting Shortcuts

We have a few handy shortcuts for icons and basic text formatting.

## Quick Tags

### Icons

* = {{Glasses}}
* = {{Shirt}}
* = {{Pant}}
* = {{Backpack}}
* = {{Wing}}
* = {{Pet}}
* Template:Skin = {{Skin}}
* Template:Food = {{Food}}
* Template:Paintbrush = {{Paintbrush}}
* = {{PumpCoin}}
* = {{GoldCoin}}
* = {{Shard}}
* = {{Bunny Ticket}}
* = {{Summer Ticket}}
* = {{Winter Ticket}}
* = {{Missing}}
* = {{MissingB}}

### Text

* {{TOCright}} = Floats the Table of Contents to the right
* {{TOCleft}} = Floats the Table of Contents to the left
* \_\_NOTOC\_\_ = Removes the Table of Contents entirely
* <pre>Code goes here</pre> = Displays code without formatting
* < nowiki >Wiki markup text</ nowiki > = Displays wiki markup text as plain text (Remove spaces before and after 'nowiki')

# Things to Remember

* Be careful about the capitalization and spelling of page and file names.
* Infoboxes will only autofill images if the image has the exact same name as the page title.
* There are 2 ways to link to a page on the main Garden Paws Wiki:
	1. [https://gardenpaws.fandom.com/wiki/Main\_Page This links to the main page]
	will become This links to the main page
	2. {{GPlink|page=Appearance\_Shop|text=This links to Splash's shop}}
	will become This links to Splash's shop

You MUST use "\_" instead of spaces in the URLs. Spaces can be used in the text that will be linked, as in the above examples.