RE: All The Tropes Wiki Project, Part XXX
09-24-2024, 10:30 AM (This post was last modified: 09-24-2024, 10:32 AM by MilkmanConspiracy.)
09-24-2024, 10:30 AM (This post was last modified: 09-24-2024, 10:32 AM by MilkmanConspiracy.)
I may be reading this wrong due to a lack of familiarity, but when I attempted this I can confirm that this is the behavior, but it might be fixed with a template update rather than digging deeper. That said, that’s a potential solution, but perhaps not the best solution.
Looking at the boilerplate loaded, if I interpreted this right (I may not have!) the header is adaptable thanks to a conditional if. It should work for any trope or work page and automatically pick the right name.
In the template selector I see there is a quote page template for creators, for which this may not work correctly. I tested this via preview on a creators page and got similar results as expected.
The footer is simply hardcoded. It will always default to the trope footer. A conditional here may fix the problem, if appropriate.
I am not a mediawiki wiz, so I may have gotten it wrong.
Pages tested:
Edit: Forgot markup.
Looking at the boilerplate loaded, if I interpreted this right (I may not have!) the header is adaptable thanks to a conditional if. It should work for any trope or work page and automatically pick the right name.
Code:
{{subst:((}}{{subst:#if:work|trope}}{{subst:))}}
In the template selector I see there is a quote page template for creators, for which this may not work correctly. I tested this via preview on a creators page and got similar results as expected.
The footer is simply hardcoded. It will always default to the trope footer. A conditional here may fix the problem, if appropriate.
I am not a mediawiki wiz, so I may have gotten it wrong.
Pages tested:
- Devo
- Ohio (Crosby, Stills, Nash & Young song)
Edit: Forgot markup.