Difference between revisions of "Template talk:MOB infobox"

From Project: Gorgon Wiki
Jump to: navigation, search
(Default title: Responded to Arindor and Alleryn.)
(Default title)
Line 31: Line 31:
  
 
:: 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)
 
:: 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)

Revision as of 05:41, 8 March 2017

Weird formatting

If you have only one line of effective/ineffective/immune, the row takes up the space of two. See Buck Deer for an example. Any way to change that?

--Extractum11 (talk) 00:17, 15 March 2015 (CDT)

I have no idea. I messed around with it for a while, and I'm not quite sure why it does that. BetaNotus (talk) 10:06, 15 March 2015 (CDT)
I just fixed that, was due to extra post-linefeeds in the code.Trimoon (talk) 04:02, 9 April 2016 (CDT)

Level

It would be useful to have a level option to display the creature's level. Would it make the box too crowded?

--Extractum11 (talk) 10:47, 13 March 2015 (CDT)

Personally, I think it would make the box too crowded. BetaNotus (talk) 15:43, 13 March 2015 (CDT)
I don't think it would be too crowded if it were placed in header floating left or right :) --Trimoon (talk) 03:47, 11 April 2016 (CDT)
Thinking more about it, this game doesn't work with char levels, so which level are we talking about? --Trimoon (talk) 03:48, 11 April 2016 (CDT)
It used to be that autopsying/butchering/skinning would give you the exact amount of xp as the internal enemy level. This has been obfuscated a bit, now those skills give xp rounded up/down to multiples of 5. IIRC the intent is that mob "levels" shouldn't be viewable. Extractum11 (talk) 19:20, 16 January 2017 (CST)

Multi areas

See Talk:Mushroom#Multi areas --Trimoon (talk) 03:45, 11 April 2016 (CDT)

Default title

"Please do not "Fix" the title field. That actually breaks more things. We want the mob names in the title field on each page for a reason! Thank you."

Please explain. What "more things" are broken with a default title? As far as I could see, the template is in an usable condition, with many mob pages broken: the title just says "title" and the mob pictures do not show. The Sherzat page shown in the documentation for this template for example!!! My change was not without consideration - I tested at length and the default title seemed the best approach to fix the many many broken pages, and I found no examples of where it broke something else. If you have such examples, please provide them so folk can help fix issues without feeling like we're just being told "I know it's broke - don't touch it". Arindor (talk) 19:36, 24 February 2017 (CST)

I'm not really clear on why your approach won't work. I did talk to BetaNotus in-game and he said we should add the title parameter to all the existing MOB_Infobox templates. Some clarification on why we need this would be nice. He also said we shouldn't start on it right away, because the wiki is going to be coming down shortly for server maintenance. Alleryn (talk) 20:43, 24 February 2017 (CST)
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. 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.

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. Arindor (talk) 04:41, 8 March 2017 (CST)