Module talk:Userbox

Latest comment: 2 years ago by MarcoAurelio in topic Protected edit request on 3 February 2022

Edit request

edit

{{editprotected}}

Add these lines of css to tableroot to deal with extra margins found on mobile devices.

:css('margin-bottom', '0')
:css('margin-top', '0')

--Artoria2e5 (talk) 05:56, 13 March 2017 (UTC) Artoria2e5 (talk) 05:56, 13 March 2017 (UTC)Reply

Ah, just the top one. The bottom one is already there. Artoria2e5 (talk) 06:01, 13 March 2017 (UTC)Reply

Done. --Steinsplitter (talk) 18:26, 15 March 2017 (UTC)Reply

Use TemplateStyles

edit

Please apply Special:Diff/21748350/21765441 in order to use TemplateStyles (Module:Userbox/styles.css).

I have already confirmed that this works in {{Userbox/sandbox}}, {{Userbox-r}}, {{Userbox-level}}, {{Userbox sister project}}, and {{User tech ambassador}}; the last three of which use additional TemplateStyles stylesheets (Template:Userbox-level/styles.css, Template:Userbox sister project/styles.css, and Template:User tech ambassador/styles.css respectively). — ExE Boss (talk) 07:20, 22 July 2021 (UTC)Reply

@ExE Boss: looks like this has been open a long time - I'm missing why this is a good idea though - can you expand? Normally very in support of moving styling from pages like common.css to template styles - but this doesn't seem to be doing that, just adding more abstraction complexity? — xaosflux Talk 12:58, 26 October 2021 (UTC)Reply
  Not done for now - please reopen if providing a response. — xaosflux Talk 10:37, 4 November 2021 (UTC)Reply

Protected edit request on 3 February 2022

edit

Please remove line 358:

chargs.main = '[[Category:Pages with templates in the wrong namespace]]'

This line currently categorizes any usages of userbox in the main namespace into Category:Pages with templates in the wrong namespace. This logic was imported from enwiki along with the rest of the module. However, it is not useful on meta, where there are valid uses of userbox-based templates in mainspace (like InternetArchiveBot#About the bot or Small Wiki Monitoring Team#Userbox). The category page hasn't even been created. AntiCompositeNumber (talk) 18:51, 3 February 2022 (UTC)Reply

Done. Thank you, —MarcoAurelio (talk) 20:05, 4 February 2022 (UTC)Reply
Return to "Userbox" page.