Template talk:Service awards

Wondering
How cool would it be if this template could update itself based on the editor's registration date and edit count? How possible would it be?--~TPW 22:42, 7 March 2010 (UTC)
 * As possible as the existance of parser functions that give the editor's registration date and edit count. However, the registration date is constant so there is no need and the edit count parser function has not been implemented here. All in all, it is definitely possible.  Set Sail   For The   Seven Seas   6° 30' 30" NET   00:26, 8 March 2010 (UTC)
 * Thanks for the thorough response!--~TPW 03:39, 8 March 2010 (UTC)

Alignment
Sure would like to be able to align ribbons. Svanslyck (talk) 23:34, 10 May 2010 (UTC)
 * See this page. Hope this helps.  Set Sail   For The   Seven Seas   336° 17' 29" NET   22:25, 9 June 2010 (UTC)

Default award
Why is the "default" award for this template Master Editor II? Jayjg (talk) 03:39, 28 May 2010 (UTC)
 * He's right. If you enter a blank template - - you get:

(outdated result) kcylsnavS 23:01, 28 May 2010 (UTC)
 * Yes, but is there a reason? Jayjg (talk) 00:25, 31 May 2010 (UTC)
 * Yesterday's IP editor seems to have discovered the problem, but was reverted, probably because his change created an error. I'll change the template instead so the default is the minimum award. As it stands, the parameter used makes little sense. Jayjg (talk) 01:16, 1 June 2010 (UTC)
 * Actually, both the presence of the variable and the error message are deliberate features. The purpose was to have the default award be the highest possible award that one could achieve. However, I am now considering adding extra code that will give an error message if certain parameters are not given. Thanks.   Set Sail   For The   Seven Seas   329° 22' 15" NET   21:57, 9 June 2010 (UTC)
 * This extra code is now active on the template.  Set Sail   For The   Seven Seas   288° 20' 0" NET   19:13, 10 June 2010 (UTC)
 * That works well, thanks! Jayjg (talk) 23:07, 10 June 2010 (UTC)
 * No problem!  Set Sail   For The   Seven Seas   357° 7' 15" NET   23:48, 10 June 2010 (UTC)

Grognard categories
Apparently there were duplicate Grognard categories existing, and the ones used by this template was were deleted yesterday, so I found the proper ones and changed the code to link to them. Hope I didn't screw anything up. -- &#124;  Uncle Milty  &#124;  talk  &#124;  15:14, 12 July 2010 (UTC)
 * Nope, nothing got screwed up!  Set Sail For The Seven Seas   277° 6' 15" NET   18:28, 19 September 2010 (UTC)

A couple things
There are two things that need to be fixed with this template. First, the newest level, Signator, should be added. Second, the second and third Grognard levels need to be fixed; the names for the levels are not correct. I'd do this, but I'm afraid that I would break something. :)  Hi 8 7 8   (Come shout at me!) 18:19, 27 August 2010 (UTC)


 * ✅ - The template has been updated to reflect the recent changes. Hope this helps.  Set Sail For The Seven Seas   277° 22' 30" NET   18:29, 19 September 2010 (UTC)


 * Thank you.  Hi 8 7 8   (Come shout at me!) 17:49, 11 October 2010 (UTC)

Bug?
Latest edit must have introduced some error (or it was always there). I think it happens when the day is equal to today, for instance:

(Display "Sorry, you don't have enough edits or haven't been on Wikipedia long enough!")

Note that this will probably work well tomorrow, today, 2010-09-21 it does not work. Changing day to 22 solves the problem. --Muhandes (talk) 19:36, 21 September 2010 (UTC)
 * Interesting. I'll check that out. Thanks.  Set Sail For The Seven Seas   295° 2' 30" NET   19:40, 21 September 2010 (UTC)
 * - It seems I didn't implement the new code properly. Anyway, it should be working fine now. Thanks.  Set Sail For The Seven Seas   299° 2' 45" NET   19:56, 21 September 2010 (UTC)
 * It works well, thank you. --Muhandes (talk) 23:39, 21 September 2010 (UTC)

Users in waiting
When I was looking at the categories for the service awards, I was wondering about the usefulness of a series of categories like Category:Rocambolesque Bordonths in waiting? This would be used for editors that have the number of edits required but not the service time. It would also populate these in waiting award categories so that deletion discussions can be avoided since all of these categories would be populated. Yea, this could place an editor in several future categories, but would that be a problem? I suspect that the problem would be, is there an easy way to implement this in the template code? If the code was changed, I would set up the subcategories. Another option would be to only place the editor in the in waiting category for the number of edits if different then their current category. Vegaswikian (talk) 23:37, 11 August 2011 (UTC)
 * Of course, maybe I can do that in the sandbox. I've to check the list of Wikipedia's most active users in terms of edits first.  A \/\ 9 3 r-  ( 0 la   03:31, 12 August 2011 (UTC)

Changes on 2012-02-19
I've just made some major changes to this template. For those who are interested, the changes I made are: – PartTimeGnome (talk | contribs) 20:54, 19 February 2012 (UTC)
 * Split most of the logic into Template:Service awards/core to reduce the repetition of date calculation templates. These made the code hard to understand and were more work for MediaWiki to parse. The date calculation is now done once in Template:Service awards, and the result is passed into the /core template.
 * Added support for the top two service awards, which were previously unsupported.
 * Changed the required edit counts and durations of service to match those at Service awards. This mainly affects the higher levels of award.
 * Changed the wording of some of the default captions to match those used by the other templates. Again, this mainly affects the higher levels of award.

alternatives
I like this template a lot but I notice it doesn't support the "Ecce Lux" ribbon alternatives for the Tutnum ranks. Could someone help on this? Chris Troutman ( talk ) 00:54, 24 January 2014 (UTC)
 * ✅. Use the  parameter. These ribbons are a mix of different sizes, but the template will resize them all to 120px wide. You can change the size it uses by passing the   parameter. –&#160;PartTimeGnome (talk&#160;&#124; contribs) 22:03, 24 January 2014 (UTC)

Text-wrapping
Is there a parameter for text-wrapping? I want my template to not wrap text; I'm currently using line breaks as a workaround. —Bobbychan193 (talk) 01:06, 8 August 2019 (UTC)

Proposal to add incremental awards to this template
I have made it so that the incremental award ribbons are shown on Service awards/sandbox and I have done this by changing Service awards/core, Service awards/compose and removed the need for Service awards/select/sandbox and instead use Module:SelectServiceAward since it is simpler and the template stopped working after there were too many nested if statements. I was wondering if anyone objected to me implementing this to the main template, thanks. Terasail &#91;Talk&#93; 15:42, 16 October 2020 (UTC)
 * I am not conversant in Lua, much less fluent. Is there a way to write the code so that display of the incremental awards is optional? If that would be too difficult, don't worry about it. — Jkudlick &#x2693; t &#x2693; c &#x2693; s 14:50, 21 October 2020 (UTC)
 * It is definitely possible, I haven’t used lua in about 2 years before I made this so it probably could be done better. I will look into adding it later. Terasail II &#91;Talk&#93; 15:02, 21 October 2020 (UTC)
 * I added noinc to the award and if set to "yes" then the incremental awards will not show as ribbons. Do you think it is ok to add these changes now? Terasail &#91;Talk&#93; 14:22, 28 October 2020 (UTC)
 * Excellent! I believe it's good to go live. Thanks for the help. — Jkudlick &#x2693; t &#x2693; c &#x2693; s 01:08, 29 October 2020 (UTC)

Text is messed up when ubxbook option is used
The text is messed up when the ubxbook option is used for example, shows as with Service awards visible. The transclusion of the userbox has been messed up somehow. The first four ranks, to Grognard are affected. Grognard Extraordinaire is fine and those after it. I'm not sure where the problem is. -- NoSnakesInIreland ( talk )  17:57, 12 March 2021 (UTC)

this user is an ....
Currently its displaying with the text
 * This user is an...

even before consonants, which is incorrect. There are no recent edits to this template, so I assume the problem is buried within the code. Can someone help? Thanks, — Soap — 23:13, 11 May 2021 (UTC)

also
It's a bit odd that this is within the scope of WikiProject Awards, .... isnt that a mainspace project? Should this have been linked to WikiProject Wikipedia Awards instead or did one subsume the other? — Soap — 16:56, 16 May 2021 (UTC)

Please check
I just updated for the new Sagacious Editor level, and I was hoping that someone who knows the template inner workings a bit better than I can test it to make sure I didn't miss something. Much thanks. VanIsaac, GHTVcont WpWS 00:42, 14 January 2023 (UTC)