User:BogdanButnaru/sandbox: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
((Imported from MoinMoin))
 
m (double redirect)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#REDIRECT [[History:CSGv2: Proposal Overview]]
Structural examples:

The structure looks like this:
* '''Work Type''' on ''Basis Work Composer'': '''Basis Work''' for ''Instrumentation'' in '''Key''' ''Scale'', '''Opus Number''' ''No.''
* Done with tables is devilishly hard, especially to get the spacing right. And you can't put them in lists.

{| border="1"
|-
| Work Type || on || Basis Work Composer || : || Basis Work || for || Instrumentation || in || Key || Scale || , || Catalog ID and Catalog # || No.
|}

and looks like this:
* '''6 Variations''' on ''Antonio Salieri'': '''La fiera di Venezia: "Mio caro Adone"''' for ''Piano'' in '''G''' ''major'', '''K. 173c / KV 180''' ''No. 3''
* 7 Variations on Dutch Traditional: "Wilhelmus van Nassau" for Piano in D major, K. 25 No. 2
* (Too hard to get colors right, I'm bored...)

==Comments==

Nice job :) I fought with moin for a good while to get it to do the hidden table (for the Da capo table), never could get it right. Oh - if you think the moin color code here is nasty, umm, don't look at the source to the Mozart listing. :P -- [[Brian Schweitzer|BrianSchweitzer]] 14:21, 08 February 2008 (UTC)

Condensed version of the code, a bit more managable:
{| border="1"
|-
| Work Type || on || Basis Work Composer || : || Basis Work || for || Instrumentation || in || Key || Scale || , || Catalog ID and Catalog # || No.
|}

Using the tablestyle element for the border:none seems to be borked in moin, or it could be shorter. -- [[Brian Schweitzer|BrianSchweitzer]] 02:02, 09 February 2008 (UTC)
<ul><li style="list-style-type:none">I'm not sure it's moin's fault. If I read the DOM Inspector's claims right, some part of our CSS is to blame (i.e., the border:none is applied, but a CSS rule for cells overrides it later). -- [[User:BogdanButnaru|BogdanButnaru]] 16:44, 13 February 2008 (UTC)
</ul>

It occurs to me, while colors might be nicer than square brackets, finding a color pair that is distinguishable between both colors and which won't have issues for this or that color-blindness, we might be better off just making use of tables, but in a different way (the "lego" look, if you will). I think we can ignore potentially implied spaces, too, since spacing already is described in the text and demonstrated within the examples, so this:
{| border="1"
|-
| Work Type || on || Basis Work Composer || : || Basis Work || for || Instrumentation || in || Key || Scale || , || Catalog ID and Catalog # || No.
|}

-- [[Brian Schweitzer|BrianSchweitzer]] 07:27, 13 February 2008 (UTC)
<ul><li style="list-style-type:none">Actually, that boxed table ain't half bad. The only advantage colors/styles have is that it's easier to show the correspondence to the example. So for the example it's clear that ''La fiera di Venezia: "Mio caro Adone"'' is the Basis Work (some might be tempted to split it in two 'fields' at first view), and "No. 3" is the No. and not part the opus number (two of them in this case). Of course we could have both colors and boxes, so colorblind people get as much as we can, and the color helps the others, but that'll be harder to write. -- [[User:BogdanButnaru|BogdanButnaru]] 16:44, 13 February 2008 (UTC)
</ul>

Something like this? -- [[Brian Schweitzer|BrianSchweitzer]] 17:50, 13 February 2008 (UTC)
{| border="1"
|-
| Work Type || '''on''' || Basis Work Composer || ''':''' || Basis Work || '''for''' || Instrumentation || '''in''' || Key || Scale || ''',''' || Catalog ID and Catalog # || No.
|}

Latest revision as of 19:13, 28 August 2016