Open main menu

Project: Gorgon Wiki β

Changes

Template talk:MOB infobox

943 bytes added, 06:41, 8 March 2017
Default title
:: Sorry about that brief reply. I was falling asleep and just wanted to make a note to return to. When initially created, all the infoboxes used PAGENAME to pull the titles, but we found this starts to create problems when certain dynamic page lists are created. Say for example, you wanted to create a fancier Dungeons page that displayed the infoboxes of all dungeons in a borderless table. When the MAP infobox used a default PAGENAME instead of a set name/title, the infoboxes pulled onto the so-called Dungeons page would all display the page name of "Dungeons" instead of Anagoge Island, Serbule, Eltibule, and so on. Switching to a non-optional user-defined title/name for all the infobox templates solves the dpl renaming issues, and sets things up for a "condensed infobox" that someone is working on. Hope this helps a bit. [[User:BetaNotus|BetaNotus]] ([[User talk:BetaNotus|talk]]) 11:06, 25 February 2017 (CST)
 
::: My change does not remove the ability to specify title on a page. It simply defaults to PAGENAME if title is not provided. Reverting this change breaks many, many mob pages on the site that have not explicitly set title in the infobox. I understand the need for a title for dynamic pages for things like MAP infobox, and unlike MOB infobox it is easy to fix the relatively few map pages for such a change. That said, I question whether MOB infobox itself would ever be used in a dynamic page, and no examples of this are provided. Again moving forward with the default title so that countless mob pages and images are not broken.<br><br>A better solution than intentionally breaking pages to force a separately specified title for every page is simply to warn on each page if title has not been set. I will look into adding such a warning, if desired. [[User:Arindor|Arindor]] ([[User talk:Arindor|talk]]) 04:41, 8 March 2017 (CST)
724
edits