This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.Template:Featuredarticle
Usage
To feature articles, duh. Needlessly complicated, arcane and completely unmaintanable, the {{Featuredarticle}} template is the enemy of every admin who tries to understand or (God forbid) modify it. To be more accurate, it is a complete suite of disorganized templates that all work together to give you features. God knows why we didn't just steal Wikipedia's (much simpler, more future-proof) system. Anyway, I've done my best to decipher it.
How it Works
{{Featuredarticle}}
{{Featuredarticle/include|{{lastfeature}}}}
The {{Featuredarticle/include}} template uses the DPL extension to grab a section from the {{Featuredarticle/queue}} page, based on the parameter provided by {{Lastfeature}}, which gives a date corresponding to the newest article to get featured.
{{Lastfeature}}
From what I can tell, {{Lastfeature}} grabs a date from the date provided by the date parameter in the {{FA}} template. Except not really. Either way, it'll give you the closest feature date within four days of today, and if there isn't a feature in {{Featuredarticle/queue}}, it'll stop working or something, and you'll have to feature something else to keep the front page from looking empty. This was never really a problem until 2012 or so, when the site began its slow and steady decline from near-irrelevant to irrelevant, and people stopped voting.
{{Featuredarticle/include}}
{{#if:{{#dpl:
|title = Template:Featuredarticle/queue
|include = #{{{1|}}}
|allowcachedresults = false
|suppresserrors = true
}}
|{{#dpl:
|title = Template:Featuredarticle/queue
|include = #{{{1|}}}
|allowcachedresults = false
|suppresserrors = true
}}
|{{Featuredarticle/default}}
}}
This page essentially checks if the feature queue is empty, and if it is, it'll spit out the {{Featuredarticle/default}} template. This was necessary because no admin could be bothered to feature or re-feature a new article every four days, and keeping the front page occupied makes everyone feel pleasant and warm inside. An earlier version of this template used {{Featuredarticle/oscar}}, but we don't use that anymore. Poor Oscar.
{{Featuredarticle/default}}
{{#ifexist:Idiotpedia:Featured articles/{{#time:F j}}|{{Idiotpedia:Featured articles/{{#time:F j}}}}
|{{#dpl:
|namespace = Idiotpedia
|linksfrom = Idiotpedia:Featured articles
|titlematch = %Featured_articles/%
|include = *
|mode = userformat
|randomcount = 1
}}
}}
Default features will appear if the feature queue is empty. The feature blurbs are found in Idiotpedia:Featured articles, sorted by date. This template grabs a page with the corresponding date for today, and if the page doesn't exist, it'll show a random page from the list.