Template talk:Shortcut
| To help centralize discussions and keep related topics together, Template talk:Policy shortcut redirects here. |
| Template:Shortcut is indefinitely protected from editing as it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
Text has been copied to or from this page; see the list below. The source pages now serve to provide attribution for the content in the destination pages and must not be deleted as long as the copies exist. For attribution and to access older versions of the copied text, please see the history links below.
|
| On 13 February 2025, it was proposed that this page be moved to Template:Linkbox. The result of the discussion was not moved. |
This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Description of suggested change:
Diff:
| line 52: | line 52: |
| if options.target and yesno(options.target) then | if options.target and yesno(options.target) then |
| listItems[i] = templateMode | listItems[i] = templateMode |
| and string.format("{{%s[[%s|%s]]}}", prefix, templatePath, shortcut) | and string.format("TM:{{%s[[%s|%s]]}}", prefix, templatePath, shortcut) |
| or string.format("[[%s]]", shortcut) | or string.format("[[%s]]", shortcut) |
| else | else |
| line 60: | line 60: |
| } | } |
| if templateMode then | if templateMode then |
| listItems[i] = string.format("{{%s%s}}", prefix, listItems[i]) | listItems[i] = string.format("TM:{{%s%s}}", prefix, listItems[i]) |
| end | end |
| end | end |
Whatback11 (talk) 17:23, 5 June 2025 (UTC)
{{sh|TM:Shortcut}} is already available for usage, as shown to the right. Sorry, but I don't think that adding a note below the template shortcut(s) would help editors. The notes would really get hairy when there are two or more template shortcuts in the box. P.I. Ellsworth , ed. – welcome! – 16:07, 23 November 2025 (UTC)
@Whatback11:
Not done for now: please establish a consensus for this alteration before using the {{Edit template-protected}} template. Est. 2021 (talk · contribs) 16:24, 10 July 2025 (UTC)
Would somebody mind helping me fix the short cut at WP:CITE#Citations in explanatory footnotes? I changed the title of the header, and that seems to have broken it. The name of the shortcut is WP:EXPLNOTESECT.---- CharlesTGillingham (talk) 16:03, 1 July 2026 (UTC)
| It is requested that an edit be made to the template-protected module at Module:Shortcut. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the module's sandbox before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
This can't possibly be controversial so I'll open an edit request. The module should wrap each shortcut in a nowrap span for cases like Special:PermanentLink/1366587294, where 1 short shortcut uses 2 lines instead of 1, see sandbox.
This is an explanatory essay about the Wikipedia:Content forks and Wikipedia:Talk page guidelines. This page provides additional information about concepts in the page(s) it supplements. This page is not one of Wikipedia's policies or guidelines, as it has not been thoroughly vetted by the community. |
| Line 63: | Line 63: |
| end | end |
| end | end |
| -- Wrap each shortcut in a nowrap span for shortcuts like [[WP:CFORK/I]] in [[Special:PermanentLink/1366587294]] | |
| listItems[i] = string.format('<span class="nowrap">%s</span>', listItems[i]) | |
| end | end |
| table.insert(listItems, options.msg) | table.insert(listItems, options.msg) |
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.