MyWiki:WikiProject Korea/Reliable sources/Shortcut/doc
| This is a documentation subpage for MyWiki:WikiProject Korea/Reliable sources/Shortcut. It may contain usage information, categories and other content that is not part of the original mywiki page. |
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.
Usage
[edit source]This template is based on Wikipedia:Reliable sources/Perennial sources/Shortcut/doc; see that template for attribution.
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 source]This template can only be used on Wikipedia:WikiProject Korea/Reliable 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 source]Wikipedia:WikiProject Korea/Reliable sources/Shortcut takes the following parameters:
1... - the shortcut link (without brackets).
Example
[edit source]| Code | Result |
|---|---|
| {{/Shortcut|WP:NAMUWIKI}} | WP:NAMUWIKI}} |