Difference between revisions of "User:Murph"
From Kerbal Space Program Wiki
m (Strip failed subst from template we don't have) |
m (→Use cases: Use the test version of the template) |
||
Line 40: | Line 40: | ||
==== Simple short test with missing group ==== | ==== Simple short test with missing group ==== | ||
− | {{Navbox | + | {{/Template:Navbox |
| name = Murph | | name = Murph | ||
| state = uncollapsed | | state = uncollapsed | ||
Line 58: | Line 58: | ||
==== Simple 20 group test ==== | ==== Simple 20 group test ==== | ||
− | {{Navbox | + | {{/Template:Navbox |
| name = Murph | | name = Murph | ||
| title = {{{title}}} | | title = {{{title}}} |
Revision as of 15:51, 29 May 2015
I'm just using this page as my personal sandbox. Please do not edit this page or any of its subpages without my express permission (unless you are an official wiki admin, of course, and it's actually causing any problems).
Contents
Things I'd like to improve
- The current {{Navbox}} template is a horribly dense block of wiki script code. It carries a warning not to edit it due to the complexity, which is quite justified, but the complexity is made far worse by it being collapsed into a single block of impossible to maintain code (I rate it as impossible for anyone to reliably maintain, even seasoned MediaWiki experts).
- We're using raw {{FlipBox}} templates as navboxes, with each instance containing its own style information and variances. This makes it harder to maintain a consistent visual result across the wiki, as well as duplicating maintenance effort and potential errors/variations.
- Wikipedia provide w:Wikipedia:WikiProject Transwiki/Template:Navbox for other wikis to freely use under the CC BY-SA license. It looks like our existing Navbox may have been based on a version of this, in breach of the Wikipedia license (it is not attributed to them, there's no attribution provided at all).
Goals
- Work towards a "one true navbox" template which covers all of our major cases and covers them convincingly well.
- Comply with Wikipedia's license.
Use cases
Simple short test with missing group
|
Simple 20 group test
|
Template:Versions
Current production version
|
Test version
|
Template:Stock craft
Current production version
Test version
|
Support template for Template:Navbox