Jump to content

Template talk:Big

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Size

[edit]

Can we discuss this before making more changes? Please list your choice of the hour and back it up. --  Gadget850 talk 01:02, 26 October 2014 (UTC)[reply]

  • Key points to consider in deciding how to do this properly:
    • The HTML Big Element (<big>) makes the text font size one size bigger (for example, from small to medium, or from large to x-large) up to the browser's maximum font size.[1]
    • The big element is a text formatting control that increases the enclosed text by one size increment, based on the old HTML font sizes 1 through 7.[2]
    • If you insert a <big>...</big> tag over text that is already font size 7, it will not get any larger.[3]
    • Larger or smaller than the parent element's font size, by roughly the ratio used to separate the absolute size keywords above.[4]
    • {xx-small, x-small, small, medium, large, x-large, xx-large}: A set of absolute size keywords based on the user's default font size (which is medium). Similar to presentational HTML's <font size="1"> through <font size="7"> where the user's default font size is <font size="3">.[4]
Based on these key points
  • "1.2em" is out of the question because it doesn't always make things bigger, and may in fact make them smaller. It also is not nestable.
  • "115%" / "120%" is less desirable due to the fact that it does not limit text size to a size equal to font size 7.
  • "larger" does exactly what <big>...</big> does, it increments the size of the text by one level (eg from "medium" to "large"), is nestable, and stops when the max value of 7 ("xx-large") has been reached. If we are going to have a template that is suppose to use css to replicate exactly what the obsolete tag use to do, then I believe it should do exactly what that tag use to do... — {{U|Technical 13}} (etc) 13:34, 26 October 2014 (UTC)[reply]

References

[edit]

Replies

[edit]
We has a fixed size (115%) when we still used <big>. The reason being that any CSS keywords resulted in inconsistent rendering between browser (IE being the biggest pain). 120% serves roughly the same purpose as the original tag; it raises the fontsize by 120% of its parent element. This is in line with other fontsize template like {{small}}. Is there a pressing reason we must exactly emulate <big>, including its shortcomings? -- [[User:Edokter]] {{talk}} 14:44, 26 October 2014 (UTC)[reply]
  • When people use {{Big}} expecting the same result as if they used <big>...</big>, they should get the same result. I feel that the template being consistent with the tag is more important than the result being consistent across browsers (and everyone using IE should know their results may vary). The end result is still larger text, and it's what they would expect if they used the tag this is suppose to replace... — {{U|Technical 13}} (etc) 17:33, 26 October 2014 (UTC)[reply]

Multiplier

[edit]

We have 20,000+ used of nested <big>. (search articles) (search all)

I added support to the sandbox for a multiplier |x= to make it easier to update such uses.

Markup Renders as
* {{big/sandbox|HHHH}}
* {{big/sandbox|x=1|HHHH}}
* {{big/sandbox|x=2|HHHH}}
* {{big/sandbox|x=3|HHHH}}
* {{big/sandbox|x=4|HHHH}}
* {{big/sandbox|x=5|HHHH}}
  • {{big/sandbox|HHHH}}
  • {{big/sandbox|HHHH}}
  • {{big/sandbox|HHHH}}
  • {{big/sandbox|HHHH}}
  • {{big/sandbox|HHHH}}
  • {{big/sandbox|HHHH}}

Sizes per Wikipedia:HTML5#big. --  Gadget850 talk 11:27, 23 February 2015 (UTC)[reply]

Ugh... hardcoded pixels are bad™. You can nest {{big}}, and there are also {{large}} and {{resize}}. -- [[User:Edokter]] {{talk}} 11:48, 23 February 2015 (UTC)[reply]
Figured you had seen Wikipedia:HTML5#big. We should probably discuss size equivalents there. --  Gadget850 talk 12:07, 23 February 2015 (UTC)[reply]
I have. All keyword sizes are relative to font-size: medium; (equivilant to <font size=3>), which is the borwsers default size of 16px (on Windows at least). Hardcoded pixel sizes will not account for non-default browser settings. -- [[User:Edokter]] {{talk}} 12:18, 23 February 2015 (UTC)[reply]

Changed the sandbox to use percentages, increasing each step by 20%: 120%, 144%, 172%, 207% and 248%. As we discovered at Wikipedia talk:HTML5#Big, IE and Opera increment nested <big>, while Firefox and Opera grow exponentially. The current set of font size templates use rather random sizes, so they are not useful as a replacement.-- Gadget850 talk 17:41, 15 May 2015 (UTC)[reply]

Template-protected edit request on 19 June 2017

[edit]
49.228.245.138 (talk) 20:19, 19 June 2017 (UTC)[reply]
Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format. --Ahecht (TALK
PAGE
) 20:27, 19 June 2017 (UTC)[reply]

CSS

[edit]

What is the purpose to replace <big> by

{{big}}

? Why not using

<div>

?

Template-protected edit request on 7 August 2019

[edit]
156.204.148.231 (talk) 07:22, 7 August 2019 (UTC)[reply]

"params": {

       "topic1": {
           "label": "Topic",
           "description": "A topic mentioned on this disambiguation page",
           "type": "string"
       },
       "topic2": {
           "inherits": "topic1"
       },
       "topic3": {
           "inherits": "topic1"
       },
   }
 Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format and provide a reliable source if appropriate. DannyS712 (talk) 07:55, 7 August 2019 (UTC)[reply]

Proposal to merge Template:Big, Template:Large, and Template:Larger

[edit]

See this discussion. – Jonesey95 (talk) 23:26, 7 January 2023 (UTC)[reply]