Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
All The Tropes Wiki Project, Part XXX
RE: All The Tropes Wiki Project, Part XXX
#80
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.

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.
Reply


Messages In This Thread
RE: All The Tropes Wiki Project, Part XXX - by MilkmanConspiracy - 09-24-2024, 10:30 AM

Forum Jump:


Users browsing this thread: Bob Schroeck, 37 Guest(s)