Doctor Who Wiki: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
(Replaced content with " Category:Floor 500")
Line 1: Line 1:
__NOTOC__ __NOEDITSECTION__
<mainpage-leftcolumn-start />
<!--------------------------------------------
WELCOME TO THE FRONT PAGE OF THE TARDIS INDEX FILE!
----------------------------------------------
You will note that none of the content of the front page is actually on the front page.  For ease of maintenance, all sections of the front page are in a
template of their own.  Those templates follow the naming pattern {{Doctor Who Wiki/Section Name}}.  When those templates are used on this page —
and ONLY when they're used on this page — they can be called by dropping "Doctor Who Wiki", as with  {{/Section Name}}.  This is achieved by linking
the subpage with the name of a section to the template with that name.  Thus, there is the article subpage: Doctor Who Wiki/Comics and the template page, Template:Doctor Who Wiki/Comics.  If you create a new section, you need to create both an article  subpage and a template page of the same names.  Changing the name of the front  page will turn the page into a series of red links.  Note that if you want to edit the actual content of the page, you have to click the little symbol of a hand holding a pen within that section. 


Why have we radically changed the coding of the page?  In part to protect against vandalism.  The front page cannot be totally destroyed by just one
action.  Rather, each individual section must be attacked for the page  to be seriously compromised.  It is now possible to fully lock the main page without sacrificing any great editability.  New sections can be created, inspected, and vetted before they appear on the front page.  And the regular maintenance of the page is now made much easier by allowing editors to jut concentrate on the one section they want to change.  No more hunting through lines of obscure code to find the bit that changes the "Quote of the week".  Now you just click on the edit symbol close to the "QOTW", and change away.  Easy.
In terms of actual code used to create the page, it's fairly simple, but it's also fairly precise.  You can certainly change the order of different sections.  You can certainly add sections.  But note that the left and right columns operate as different components — albeit with exactly the same syntax.
=======
Left Column
======= 
The following creates the left column.  The sections must be precisely here, placed out in a line unseparated by line breaks.  Their order, left to right,
indicates their order, top to bottom, on the page.  Note that televised episodes are always to be at
the top-most part of the page, so {{/Television}} should always follow {{/Top}}.    -->
{| style="width:100%;<!--background-color:#d0977b;-->"
|- align="center"
|{{/Top}} {{/Television}}  {{/Audio}} {{/Prose}} {{/Comics}}{{/Pics}}
|}
<mainpage-endcolumn />
<!--------
Right Column
----------
The following creates the right column.  The syntax is  just like the left column.  The trick when figuring out what to put in each column is to try to balance the columns as much as possible.  The left column
should be about as long as the right column.  This is difficult, and fairly impossible to achieve precisely.  Remember to allow for the advertisement
which appears on the right column.  Remember too to set your browser width at no more than about 1024px for testing; preferably pull your
browser window width down to the point that the two columns stop collapsing on each other.  That way you can guarantee the way this page
will appear on most browsers.  -->
<mainpage-rightcolumn-start />
{| style="width:100%; background-color:#ffeecc;padding:5px;"
| {{/Article of the month}} {{/Quote}} {{Doctor Who Wiki/Articles that need updating}} <!-- The /News template should always be the last in this column, as it helps us adjust the length of the entire column.  Edit the News section and read the instructions there for more information-->{{/News}} 
|}
<mainpage-endcolumn />
<br style="clear:both;" />
{|
|-align="center" style="width:100%;<!--background-color:#d0977b;-->"
| {{/Categories}} {{/Wikis}}
|}'''
[[bg:]]
[[de:]]
[[fr:]]
[[he:]]
[[nl:]]
[[ru:]]
[[Category:Floor 500]]
[[Category:Floor 500]]

Revision as of 22:28, 19 February 2011