Template talk:Rayman 1: Difference between revisions

Spiraldoor (talk | contribs)
Master (talk | contribs)
 
(6 intermediate revisions by 2 users not shown)
Line 32: Line 32:
:::::::I've implemented this on the [[Blue Mountains]] and [[Twilight Gulch]] articles. Everything in order? —[[User:Spiraldoor|Spiraldoor]] [[File:IconSpiralDoor.png|link=User:Spiraldoor]] 01:16, 26 April 2014 (CEST)
:::::::I've implemented this on the [[Blue Mountains]] and [[Twilight Gulch]] articles. Everything in order? —[[User:Spiraldoor|Spiraldoor]] [[File:IconSpiralDoor.png|link=User:Spiraldoor]] 01:16, 26 April 2014 (CEST)
:::::::Never mind, just saw your edits. —[[User:Spiraldoor|Spiraldoor]] [[File:IconSpiralDoor.png|link=User:Spiraldoor]] 01:17, 26 April 2014 (CEST)
:::::::Never mind, just saw your edits. —[[User:Spiraldoor|Spiraldoor]] [[File:IconSpiralDoor.png|link=User:Spiraldoor]] 01:17, 26 April 2014 (CEST)
To bring a new focus on the discussion, while I completely appreciate the choice to use the current templates as opposed to the rather massive Rayman 1 template, as I mentioned in another talk page, I still think the current set-up is inefficient. I propose we have a template a bit like this for level articles, that way, we avoid the bloatedness, but still have a more efficient setup:
{| class="navbox mw-collapsible {{#if:{{{collapsed|}}} | mw-collapsed | mw-uncollapsed }}" width="100%" style="margin: 0 auto 0 auto; padding: 0.2em; border-width: 2px; border-style: solid; border-color:#f0b708; background:#14190E; colspan=5 !important"
|-
! align="center" style=background:#AA0000 colspan=5 |<span>Levels in ''[[Rayman 1|Rayman]]''</span>
|-
| colspan=4|<small>[[Ray Breakout]] &bull; [[Bonus level (Rayman 1)|Bonus level]]</small>
|-
! align="left" style=background:#AA0000; width=10% colspan=1 |<small>[[The Dream Forest]]</small>
| style=background:#141900 colspan=4|<small>[[Pink Plant Woods]] &bull; [[Anguish Lagoon]] &bull; [[Swamps of Forgetfulness]] &bull; [[Moskito's Nest]]</small>
|-
! align="left" style=background:#AA0000; colspan=1 |<small>[[Band Land]]</small>
|  colspan=4|<small>[[Bongo Hills]] &bull; [[Allegro Presto]] &bull; [[Gong Heights]] &bull; [[Mr Sax's Hullaballoo]]</small>
|-
! align="left" style=background:#AA0000; colspan=1 |<small>[[Blue Mountains]]</small>
| style=background:#141900 colspan=4|<small>[[Twilight Gulch]] &bull; [[The Hard Rocks]] &bull; [[Mr Stone's Peaks]]</small>
|-
! align="left" style=background:#AA0000; colspan=1 |<small>[[Picture City]]</small>
| colspan=4|<small>[[Eraser Plains]] &bull; [[Pencil Pentathlon]] &bull; [[Space Mama's Crater]]</small>
|-
! align="left" style=background:#AA0000; colspan=1 |<small>[[The Caves of Skops]]</small>
| style=background:#141900 colspan=4|<small>[[Crystal Palace]] &bull; [[Eat at Joe's]] &bull; [[Mr Skops' Stalactites]]</small>
|-
! align="left" style=background:#AA0000; colspan=1 |<small>[[Candy Château]]</small>
| colspan=4|<small>[[Mr Dark's Dare]]</small>
|}
--[[File:Sig5 2TEST.png|150px|link=User:Master]] 01:01, 7 June 2014 (CEST)
==Autocollapse and Wikipedia templates==
I've been snooping around, and from comparing our [[MediaWiki:Common.js]] to [http://en.wikipedia.org/wiki/MediaWiki:Common.js Wikipedia's], it seems we ought to have autocollapsing capabilities in Nav templates, we've not been able to manage getting them in yet. Any ideas?
Another item I'd like to mention is how our are navboxes currently like to make, there's a pretty large amount of code to work with, and I believe there ought to be some more accessible alternative. I don't have the power to implement Wikipedia's [http://en.wikipedia.org/wiki/Template:Navbox Navboxes], but I believe they do have some manner of instruction on [http://en.wikipedia.org/wiki/Template_talk:Navbox how to do so], should an admin believe these templates to be feasible. While I don't really mind our current lot, I'd much prefer their Navbox templates to help in creation.
(Irrelevant, but if I'm going to note usability, I guess I ought to make another nudge about the [http://www.mediawiki.org/wiki/Extension:WikiEditor improved editor] --[[File:Sig5 2TEST.png|150px|link=User:Master]] 23:14, 27 April 2014 (CEST)
:The autocollapse works for me, could it be a browser issue? As for navboxes we don't have many of them so I don't see this as a priority. The improved editor is very interesting though. —[[File:RRRGBAIcon8.png|link=User:Hunchman801]][[File:RRRGBAIcon0.gif|link=User:Hunchman801]][[File:RRRGBAIcon1.png|link=User:Hunchman801]] 15:24, 28 April 2014 (CEST)
::Hmm, weird, the templates are still expanded even in the presence of one or more other collapsing templates, I tried checking in the Steam browser, it came up the same. I'll see if I can check on other browsers and confirm. Just to clarify in case, collapsing works, it's getting them to automatically collapse when there's more than one navbox that is the issue. --[[File:Sig5 2TEST.png|150px|link=User:Master]] 18:29, 28 April 2014 (CEST)
:::I'm not convinced it's a good idea to have such a behaviour. Why not add a parameter to the template that specifies whether it should be collapsed on page load, so that we have absolute control over it on every page? —[[File:RRRGBAIcon8.png|link=User:Hunchman801]][[File:RRRGBAIcon0.gif|link=User:Hunchman801]][[File:RRRGBAIcon1.png|link=User:Hunchman801]] 19:06, 28 April 2014 (CEST)
::::Hmm, so we can make it collapse on the pages we wish, and expanded on others? That seems like a reasonable idea. I'm not quite sure how to implement such a feature though, but I'll check things up. --[[File:Sig5 2TEST.png|150px|link=User:Master]] 19:08, 28 April 2014 (CEST)
Return to "Rayman 1" page.