Help:Editing & Formatting
From MixesDB
| ||||||||||
| ||||||||||
Contents |
Edit Toolbar
When you're editing a page, you'll see the edit toolbar. Use the buttons to enter insert codes to make the life easier. The yellow ones are templates for adding new mix pages and described here. The green buttons link undefined categories to main categories as described here.
| Icon | Function | Input | Output |
|---|---|---|---|
| Line Break (as explained in File Details / Notes & Tracklist) | <list> row 1 row 2 row 3 </list> | row 1 |
| Break (as explained in File Deatils / Notes & Tracklist) | row 1<br>
row 2 | row 1 row 2 |
| Bold or strong emphasis | '''abc''' | abc | |
| Italic or emphasis | ''abc'' | abc | |
| Horizontal line | ---- |
| |
| Signature mostly used on Talk / discussion pages (not comments) | --~~~~ |
--MDB 20:37, 5 March 2008 (CET) |
WikEd Toolbar
The WikEd toolbar is a very powerful integrated text editor. It's not really WYSIWYG (what you see is what you get) but WYSIWYM (what you see is what you mean). Currently it only works for Mozilla browsers such as Firefox. It's client-based, i.e. if it may slow down your browser it's not the "server's fault".
Using this is no must, it's just an option. If it gets on your nerves, don't use it. We recommend this only to more advanced users. Play around and enjoy.
Activate / Deactivate
It can be generally activated in your user preferences under "Gadgets". Just check "WikEd toolbar" and save. It is now active.
The active status can be seen the upper right:
. Just go and edit some page to see it working. You can disable it clicking the icon so it switches to
.
You can also deactivate it while you edit (e.g. when the you don't need the syntax highlighting atm). To toggle between the standard Editor toolbar and WikEd just click the
or the next button in the very right box. If you activate it while editing, be sure to deactivate before saving (bug).
Some hints
- If you think this has too many bugs try turning off the syntax highlighting with
. It's much lighter then.
- The standard Editor Toolbar can be used in combination with WikEd, although the insert function don't place the cursor where it does without WikEd.
- There are too many functions / options to explain here while half of them are quite useless for MixesDB (but it's better not to remove them). See the general description.
- The syntax highlighting doesn't refresh while you type.
- For tracklists
is quite useful as it adds # (for auto-numbering) in front of every marked row...
- In tracklists (when using # in front) you can convert copy-pasted Hyperlinks into wiki markup using the wikify button
.
- Example: Link >> [http://mixesdb.com/db/index.php/Main_Page Link]
- We will see if we can expand the find / replace functions with some "Tracklist cleaner" option.
- Also check the new buttons below the edit section. Use
for a preview, cos it will load below and feels more comfortable than loading above.
is useful to change marked UPPER CASE or lower case text to Normal Capped Text.
Links
| Icon | Function | Input | Output |
|---|---|---|---|
| none | Internal link (links to database pages) | [[2003 - Luke Vibert @ Atlantis]] [[2003 - Luke Vibert @ Atlantis|Alternative Link Text]] [[:Category:The Chosen Few]] [[:Category:The Chosen Few|The Chosen Few]] [[Help:General]] [[Help:General|Link to General Help]] | 2003 - Luke Vibert @ Atlantis Alternative Link Text Category:The Chosen Few The Chosen Few Help:General Link to General Help |
| External link (any URL) | http://www.discogs.com [http://www.discogs.com your text] | http://www.discogs.com your text |
Internal links: Whenever a linked page doesn't exist, the link appears in red.
Renaming (moving) a page
To rename a mix page, you must be logged in. Just click the [move] link on the according page and correct the name (be sure it's correct this time!). All links in the database will be updated*, links which are posted somehwere else will be directed to the new page as well. If you rename your new title again, those links from the original page name will redirect to your first renamed title, not the second.
Before you move a mix page check what other pages link to it. If the tracklist state icon should be displayed on that page, it's better to link to the renamed title (otherwise it will link to the redirect page). To check, click "What links here" in the toolbox when you're on the mix page you want to rename.
Dates: We use the YYYY-MM-DD date format, but also use e.g. "1997 - Massive Attack - Novamix, 02-12-1997" since it's not clear if it's December 2nd or February 12th (used differently in US and in Europe). So we use 1997 in front only (ofr sorting in categories) as it's not wrong and the most correct we can do. Don't change such dates if you're only assuming the correction.
DJ & DJ: Use & oly when the DJs really played back to back together. If they only play after each other use "DJ, DJ". Don't change such joiners if you're only assuming the correction.
You can find more information here.
*In a category you may still see the old name. Read The page doesn't refresh?.
Images
For adding images to a category or Mix page, you need to upload the image first (toolbox > Upload file). Copy the file name and enter it in the code for adding the image.
| Icon | Function | Input | Output |
|---|---|---|---|
| Text1 Text2 | |||
| Text | |||
| Text |
Note: If you want to add an image that doesn't lead to the description page, use {{#icon: Filename.jpg}}
Images in Notes & Tracklist section
| Copy | Input | Output | Example | ||
|---|---|---|---|---|---|
|
{|{{InvisTableFormat}}| |
{|{{InvisTableFormat}}| |
Track 1 | Example | ||
|
{|{{InvisTableFormat}}| |
{|{{InvisTableFormat}}| |
| Example |
Gallery
Galleries are useful when you have multiple images and just want to display them as thumbnails.
When you have a gallery you want to use on multiple mix pages like for an event; do it like this:
Create a template page (which includes the gallery code) and call the template on the mix pages. The advantage is that you only need to change the gallery on 1 place which is the template, so you can easily add / change the images.
Example: This mix page calls this template which includes the gallery code. Click on "What links here" on the bottom of the sidebar and you'll see all mix pages using this gallery.
| Copy | Input |
|---|---|
|
<gallery align="right"> </gallery> |
<gallery align="right"> |
| Output | Example | ||
|---|---|---|---|
|
|
| Copy | Input |
|---|---|
|
<gallery align="right" widths="100px" heights="100px" perrow="1"> </gallery> |
<gallery align="right" widths="100px" heights="100px" perrow="1"> |
| Output | Example | ||
|---|---|---|---|
|
abc |
Colors
To format text in colors you need the span tag and hexadecimal color codes. Example:
| Input | Output | Copy and change the color code |
|---|---|---|
| <span style="color:#828282;">Grey</span> | Grey | <span style="color:#828282;"></span> |
| <span style="color:#00868B;">Green</span> | Green | <span style="color:#00868B;"></span> |
| <span style="color:#FF0000;">Red</span> | Red | <span style="color:#FF0000;"></span> |
Tables
See http://en.wikipedia.org/wiki/Help:Table for more information.
Below some pre-formatted tables you can copy-paste by editing this page:
| Simple | Table |
Invisible Table:
| 1 | 2 |
| 3 | 4 |
| Head |
|---|
| Cell |
| 1a | 2b | 3c |
|---|---|---|
| 4d | 5e | 6f |
| 1 | 2 | 3 |
|---|---|---|
| 4 | 5 | 6 |
| 7 | 8 | 9 something here |
| 10 | 11 | |
| 12 | ||
| Coloured |
| Table |
Coloured Background

