Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Sazzmatazz: Difference between revisions

162 editsJoined 5 April 2020
Sazzmatazz (talk | contribs)
No edit summary
m Update link because of page move.
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Hi, I am new.
<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|My Sandbox]]
[[User:Sazzmatazz/Sandbox/old npc table head|old npc table head]]<br>
[[User:Sazzmatazz/Sandbox/correct npc table head|correct npc table head]]
</p>
 
 
 
[[User:Sazzmatazz/Sandbox|My Sandbox]] <br>
===Frequently visited pages===
[[Mission reports]]
 
 
===Not to forget===
[[UniWiki:Mission formatting guidelines|Mission formatting guidelines]]