Editing
From Glasgow
A quick overview of syntax that might be useful in editing GlasgowGuide articles.
Contents |
[edit] Links
To link to another article in this guide simply enclose the word(s) in two sets of square brackets. This is recommended even if an article doesn’t already exist for a particular phrase, somebody will create it eventually. e.g.
[[Bon Accord]] is near [[Cleveland Street]]
shows as:
Bon Accord is near Cleveland Street.
To link to a page outside the guide either type the address directly into the page (the software will convert it to a link) or place the link and an optional (but advisable) description inside a set of square brackets. e.g.
http://glasgow.openguide.co.uk or [http://glasgow.openguide.co.uk GlasgowGuide]
becomes:
http://glasgow.openguide.co.uk or GlasgowGuide
More information about links is available at http://meta.wikimedia.org/wiki/Help:Link
[edit] Sections
Sections are used to break information down into logical groups. When four or more sections are used on a page, a table of contents is automatically created. The sections above (Creating a new article, Links and Sections) are created by enclosing the section title with two equal signs, sub sections are designated with three equal signs and sub sub sections with four equal signs. e.g.
=== an example subsection === ==== an example sub-subsection ====
shows as:
[edit] an example sub section
[edit] an example sub-subsection
More information about sections is available at http://meta.wikimedia.org/wiki/Help:Section
[edit] Categories
To add an article to a category just enclose the text 'Category:' followed by the category name with square brackets and place it anywhere on the page (traditionally at the bottom). You can have an article in more than one category. e.g.
[[Category:Restaurants]] [[Category:Hotels]] [[Category:Pubs]]
If the article has a name that won't show properly if listed in alphabetical order, for example, The Garage, should be listed as Garage, The so it's sorted properly in alphabetical order. To do this use the syntax:
[[Category:Nightclubs|Garage, The]]
More information about categories is available at: http://meta.wikimedia.org/wiki/Help:Category
[edit] Templates
Templates are placed on the page by surrounding the template name with curly brackets. Some of the templates used on the GlasgowGuide:
{{DogFriendly}} {{DogNotFriendly}} {{GayPub}}
{{Beergarden|note=Your note about the beer garden goes here}}
shows:
| Beer garden: Your note about the beer garden goes here |
One of the most used templates is {{Infobox_Pub}}, this is the template that displays the telephone number and address etc at the top right of most pages. It can be called in a similar way to the {{Beergarden}} template. e.g.
{{Infobox_Pub|
tel=0141 123 456|
fax=|
streetno=1|
street=Example Street|
postcode=G1 1AB}}
This would display those details in the top right corner of a given page. Some of the above templates can be seen in use in pages like Bon Accord or McPhabbs.
For more information on editing Mediawiki's in general: http://meta.wikimedia.org/wiki/Help:Editing.


