Forgotten Realms Wiki
Register
Advertisement
Forgotten Realms Wiki
Forums: Helping Hand > Proposed change to Featured Article template

Use the following template for a nicely presented post:

{{Forum post|Write your message here!|~~~~}}

We will soon have more FAs than there are months in the year and the {{Featured article}} template doesn't handle anything past 12, so I'd like to propose a change to the template that will work up until we have 366 FAs (something to shoot for ;)

I wrote a fairly simple DPL function to count how many FAs we have. It returns the number of articles in Template:Featured article/ that have at least one digit in the name. Then, using this formula:

ceil(FAs *  DoY366)       <-- Note use of new {{frac}} template!
where DoY is the day of the year (from 1-366 for leap years)

to compute the FA number to be presented. You can see the result here. Today it displays last month's Citadel of Black Ash article summary (#8) because we only have 11 FA summaries. If Template:Featured article/12 existed today, it would pick #9.

This scheme gives equal time (within a round-off error of 1 day) to every FA, and squeezes every new article in without us having to worry about it for a very long time. What do you think sirs?

Moviesign (talk) 04:18, September 13, 2014 (UTC)


...Or I could wait for Moviesign to come up with something better. :)

That's a pretty elegant solution. I was attached to the neatness of a new one each week (every Monday, the main page would get several updates, inviting readers to stop by regularly), but there's no real reason to do it that way (unpredictable updates could get them to stop by more frequently). Plus, this code wouldn't need to be updated regularly.

Should we just add new FAs to the end of the list (i.e., 13, 14, 15...) or space them over the whole number range and insert new ones as desired (e.g., 1, 183, 91, 274...)? Last year, we didn't want too many articles of a similar type or topic clustered together, which the simpler format doesn't control.

— BadCatMan (talk) 02:46, September 14, 2014 (UTC)
Advertisement