User:Bongolium500/Sandbox 5

Here are some attempts at making more detailed source refences. A quite random example has been chosen to be used here.

A comparison of most variations can be found here. However, due to a lack of parity between extensions on this and the test wiki, some functionality only works on Tardis and so, where possible, templates are shown here.

Current
Her birthday was the 16th of August. (PROSE: Our Tune)

Her birthday was the 16th of August. (PROSE: Our Tune (short story))

Method One - Collapsible
Versions 2 and 3 use version 1. Therefore, even if only version 2 or 3's functionality is wanted, version 1 also has to be added to the wiki. This is in order to make maintaining and updating the templates easier. If it is absolutely required, versions 2 and 3 can be made to work independently.

V1 - Manual
Her birthday was the 16th of August. (PROSE: Our Tune + Part of Iris: Fifteen from Iris Wildthyme published by Obverse Books in 2013.)

Her birthday was the 16th of August. (PROSE: Our Tune + Part of Iris: Fifteen from Iris Wildthyme (series) published by Obverse Books in 2013.)

Issues
According to MediaWiki's website, this can be confusing for users using a screen reader. Every collapsible is open for a short amount of time while the page loads before closing which, on a larger page using this a lot, would cause the page to jump a lot.

As a Template
If formatting looks strange here, it is because it is only designed to look good in the editor without. + .

Usage
All variables are optional. Please do not link. Please include dab terms for anthology, series and publisher but not year. The ID can be any string. However, it must not be used for this template anywhere else on the page.

Examples
(PROSE: The Eight Doctors (novel) ) (PROSE: The Eight Doctors )

(PROSE: Our Tune (short story) ) (PROSE: Our Tune )

(PROSE: Rose (novelisation) ) (PROSE: Rose )

(TV]: [[Rose (TV story) ) (TV: Rose )

(TV: The Daleks' Master Plan )

(TV: A Girl's Best Friend (TV story) ) (TV: A Girl's Best Friend )

(AUDIO: Bang-Bang-a-Boom! ) (AUDIO: Bang-Bang-a-Boom! )

(AUDIO: Lost Property ) (AUDIO: Lost Property )

(COMIC: Revolutions of Terror (comic story) ) (COMIC: Revolutions of Terror )

V2 - Automated
This should be visually identical to the above. However, it needs a fair amount of prior work to function correctly. Therefore, it does not work at all in its current state. There is more information on this in this section.

Her birthday was the 16th of August. (PROSE: Our Tune + Part of ' from ' published by ' in '.)

Her birthday was the 16th of August. (PROSE: Our Tune + Part of ' from ' published by ' in '.)

Issues
According to MediaWiki's website, this can be confusing for users using a screen reader. Every collapsible is open for a short amount of time while the page loads before closing which, on a larger page using this a lot, would cause the page to jump a lot.

For this to work at all, a lot of prior work needs to be done with Semantic MediaWiki annotations. By far the best solution (in terms of future-proofing and best practises) is too update Infobox Story. However, this would require changing every page using this template which comes out to pages. It might be possible to do this without changing every page, but it wouldn't be as good. Having said all of this, I 100% think putting in this work would be worth it as it would make some other cool stuff possible as well.

As a Template
+ .

This template requires version 1's template to also be added to the wiki.

Usage
S is the story being used as a source and is therefore required. Please give it unlinked and with dab terms.

Example
(PROSE: )

V3 - Automatic With Manual Overrides
In theory, this template will produce identical results to the above 2. In fact, at its most basic, it is the above. However, it also allows for manual overrides to the automatically generated details.

Due to its nature, it will only work fully as a template and, as such, I cannot show it in non-template form.

Issues
According to MediaWiki's website, this can be confusing for users using a screen reader. Every collapsible is open for a short amount of time while the page loads before closing which, on a larger page using this a lot, would cause the page to jump a lot.

For this to work at all, a lot of prior work needs to be done with Semantic MediaWiki annotations. By far the best solution (in terms of future-proofing and best practises) is too update Infobox Story. However, this would require changing every page using this template which is pages. It might be possible to do this without changing every page, but it wouldn't be as good. Having said all of this, I 100% think putting in this work would be worth it as it would make some other cool stuff possible as well. Additionally, it is worth noting this template could still be used in manual mode

As a Template
+ .

This template requires version 1's template to also be added to the wiki.

Usage
S is the story being used as a source and is, therefore, required. Please give it unlinked and with dab terms. Anthology, series, publisher and year are optional. They should only be used if the relevant Semantic MediaWiki annotations are incorrect or not present. In theory, they should never need using. The one exception I can think of is year, which could be used when the specific instance of a story being referenced had a minor change that didn't warrant a new page. Anthology, series, publisher and year must be unlinked with dab terms (for year this is (releases)).

Example
Fully automatic: (PROSE: ) Fully manual: (PROSE: }})

V1 - Manual
Her birthday was the 16th of August. (PROSE: Our Tune · )

Her birthday was the 16th of August. (PROSE: Our Tune · )

Issues
This does not work at all on mobile, even if you are on desktop view. Links can't be included, nor can text be italicised.