Template talk:Increase
Template:Increase 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 template-protected}} to notify an administrator or template 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. Functionality of the template can be checked using test cases. |
Rename...?
[edit]Since this template (and {{Loss}}) are now appearing in {{Infobox Country}} templates to indicate an increase or decrease in countries' yearly HDI, perhaps the more generic names {{Increase}} and {{Decrease}} might be more suitable for these templates (keeping {{Profit}} and {{Loss}} as redirects)...? Regards, David Kernow (talk) 00:52, 11 January 2007 (UTC)
- Makes sense to me. Valentinian T / C 23:56, 4 February 2007 (UTC)
Usage advice regarding {{profit}} and {{loss}}
[edit]I'm glad profit now redirects here, however I would argue for a notice to say not to use {{profit}} at all, because as far as I can see it is being used incorrectly. i.e. when a company makes 200 million in one year and 100 million the next {{profit}} is being used (i.e. to say it is still a positive) when of course decrease should be used. Mark83 16:38, 12 March 2007 (UTC)
Use of superseded image
[edit]{{editprotected}}
The image used in this template has been superseded by this image. — cBuckley (Talk • Contribs) 18:24, 17 March 2007 (UTC)
- It has too. Done. Daniel Bryant 21:58, 17 March 2007 (UTC)
Interwikis
[edit]Please, add sl:Predloga:Rast. Thanks. --Eleassar my talk 12:26, 29 March 2007 (UTC)
- {{editprotected}} done. CMummert · talk 18:52, 29 March 2007 (UTC)
Please add is:Snið:Hækkun. --Stefán Örvarr Sigmundsson 22:43, 30 November 2007 (UTC)
increase of negative things
[edit]How do we handle increase of negative things? (e.g. in a ranking of failed states?
I would suggest that we create a new template with a green arrow pointing down and a red arrow pointing up. What do you think? --Spitzl 11:03, 19 September 2007 (UTC)
Documentation subpage
[edit]{{editprotected}} The format of WP:DOC has since changed, please update {{increase}} and {{decrease}}. — Dispenser 02:27, 4 August 2008 (UTC)
- Done. --- RockMFR 04:17, 4 August 2008 (UTC)
Replace unicode symbol by an icon with alt text
[edit]{{editprotected}}
Unicode symbols are not accessible, as most of them are read by screen readers as a question mark (unrecognized). Even when they are, the textual alternative is quite generic, and does not always convey the meaning intended. For example, in this case it would be read as "down arrow" instead of "decrease".
The MoS guideline at Wikipedia:Manual of Style (accessibility)#Text says such symbols should be replaced by an icon with alt text. This guideline was established after the discussion at WT:ACCESS#Non standard ASCII, and consensus was reached to replace such symbols by an icon with alt text.
This change does not have any effect on the layout, or the rendering of the symbol, thus is believed to be consensual. I request to replace: ▲
<span style="color: #0c0; font-size: larger;">▲</span>
by:
[[File:Increase2.svg|11px|alt=increase|link=]]
File:Increase2.svg is in public domain because it is ineligible for copyright (simple geometry), thus the image doesn't require attribution and it is acceptable to remove the link.
Thanks. Dodoïste (talk) 13:39, 7 November 2010 (UTC)
- Since they were not protected, I made similar corrections to Template:DecreasePositive and Template:DecreasePositive. Dodoïste (talk) 15:42, 7 November 2010 (UTC)
- Done — Martin (MSGJ · talk) 13:09, 8 November 2010 (UTC)
- Thanks! :-) Dodoïste (talk) 19:16, 8 November 2010 (UTC)
Mouseover
[edit]Would it be possible to incorporate a mouseover feature into this template and into its siblings, Template:Steady and Template:Decrease, so that when one hovers over them with the cursor they'll say "Increase," "Steady" and "Decrease"?—Biosketch (talk) 08:35, 4 October 2011 (UTC)
Confusing
[edit]An equilateral triangle points equally in three directions. To indicate one specific direction, would an arrow not be much clearer. Kevin McE (talk) 20:58, 8 August 2012 (UTC)
Unnamed parameter for delta
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I created a sandboxed verion of the template with support for delta numbers as tooltips (to be specified in first unnamed parameter). I already implemented this in {{steady}}, and similar request is filed for {{decrease}} (see Unnamed parameter for delta). — Dmitrij D. Czarkoff (talk•track) 12:59, 6 September 2012 (UTC)
- Done. Please update the doc — Martin (MSGJ · talk) 19:12, 13 September 2012 (UTC)
Rise vs increase
[edit]Is there a specific reason for the two templates {{rise}} and {{increase}}, seemingly serving the same purpose, or should they be merged? I have to say that {{rise}} indicates the direction more clearly. --Eleassar my talk 10:06, 21 March 2013 (UTC)
Can table cells using / be made sortable?
[edit]
|
Hello!
Is there a clever way to add hidden characters to the HTML code so that table cells using these templates sort correctly?
For example, clicking the sorting icons in the table on the right seems to order the values randomly.
Thanks, cmɢʟee୯ ͡° ̮د ͡° ੭ 20:43, 9 May 2013 (UTC)
- The problem appears to have been fixed since you posted this. They are sorting correctly for me. 50.0.248.222 (talk) 00:57, 8 February 2015 (UTC)
References
- ^ Suruhanjaya Pilihan Raya Malaysia (Election Commission of Malaysia) www.spr.gov.my/
Rank/mov't indicator arrows
[edit](Copied from Template_talk:IncreaseNegative)
The documentation does not provide any clear guidance on when {{IncreaseNegative}} () and {{DecreasePositive}} () should be used, as opposed to {{increase}} () and {{decrease}} (). The fact that all of the templates share the same documentation only adds to the confusion of which one to use when. For example, some pages have used and in infoboxes to indicate changes in ranking when they really should use and instead — see Template:Infobox website:
PrimeHunter mentioned a good example when and would be appropriate, where an increase is a bad thing (indicated by red): Can the documentation be updated to give examples of appropriate uses? —sroc (talk) 03:58, 15 July 2013 (UTC) |
FYI - As per Help Desk discussion. thewolfchild 10:51, 25 July 2013 (UTC)
A small thing
[edit]There is a increase symbol at the top of the template page, above template documentation with no explanations... Maybe it shouldn't be there? Jonathansuh (talk) 18:04, 3 January 2014 (UTC)
- I think that's what happens when the template code is not surrounded by
<includeonly>...</includeonly>
tags and thus trancludes to its own page. -- Michael Bednarek (talk) 08:56, 4 January 2014 (UTC)
Title attributes edit request
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
- Old revision of Template:Increase/sandbox to Template:Increase
- Old revision of Template:Decrease/sandbox to Template:Decrease
- Old revision of Template:Steady/sandbox to Template:Steady
- Old revision of Template:IncreaseNegative/sandbox to Template:IncreaseNegative
- Old revision of Template:DecreasePositive/sandbox to Template:DecreasePositive
Just a simpler method for adding title attributes. Template:Increase/testcases covers all five templates.
Matt Fitzpatrick (talk) 07:24, 10 July 2016 (UTC)
- @Matt Fitzpatrick: Only question is whether
[[File:...|something]]
means the same as<span title="something">[[File:...]]</span>
on all platforms, including mobile. I don't see any problem though. Can probably sync if there are no comments — Andy W. (talk · ctb) 18:01, 11 July 2016 (UTC) - Ping if there are any issues (although I'll be intermittent for a while) — Andy W. (talk · ctb) 06:00, 12 July 2016 (UTC)
Increase or decrease "neutral" missing
[edit]Excellent idea to have these signs. However, sometimes, increase (or decrease) is neutral in nature (e.g. labor force due to demographic trends). It would be nice to have also colorless triangles (i.e. trend signs) in that case. Cheers. 47.17.20.247 (talk) 01:51, 15 December 2016 (UTC)
- The page overleaf suggests {{Steady}}. Would that do? -- Michael Bednarek (talk) 06:09, 15 December 2016 (UTC)
Increase - where has it gone?
[edit]What has happened to the increase arrow and can we get it back? Likelife (talk) 08:14, 13 October 2017 (UTC)
- Doesn't
{{Increase}}
show a green up-arrow () for you? It does here. -- Michael Bednarek (talk) 10:26, 13 October 2017 (UTC)
- No, it just says increase. Sorry, I've just opened Safari browser and it seems to work. I wonder why it isn't working on my Chrome? It is doing the same for the National Rail symbol too. Likelife (talk) 13:40, 13 October 2017 (UTC)
- Works here for Firefox (56.0) and Chrome (61.0.3163.100). I don't know what "the National Rail symbol" is. -- Michael Bednarek (talk) 14:30, 13 October 2017 (UTC)
- No, it just says increase. Sorry, I've just opened Safari browser and it seems to work. I wonder why it isn't working on my Chrome? It is doing the same for the National Rail symbol too. Likelife (talk) 13:40, 13 October 2017 (UTC)
Size parameter
[edit]I would like to add a size parameter to this template and its peers, as shown in this diff in the sandbox. This would allow them to function better in instances where they are surrounded by small/large text, such as here. Does that sound okay? {{u|Sdkb}} talk 04:54, 16 August 2020 (UTC)
- Actioned. {{u|Sdkb}} talk 22:57, 8 September 2020 (UTC)
New template available for automatically formatting a value
[edit]I have just created Template:Fluctuation formatter (I'm somewhat surprised it didn't already exist; hopefully it wasn't hidden somewhere), which takes a value and returns it along with an appropriate sign based on whether it's positive/negative/neutral. You can see an example usage at {{Infobox U.S. college admissions}}. It may be difficult to retrofit into existing use cases that have required editors at pages to manually enter the appropriate symbol, but it should be preferable when designing new infoboxes/etc. going forward. Let me know if you have any thoughts/questions! {{u|Sdkb}} talk 05:01, 16 August 2020 (UTC)
- @Sdkb: - hi, thanks, this is awesome. I'm similarly surprised there isn't an automated tool, like {{fluc|1,835|1,097}} that would display like "1,835 ( 67%)". Would be great to have a percent change automation, similar to what exists in population templates. Would be great for displaying ridership changes for transit systems, and probably much more. ɱ (talk) 17:24, 5 September 2020 (UTC)
- Ɱ, to do that, you'd use I think this code:
{{{new}}} ({{fluc|{{#expr:{{{new}}}-{{{old}}}}}|custom label={{percent|{{{new}}}|{{{old}}}|0}}}})
- I'm not sure what to call that template precisely (and haven't tested the above code), but you're welcome to copy it to a template page and build out/add documentation and links from there. {{u|Sdkb}} talk 21:54, 5 September 2020 (UTC)
- That looks useful. There is similar, but not as elegant, code in {{GAN changes}}. – Jonesey95 (talk) 05:06, 14 September 2020 (UTC)
- Ɱ, to do that, you'd use I think this code:
Make it so the arrow and number do not wrap
[edit]I would like that the number can not wrap below the arrow as the screen narrows. This occasionally happens.
It would be nice if this was the default, so that people don't have to use a parameter.
Right now some people are putting "nowrap" in the styling before those {{increase}} {{decrease}} {{steady}} data cells. And not just for the verbiage after the number. Sometimes just for the arrow and number. --Timeshifter (talk) 06:40, 17 April 2024 (UTC)