Doctor Who Wiki: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m
Line breaks
m (enforcing T:CLEAN CODE)
m (Line breaks)
Line 5: Line 5:
  WELCOME TO THE FRONT PAGE OF THE TARDIS INDEX FILE!  
  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  
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.   
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
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.
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.
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.
32

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.