Template:Shortcuts: Difference between revisions
From TrainzOnline
Jump to navigationJump to search
genesis for autocats Shortcuts |
usage |
||
| Line 1: | Line 1: | ||
[[Category:Shortcuts|{{PAGENAME}}]]<noinclude>{{autoTcat}}{{TypeTaid}} | <includeonly>[[Category:Shortcuts|{{PAGENAME}}]]</includeonly><noinclude>{{autoTcat}}{{TypeTaid}}{{doc-page-head}}{{selfTdoc}} | ||
<big>Place this template on a special redirect (Shortcuts) page to auto-categorize the shortcut, which access pages in the TrainzOnline {{h|namespace}}, versus regular article spaces.</big><hr/> | |||
'''''To add a redirect page to the [[:Category:Shortcuts|Shortcuts category]]'':'''<br/> | |||
1. formulate the using the syntax (all CAPS!) <code>'''<nowiki>[[TOL</nowiki><big>:</big>''shortcut-name'']],'''</code> | |||
* Remember, ''shortcut names'' <u>are SHORT</u>! {{...}} '''Abbreviations of some kind''' ''usually'', like '''<nowiki>[[TOL:EDIT]]</nowiki>''' (Editing help), or even something cryptic, usually initials of pages or phrases; mnemonics! | |||
2. Navigate to the ''new shortcut redirect page (a redlink)'' and type <code><nowiki>#REDIRECT [[TrainzOnline:''pagename'']]{{shortcut}}</nowiki></code> | |||
* (Note: {{tl|Shortcut}} must be on the SAME LINE, as do {{...}} | |||
3. Any axillary category you might need to document the shortcut page too. | |||
[[Category:Shortcuts|*{{PAGENAME}}]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 07:57, 7 July 2013
Place this template on a special redirect (Shortcuts) page to auto-categorize the shortcut, which access pages in the TrainzOnline namespace, versus regular article spaces.
To add a redirect page to the Shortcuts category:
1. formulate the using the syntax (all CAPS!) [[TOL:shortcut-name]],
- Remember, shortcut names are SHORT! … Abbreviations of some kind usually, like [[TOL:EDIT]] (Editing help), or even something cryptic, usually initials of pages or phrases; mnemonics!
2. Navigate to the new shortcut redirect page (a redlink) and type #REDIRECT [[TrainzOnline:''pagename'']]{{shortcut}}
- (Note: {{Shortcut}} must be on the SAME LINE, as do …
3. Any axillary category you might need to document the shortcut page too.