How would I make this table with wiki-text?

87 views
Skip to first unread message

Mark S.

unread,
Sep 19, 2017, 7:12:30 PM9/19/17
to TiddlyWiki
I tried until I was cross-eyed, but things kept shifting into the wrong cell. The thing is, there's actually 4 cells to be merged (2 up, 2 across) .

Thanks!
Mark
table-to-format-4-TW.png

RichardWilliamSmith

unread,
Sep 19, 2017, 7:35:45 PM9/19/17
to TiddlyWiki
Try this

@@border-right: 1px solid;
|weak form adjectives|>|singular|<|plural|
|~|masc|neut|fem|~|
|nom|-e|a|a| a |
|acc|-n|a|a|~|
|dat| -en |<|<|~|
|gen|~|>|>|~|
@@

Includes a kludge because tables cells don't seem to have a right border by default - must be to do with the way Jeremy has written the css. Not sure if this counts as a bug, but it's an "edge case" (haha).

Regards,
Richard 

Mark S.

unread,
Sep 19, 2017, 8:01:58 PM9/19/17
to TiddlyWiki
Thanks Richard,

But, the nom neut, nom fem, acc neut, and acc fem should all be merged as one cell. Those 4 cells in particular were the show-stopper for me: how to merge across and up/down at once without weird things happening?

Thanks!
Mark

Mat

unread,
Sep 19, 2017, 8:11:41 PM9/19/17
to TiddlyWiki
(For once an opportunity to help Mark, rather than the other way around!)
(...or at least an attempt to do so...)

This is the closest I get:

| Weak Form<br>Adjectives |>| Singular |<| Plural |h
|~| Masculine | Neuter | Feminine |~|h
| Nominative | -e | -e |<| -en |
| Accusative | -en |~|>|~|
| Dative | -en |<|<|~|
| Genitive |~|>|>|~|

I suspect there is a bug somewhere. For example, like in Richards solution, the "Plural" has no right border but this is barely visible thanks to the heading coloration.

<:-)

Mark S.

unread,
Sep 19, 2017, 8:46:30 PM9/19/17
to TiddlyWiki
Thanks Mat!

Is there/was there any strategy to follow? One thing that puzzles (ok, lots of things). This line:

| Accusative | -en |~|>|~|

According to the docs, this should merge the 4th cell with the final end cell to it's right. It doesn't, which is good for this table, but I don't understand why it works at all.

On my screen, the right border appears just fine. I wonder if its a browser/platform issue?

Thanks!
Mark

Mat

unread,
Sep 19, 2017, 9:05:26 PM9/19/17
to TiddlyWiki
On Wednesday, September 20, 2017 at 2:46:30 AM UTC+2, Mark S. wrote:
Thanks Mat!

Is there/was there any strategy to follow?

Ehm... trial and error.

 
One thing that puzzles (ok, lots of things). This line:

| Accusative | -en |~|>|~|


Yes, this is one of the things that makes me suspect a bug. It seems those special table 'characters' interfere with one another both horizontally and vertically.


On my screen, the right border appears just fine. I wonder if its a browser/platform issue?

Also to the right of the gray "Plural" cell?  If yes, then yeah, probably browser or so. I'm on win10, chrome latest.


<:-)

Mark S.

unread,
Sep 19, 2017, 9:32:41 PM9/19/17
to TiddlyWiki
Hi Mat,

Trial and error? I'm good at the error stuff. It's amazing you could find it so fast.

Here's some screen shots. You can see the right-most border is OK (Win 7, Firefox 55.0.3) but partially missing in Chrome.

Thanks!
Mark
table-to-format-4-TW-fixed.png
table-to-format-4-TW-fixed-chrome.png

RichardWilliamSmith

unread,
Sep 20, 2017, 12:16:54 AM9/20/17
to TiddlyWiki
Sorry about that. For purpose of better figuring things out, this also works.

| Weak Form<br>Adjectives |>| Singular |<| Plural |h
|~| Masculine | Neuter | Feminine |~|h
| Nominative | -e |>| -e | -en |
| Accusative | -en |>|~|~|
| Dative | -en |<|<|~|
| Genitive |~|>|>|~|

(It swaps the order and direction of the symbols in that block)

TonyM

unread,
Sep 20, 2017, 1:10:36 AM9/20/17
to TiddlyWiki
Mark,

In TWC the zoom amount of the browser had an effect of the exact display. A Zoom in or out would change the number of borders you could see. I don't know if this in relevant in TW5 because its responsive.

Sometimes my table design was perfect, only I had a zoom out that was too great the boarders were not displayed.

Regards
Tony

Mark S.

unread,
Sep 20, 2017, 9:46:27 AM9/20/17
to TiddlyWiki
Hi Richard,

That works and scans very sanely. But it seems like, for the nom line, that this also should work:

| Nominative | -e | -e |<| -en |

But it doesn't. So ... why does merging from the left work but merging from the right doesn't?

Thanks!
Mark

@TiddlyTweeter

unread,
Sep 20, 2017, 10:18:09 AM9/20/17
to TiddlyWiki
Why don't you just make at table OUTSIDE TW in HTML and just insert it.

This seems like a lot of OVER-SWEAT.

J, x

Mark S.

unread,
Sep 20, 2017, 10:26:02 AM9/20/17
to TiddlyWiki
HTML table markup is noisy and hard to read. You could ask, "Why use mark-up at all" ?

@TiddlyTweeter

unread,
Sep 20, 2017, 11:24:10 AM9/20/17
to TiddlyWiki
Far too into the groove for me. I like pragmatism. YOUR own example is a doddle of where "just do it another easier way" fitted via normal HTML better than TW issues.

I agree that full HTML for tables is noisy. But what the heck IF IT WORKS.

Let's not get anal about WikiText when it becomes some long Gordian Knot.

The point is to get things DONE.

J, x
Reply all
Reply to author
Forward
0 new messages