Template talk:Shortcut/Archive 3
Appearance
![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 | Archive 3 |
Template-protected edit request on 16 February 2021
![]() | This edit request to Module:Shortcut/config, Module:Shortcut, Template:Template shortcut and Template:Shortcut/styles.css has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please sync:
- Module:Shortcut/config with Module:Shortcut/config/sandbox
- Module:Shortcut with Module:Shortcut/sandbox
- Template:Template shortcut with Template:Template shortcut/sandbox
Then add to Template:Shortcut/styles.css:
div.shortcutbox-left {
float: left;
margin: 0 1em 0 0;
}
I will happily update {{Policy shortcut}} and {{Shortcut-l}} myself if pinged. –MJL ‐Talk‐☖ 17:17, 16 February 2021 (UTC)
- Do we even need {{Policy shortcut}} at all? What use is there of having "Policy shortcuts" as the heading instead of "Shortcuts"? Nardog (talk) 17:21, 16 February 2021 (UTC)
- @Nardog: I don't know, but it wasn't formally nominated at the TFD. Therefore, I didn't make a judgement on consensus regarding it. –MJL ‐Talk‐☖ 17:23, 16 February 2021 (UTC)
- That doesn't stop us from being bold. Unless someone makes an incredibly compelling argument for keeping it as a separate template, I would hold off on incorporating {{Policy shortcut}} into the module. (I've made some changes to the sandbox module and CSS.) Nardog (talk) 17:35, 16 February 2021 (UTC)
- Speaking of which, {{Shortcut-l}} is only used in ~40 pages, so that also could be redirected to the main template with its uses converted to
{{Shortcut|float=left}}
. Nardog (talk) 18:02, 16 February 2021 (UTC)- I've merged {{Shortcut-l}} with
{{Shortcut|float=left}}
. Nardog (talk) 19:35, 16 February 2021 (UTC)
- I've merged {{Shortcut-l}} with
- @Nardog: I don't know, but it wasn't formally nominated at the TFD. Therefore, I didn't make a judgement on consensus regarding it. –MJL ‐Talk‐☖ 17:23, 16 February 2021 (UTC)
Doing... without the policy option for now. I've realized not all options of {{Template shortcut}} were incorporated into the module, so I'll take care of that. Nardog (talk) 17:58, 16 February 2021 (UTC)
Done incorporating the features of {{Template shortcut}}. Nardog (talk) 19:03, 16 February 2021 (UTC)
Template reacts weirdly in help pages
At least in SqWiki. I didn't want to test it here in fear of irritating anyone.
Check an example at the bottom here.
It would be strange if that was the case only for us at SqWiki because the corresponding modules and templates are exactly the same as in here. - Klein Muçi (talk) 12:52, 15 October 2021 (UTC)
- The problem seems to be that "N:PP", which you are passing to {{shortcut}}, is an invalid title since "n" is an interwiki prefix for Wikinews (that is sq:N:PP goes to the Albanian Wikinews rather than the Albanian Wikipedia). It has nothing to do with what namespace the page is in, except that by chance the first letter of the Albanian word for "Help" conflicts with an interwiki prefix, whereas the first letter of the English word doesn't. * Pppery * it has begun... 01:12, 16 October 2021 (UTC)
- Oh, wow... Talk about luck. Hmm... Can an error message be added about cases like this? Or maybe a warning in the doc subpage?
- Thank you, Pppery though! I'll go with "ND" instead of "N". :P - Klein Muçi (talk) 10:01, 16 October 2021 (UTC)