User:Mainframe98/Archive/sandbox 2

This page is a Sandbox in which I can test templates and page formatting.

Please do not edit without asking, thank you. (Admins, if you find an important error, feel free to correct it. If you do, be sure you mention it on my talk page for easy tracking.)

Editors with permission
Editors listed below have permision to edit this page when necessary.
 * any Admin

May J. Carmody Formatting table

 * Feb. '67

THE SECRET OF TURTLE BAY 'Compare to list... they always DISMISS what they cannot EXPLAIN.'

Newspaper article about Celeste Roget
Aug.-1957 U.S. AMBASSADOR SPEAKS OUT AGAINST ROGET HEIRESS PARIS - As heiress Celeste Roget prepares for an eccentric Himalayan expedition, the U.S. Ambassador to France incited controversy when he decried her actions.
 * For months, Paris has been abuzz with report describing preparations

for Roget's planned expedition to the Himalayass. Following the 1946 dis- appearance of celebrated architectural engineer Jean Louis Roget, Celeste Roget became obsessed with the idea that he had been "called" to a utopian city in the mountains. She gathered together a small band of several other missing individuals who share her beliefs.
 * Last week, she attempted to enlist official support of the journey.

Roget's theories were greeted with widespread doubt - but the loudest criticism came from an international figure normally celebrated for his cool diplomacy.
 * During an interview with the French newspaper La Journée,the

American Ambassador to France repsponded to a question about Roget.
 * "I can't bite my tongue anymore," said the Ambassador. "Celeste Roget

is dagerously deluded and this amateur expedition is doomed. The French government needs to step in and stop this madwoman before she gets somebody killed."
 * The Ambassador went onto explain that the disappearances of Roget's

father and others was no mystery. "Much of the world was in upheaval following World War II," he said. "In 1946 and 1947, we saw the rebuilding of Western Europe, a series of Communist takeovers, the Chinese civil war, the partition of India and conflicts in the Middle East. It's amazing more people didn't vanish in all that chaos."
 * A handful of French newspaper editorials have demanded an apology,

though most have applauded his candor.

Featured Article Rotation
This template cycles through a pre-defined set of articles every week (replaced every Monday). It relies on magic words  and. Can also use. Status: Implemented, can use both  and.

To Do

 * Create a way to display a placeholder featured article when the year has ended and no new articles have been defined. (Creating an unwanted empty section on the page.) Done!
 * Magic word  will be removed, making this essentially unnecessary.
 * Find a way to summarize articles for use in this template.
 * Converting to Lua to reduce loading time, especially because its intended use is for the main page. Currently impossible, since Lua is not installed as an extension on this wiki. (See w:c:dev:Lua templating/Converting Wikitext templates)
 * Offering a link to the previous and future featured article, and if possible a list of featured articles.

Main
This is the absolute basis. The article number in the curly brackets should equal the current week. 

Displaying placeholder with |#default=

 * Main article: Help:Extensions:ParserFunctions on MediaWiki

Testing if output is empty with

 * This section contains unused, deprecated code which is no longer under development and will not be used in either Template:Featured Article or Template:Featured Article/Meta. Parts however, will be reused to prevent the creation of non-existing weeks, explained further on this page.

This code should check if the output is empty, if so it should display a placeholder article. In other words, if the output of the base template is empty (equals zero), the thirth argument will be displayed (here, the current featured article), if there is output, nothing should be displayed (second argument).

Meta template
Contains code allowing another template to fill in the parameters. That second template will be transcluded on the main page.

Meta Template with option to choose between August and
This version will allow the user to specify wheter  or   should be used, by filling in (capitalized) WEEK or MONTH in parameter.

Next/Previous Featured Article Template

 * Main article: Help:Calculation on MetaWiki

allows to substract or add numbers.

Test
and.

Code
and.

Comparison
Check if the numbers under the section "Test" are equal with those below. - 1 and + 1.

Navigation Bar

 * Original Template: W:C:Southpark:Template:SP navigation
 * This section contains unused, deprecated code which is no longer under development and will not be used in either Template:Featured Article or Template:Featured Article/Meta.

Displays links to previous and next featured article.

Colour List

 * Main: colorhexa.com

Dark Blue (MediaWiki:Wikia.css) Green (Southpark Archives) Not so Dark Blue (MediaWiki:Wikia.css) Very Soft Blue (MediaWiki:Wikia.css) Some kind of Blue 99 (Template:HeadingA)

Listing Articles for transclusion
The articles which will be used in the Featured Article Template will be listed on a separate page in the BioShock Wiki Namespace. (BioShock Wiki:Featured Articles)

Page Code
This Page contains the articles used in the Featured Article Template.

This Weeks Featured Article
#|Last Weeks Featured Article - List of Featured Articles - Next Weeks Featured Article

Instructions
Place the text for the featured article between the tags. Article 1 is the default article and Article 13 to Article 52 are optional when  in Featured Article Template. ==Article 1== ==Article 2== ==Article 3== ==Article 4== ==Article 5== ==Article 6== ==Article 7== ==Article 8== ==Article 9== ==Article 10== ==Article 11== ==Article 12== ==Article 13== ==Article 14== ==Article 15== ==Article 16== ==Article 17== ==Article 18== ==Article 19== ==Article 20== ==Article 21== ==Article 22== ==Article 23== ==Article 24== ==Article 25== ==Article 26== ==Article 27== ==Article 28== ==Article 29== ==Article 30== ==Article 31== ==Article 32== ==Article 33== ==Article 34== ==Article 35== ==Article 36== ==Article 37== ==Article 38== ==Article 39== ==Article 40== ==Article 41== ==Article 42== ==Article 43== ==Article 44== ==Article 45== ==Article 46== ==Article 47== ==Article 48== ==Article 49== ==Article 50== ==Article 51== ==Article 52==

Next/Previous Featured Article Correct end and start of year (Week)

 * Code in this section may not be entirely correct, please check if the code contains errors BEFORE using any code from this section.

This part will make sure that when the last week of the year enters, the link to the next article will not point to a non-existing week 53 and at the first week, the link to the previous article will not point to a non-existing week 0. Case Notes: The current plan is to create a seperate template for the links to the previous and next featured article, which contains a  parameter making it possible to change between   and.

Start of year
|Last weeks Featured Article

End of year
Next weeks Featured Article
 * {{{time}}
 * {{#ifeq:{{#expr:{{CURRENTWEEK}}+1}}|53|{{PAGENAME}}#Article 1|{{PAGENAME}}#Article{{#expr:{{CURRENTWEEK}}-1}}}}
 * {{#ifeq:{{#expr:{{CURRENTMONTH}}+1}}|13|{{PAGENAME}}#Article 1|{{PAGENAME}}#Article {{#expr:{{CURRENTMONTH}}-1}}}}

Actual Design Code
 Links will be placed here.

Actual Design Output

 * This colour is not final and may be replaced with something more fitting.

 Links will be placed here.

Combining Design and links


Allignment testing


Final
