Template talk:Boxboxtop

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

New parameter name and localization[edit]

  • Please, can you add "header" parameter (also see old {{Babel}} parameter names).
  • And, most important, can you add Italian translation?

This is the new code (on the right you can see the example):

Userboxes
{|name="userboxes" id="userboxes" style="margin-left: 1em; margin-bottom: 0.5em; width: 242px; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; {{{extra-css|}}}" align="{{{2|{{{align|right}}}}}}"
!{{{1|{{{toptext|{{{header|[[Commons:Userboxes|{{LangSwitch
 |en = Userboxes
 |it = Box utente
}}]]}}}}}}}}}
|-
|<noinclude>
{{boxboxbottom}}
{{documentation}}
</noinclude>

{{Edit request}} Thanks in advance. --FRacco (talk) 16:13, 21 February 2015 (UTC)[reply]

✓ Done Awesome! Thank you! Rillke(q?) 22:30, 9 March 2015 (UTC)[reply]

Template-protected edit request on 27 May 2020[edit]

{{Edit request}} Please, apply Special:Diff/152626559/422129453 to

  1. hide table header cell when empty value is passed to parameter |toptext=
  2. add ability to stylize top text with parameter |toptextcss=

New tests are at Template:Boxboxtop/testcases. —⁠andrybak (talk) 23:44, 27 May 2020 (UTC)[reply]

✓ Done with additional changes. — Speravir – 23:55, 11 June 2020 (UTC)[reply]