Diferencia entre revisiones de «Plantilla:Table all GPTs»
De Wikiexplora
(No se muestran 3 ediciones intermedias del mismo usuario) | |||
Línea 1: | Línea 1: | ||
− | {| class="wikitable collapsible collapsed" style="float:right; margin-left:5px; width:300px; text-align: | + | <!-- |
+ | This is broken on mobile display, where the uncollapsed table is shown first and TOC is obscured. | ||
+ | This is beause as of December 2024, Wikiexplora is on ancient version of MediaWiki: 1.26.1. | ||
+ | Version of deployed MediaWiki is in source code of each page like this: <meta name="generator" content="MediaWiki X.YY.Z" /> As of writing it is 1.26.1. | ||
+ | The collapsible and collapsed wikitable classes were ignored in by MediaWiki up to 1.43, from 1.44 they are upheld. | ||
+ | This is the ticket that links the commit that enabled it: https://phabricator.wikimedia.org/T111565 | ||
+ | Conditional display or mobile is not possible with "If mobile" template as templatestyle extension is not included. | ||
+ | So the only solution would be to put a link to an external page with all GPT sections. | ||
+ | Once an upgrade is deployed, a better view that would not require https://www.wikiexplora.com/GPTs would be like this: | ||
+ | (it puts a list accessible on this page to the uper right corner of the screen to the same height as TOC. In mobile view, TOC is not displayed, so probably the list of all GPTS should be floated on the right and TOC floated on the left, so it would be better aligned, needs investigation) | ||
+ | <div style="margin-top: -14px;overflow: hidden"> | ||
+ | <div style="float:left;margin-top: 14px">__TOC__</div> | ||
+ | <div style="margin-top: 0px;">{{Table all GPTs}}</div></div> | ||
+ | --> | ||
+ | {| class="wikitable mw-collapsible mw-collapsed" style="float:right; margin-left:5px; width:300px; text-align:left;" | ||
! All GPT sections (click to show) | ! All GPT sections (click to show) | ||
|- | |- |