Wikipedia:Reliable sources/Perennial sources/Shortcut/doc
Appearance
This is a documentation subpage for Wikipedia:Reliable sources/Perennial sources/Shortcut. It may contain usage information, categories and other content that is not part of the original wikipedia page. |
This template uses TemplateStyles: |
Usage
[edit]This template is similar to the {{Shortcut}} template, but it adds a visual box graphic on the rendered page with a pin emoji (📌). However, the anchor must be created manually. Creating a redirect page is a requirement to fulfill the shortcut mechanism.
Usage
[edit]This template can only be used on Wikipedia:Reliable sources/Perennial sources.
- Insert the shortcut template.
- Create a redirect page with the {{R from shortcut}} template suffixed to the redirect. Name the page after your shortcut name. Include the namespace name in both the shortcut name and the redirect page name. For example, substitute your own shortcut name as the title of the page, and substitute the proper namespace, then add the REDIRECT as the top-line on your redirect page, and the category to the third line of the redirect:
#REDIRECT [[Namespace:Title of page with#Optional very long section name]]
{{R from shortcut}}
- Verify operation. Note that shortcut templates should display in all capitals, but operate without all capitals.
This template inserts a linefeed before the box. It is intended to be used immediately following the Wikilink to the article for the source in the first column.
Parameters
[edit]Wikipedia:Reliable sources/Perennial sources/Shortcut takes the following parameters:
1
... - the shortcut link (without brackets).
Example
[edit]Code | Result |
---|---|
{{/Shortcut|WP:FORBES}} | WP:FORBES 📌 |