Template talk:Navbox documentation
Template:Navbox documentation is permanently protected from editing because 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 extended-protected}} to notify an administrator, template editor or extended-confirmed 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. This template does not have a testcases subpage. You can create the testcases subpage here. |
Wikipedia Help Template‑class | |||||||
|
Relevant BRFA[edit]
You are invited to join the discussion at Wikipedia:Bots/Requests for approval/SdkbBot 4. {{u|Sdkb}} talk 05:10, 2 August 2023 (UTC)
- @Sdkb: I didn't see this earlier, but I really appreciate what you're doing over there! :D –MJL ‐Talk‐☖ 16:52, 28 August 2023 (UTC)
Documentation[edit]
The message box at the top of the template says "This template does not display in the mobile view of Wikipedia; it is desktop only. Read the documentation for an explanation.". What documentation is it referring to? Thanks. DH85868993 (talk) 06:11, 1 September 2023 (UTC)
- Yeah, it isn't explained anywhere. I'm not sure if there's a documentation page... documenting this well. SWinxy (talk) 18:31, 8 November 2023 (UTC)
Proposal: Upgrade to include param TemplateStyles[edit]
Please add optional parameter |styles=
(alias: |TemplateStyles=
) which takes the value of the TemplateStyles file used by the template, and displays it in the style of template {{Uses TemplateStyles}}. Ideally, there should be a default value, so that if the param is included with no value, then the value passed to {{Uses TemplateStyles}} should be a file name consisting of the name of the template with /styles.css
appended; that is, for Template:Foo, including |styles=Template:Foo/styles.css
in {{Navbox documentation}} would be equivalent to including the parameter with no value. Thanks, Mathglot (talk) 17:51, 8 November 2023 (UTC)
- The second unnamed parameter can be used instead. It can be used for both adding more template banners, but also for things like {{Template shortcut}} and {{Uses TemplateStyles}}. SWinxy (talk) 18:28, 8 November 2023 (UTC)