User talk:Melroch: Difference between revisions
Line 77: | Line 77: | ||
you want and persuade Muke to install it -- which latter would be | you want and persuade Muke to install it -- which latter would be | ||
the easy part. Go to [http://www.mediawiki.org/wiki/Category:Extensions] | the easy part. Go to [http://www.mediawiki.org/wiki/Category:Extensions] | ||
and look for collapsible table extensions! [[User:Melroch|BPJ]] 10:33, 20 July 2008 (UTC) | and look for collapsible <s>table</s> list extensions! [[User:Melroch|BPJ]] 10:33, 20 July 2008 (UTC) |
Revision as of 02:34, 20 July 2008
Quid est?
Ok, Thank you for your advise! I will take care of the vowel table! :P Ciao Bukkia
DPL
I installed the extension you asked for. I didn't get to look too well into how it works, so let me know if it doesn't and I'll check it out. —Muke Tever | ✎ 08:23, 22 April 2007 (PDT)
- I'll look at it this week. As usual Real Life has served me stuff that needs to be looked into first... BPJ 09:55, 22 April 2007 (PDT)
- However a preliminary test of the basic function worked OK: User:Melroch/sandbox#DPL_test. I'll test some of the tentinnabulas et fistulas ASAP BPJ
Ok, thats fine but why did you delete my con-lang from the list?
Combined regional timelines
Hi BPJ,
I'd like to create an article that contains a timeline for multiple regions at once, where the user can select which regions to display (similar to collapsible tables on Wikipedia, but based on <li>
tags). The events should be listed in chronological order, so each event must probably be treated as an individual entity within a <div> tag whose class/id value is changed). I have a fairly good idea how to approach this; only I have little experience with both wiki templates and JavaScript (which I suspect might be necessary). Maybe you as the template expert of FW could help me with this?
Basically, my idea is as follows:
Timeline article
{{Timeline|SPHERE}} {{Event|region1|103|King of Region 1 dies.}} {{Event|region2|110|Rebellion in Region 2.}} </div>
(Note that "SPHERE" should not actually appear in the wikitext, but represents a variable containing the sphere(s) that the user wants to see. This is what must be changed dynamically.)
Template:Timeline
<div class="timeline" id="{{{1}}}">
Template:Event
<span class={{{1}}}> * {{{2}}} AD: {{{3}}}</span>
Common.css
.timeline li {display:none;} #region1 .region1 {display:inline;} #region2 .region2 {display:inline;}
With this (I think) I'd only need a way to set the SPHERE
variable in Template:Timeline to either "region1" or "region2" dynamically, based on user choice. The output should then look like so:
SPHERE="region1"
- 103 AD: King of Region 1 dies.
SPHERE="region2"
- 110 AD: Rebellion in Region 2.
SPHERE="region1 region2"
- 103 AD: King of Region 1 dies.
- 110 AD: Rebellion in Region 2.
cedh audmanh 09:30, 20 July 2008 (UTC)
- I'm afraid you're out of luck since JS can't be included in wiki pages.
You'd need to find/write a MediaWiki extension which does what
you want and persuade Muke to install it -- which latter would be
the easy part. Go to [1]
and look for collapsible table list extensions! BPJ 10:33, 20 July 2008 (UTC)