Talk:Dynamic music page

From The Joe Frank Wiki
Revision as of 12:05, 9 March 2021 by Ramon (talk | contribs) (Created page with "This page is generated dynamically from the Show pages, pulling in all included data in the == Music == sections The new Airdate template still needs to be populated for eac...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This page is generated dynamically from the Show pages, pulling in all included data in the == Music == sections

The new Airdate template still needs to be populated for each most shows. it looks like:

{{Airdate|airdate=1979-01-26}}
or 
{{Airdate|airdate=1979}} when we only have the year
or 
{{Airdate|airdate=1979-10}} when we only have the year & month
This Airdate will be displayed in the parentheses to the right of the show title. 

The list is sorted by a new Category: Show_by_date, which looks like this:

[[Category:Show_by_date|19790126]]

(More on that below).

For sorting shows where we only have broadcast years I will use the month 00 and the day number will be the sequence we want them to appear in, reflecting Richard's FAQ.

so:
Middle Of Nowhere Part 1 Show_by_date= 19870004
Middle Of Nowhere Part 2 Show_by_date= 19870005
Middle Of Nowhere Part 3 Show_by_date= 19870006

Will present them in order, in 1987

For those few shows that we know year and month but not day I will use year-month-00, with 00 for the day.
So: Summer Pledge Drive 1987 Show_by_date = 19870800

This will allow us to sort using the Show_by_date category without putting actual incorrect dates in for shows. Where ever we don't know the exact date, either the day or month will be 00.

A smarter man would do a regex search-and-replace on the Show_by_date to create the needed Airdate code, but I am going to enter them manually so as to not blow anything up.

The Dynamic Page List module is finicky, so I had to remove all trailing spaces from the wikicode, ie

 {{Sex (The Necks) }}

has to be :
{{Sex (The Necks)}}


Additional work to be done includes hiding the footnotes and Category listing at the bottom of the page. Footnotes can be eliminated with a conditional in the Added-later template