More actions
Sazzmatazz (talk | contribs) →NPCTableHead formatting issue: new section |
|||
| Line 71: | Line 71: | ||
::In addition to those I think there are some T2 ships where the racial bonus could be considered (though grandfathered player may be able to fly it without racial skill V). | ::In addition to those I think there are some T2 ships where the racial bonus could be considered (though grandfathered player may be able to fly it without racial skill V). | ||
::I think they definitely should have base stats in their stats section instead of applying the hull bonus. It is just confusing if the bonus is applied there. You would need to first read the note at end of the page beore the stats make sense. For example when I looked at it I though that it was the base stat and thought that Cynabal warped at about 9 AU/s.[[User:Hirmuolio Pine|Hirmuolio Pine]] ([[User talk:Hirmuolio Pine|talk]]) 23:15, 27 November 2019 (UTC) | ::I think they definitely should have base stats in their stats section instead of applying the hull bonus. It is just confusing if the bonus is applied there. You would need to first read the note at end of the page beore the stats make sense. For example when I looked at it I though that it was the base stat and thought that Cynabal warped at about 9 AU/s.[[User:Hirmuolio Pine|Hirmuolio Pine]] ([[User talk:Hirmuolio Pine|talk]]) 23:15, 27 November 2019 (UTC) | ||
== NPCTableHead formatting issue == | |||
<p style="font-size: 12pt"> | |||
Browsing through documentation on NPCTable I had noticed that sometimes '''[collapse]''' element in the tables is placed wrong - just check documentation on [[Template:NPCTableHead|NPCTableHead Template]] for example (the very bottom examples of tables). <br> | |||
The reason is that '''[collapse]''' element is positioned in the ''{position: absolute}'' way and the position is determined from the ancestor with a defined position which is currently mw-body-content. If you introduce new paragraphs or blocks it doesn't change the ancestor for '''[collapse]''' positioning.<br> | |||
I have no idea of how to correct it in a proper way, as I have no experience in web coding at all. All my experience is the result of several hours of internet browsing ... <br> | |||
To correct this issue, I suppose one has to change ''<nowiki>{{NPCTableCSS}}</nowiki>'' template and change ''.wikitable.NPC {margin-top: 0px;}'' to ''.wikitable.NPC {position: relative; margin-top: 0px;}''. <br> | |||
Well, actually I am not sure it will not cause any problems in other places, I am not a specialist after all. :)<br> | |||
[[User:Sazzmatazz/Sandbox/old npc table head|old npc table head]]<br> | |||
[[User:Sazzmatazz/Sandbox/correct npc table head|correct npc table head]] | |||
</p> | |||