Changes

Tips for contributing to the SVR Wiki

1,795 bytes added, 16:52, 8 January 2017
add guidance on category pages
The Table of Contents is automatically generated once a page has enough length and sections to warrant it.
 
===Categories===
 
A category page automatically generates a list of pages which have been assigned to that category. To assign a page to a category, add a link to the required category page at the bottom of the chosen source page. For example, adding '''<nowiki>[[Category:Rolling stock at Kidderminster Railway Museum]]</nowiki>''' to the page [[GWR 40362 PW Brake Van]] has resulted in a link to that page appearing on the category page [[:Category:Rolling stock at Kidderminster Railway Museum]]. New category pages can be created in this manner by entering a new category page name; category page names must begin with '''Category:'''.
 
Once a category page is created, other information such as an introduction may be added to it as required. The source page will automatically display the category at the bottom of the page, as can be seen in the Brake Van example. If the category is not to be displayed (for example category pages relating to ‘As of’ dates), this is achieved by adding the magic word '''<nowiki>__HIDDENCAT__</nowiki>''' in the category page. To include a link to a category page in the text on another page, the link should begin with a colon, for example in the paragraph above the link is typed '''<nowiki>[[:Category:Rolling stock at Kidderminster Railway Museum]]</nowiki>'''; without the colon this page would become a member of that category instead!
 
Pictures may also be assigned to categories in the same manner, they will then appear in file name order. However it may be preferable to include these using a manually created gallery instead as has been done on the KRM Rolling Stock category page; this allows the inclusion of externally linked images from Wikimedia Commons and also allows for captions to be used in place of the image file name.
=== Lists ===
Trustworthy, administrator
11,918
edits