User:Mzajac/sandbox

Transliteration





Succession of regents
I think I improved Template:Byzantine Emperor, but Adam Bishop pointed out that this look won't work for some of the more complex custom succession infoboxes. Here's my attempt to fix that. Work is still in progress.

Here's an original one, from Charles I of Sicily.

First attempt
TOCify & harmonize with latest version

Fix it up
Clean-up: headers go into TH, add rules for rows. Removed id="toc" (this would conflict with an actual TOC on the page). Removed table padding which shows up in Safari, not Moz.

This works in Mozilla and MSIE/Win. Rules="rows" has no effect in MSIE/Mac. Safari shows no internal rules at all. Giving rows border-bottom has no effect in Safari, but puts rules right across the rowspanned cell in MSIE/Mac. Crud.

Table with cellspacing
Back to 1995. This works, but there's too much code. Wish I could apply a style-sheet to this. colour has to be applied to each cell separately.

In MSIE/Mac, the vertical rules are hidden by the header row's background colour.

One more time
Built from scratch in BBEdit. Trying to keep it simple.

This one is a compromise design. It doesn't look as good as the preceding in most browsers, but it doesn't really break either.

Bgcolor on the table doesn't work at all. Empty TH must have an &amp;nbsp; in it, or it doesn't look right in MSIE/Mac. Safari draws vertical rules. Except Mozilla, all the browsers render the borders with some ridge.

Added the Emperor's name for an indication of "you are here". Removed some unnecessary bold emphasis.

Simple navigation box
Have to change the simple box to match the new proposal.

Hm. The template shows the names of preceding and succeeding emperors, but not the current one. Shouldn't basic navigation included "you are here"?

TOC colours class
I just read at MediaWiki that in June User:Gwicke added a class to the style sheet that implements the same formatting as the TOC. Just add class="toccolours" to your table. Let's see how it work:

That's rather attractive. I'd still like to see some more specific styles for the tables, like styling for th or row.header.

Names together
or does it make more sense to put the names on one line? Makes more sense in the single box, but not for the complex one.

Adam Bishop's box proposal
Ah. User:Adam Bishop has one that is nice and small.

Improvement?
Combined the header cells by adding cellpadding="2" cellspacing="0". Turned them into THs and made the code slightly more efficient by applying align="center" to TRs. Removed the id="toc", because this could conflict with an actual TOC on a long page (XHTML doesn't allow duplicate IDs on a page).

Navigation box standards
Wikipedia is starting to get full of these navigational templates and infobox templates. Some are templates and others are coded right into the pages. They are formatted different ways (HTML, CSS). Some are Wiki-table code, others are straight HTML. Some have purple headers, other have rules. Some appear as a column at the top-right of the page, others at the bottom. The don't necessarily conform to Wikipedia's different skins, and might look ugly or unreadable with different user style sheets applied.

We should get some style guidelines together for these, standardize the templates, and build the appearance into Wikipedia's style sheets and skins.

There's some discussion about the need for infoboxes at the Village Pump. Some people like them and some hate them. I think it's important that they be attractive and unobtrusive to improve acceptance.

Canadian tables of first ministers
Harmonize style and colour in the tables in these articles:

also List of Canadian Leaders of the Opposition.

Think about a standard ID and style sheet for tables like this.

TOC table formatting
Never mind .toc. Use class="toccolours" instead.

from /style/monobook/main.css:

/*border:1px solid #2f6fab;*/ border:1px solid #aaaaaa; background-color:#f9f9f9; padding:5px; font-size: 95%; } 	margin-top: 0.7em; font-size: 94%; }
 * 1) toc {
 * 1) toc .tocindent { margin-left: 2em; }
 * 2) toc .tocline { margin-bottom: 0px; }
 * 3) toc p { margin: 0 }
 * 4) toc .toctoggle { font-size: 94%; }
 * 5) toc .editsection {

Links

 * Special characters
 * International Phonetic Alphabet
 * Cyrillic alphabet
 * Transliteration
 * Transcription
 * Romanization
 * Transliteration of Russian into English
 * comparisons of romanization systems
 * Unicode entities conversion tool — the tool
 * UNSD : UN Statistics Division
 * UN : United Nations Conferences on the Standardization of Geographical Names, http://www.eki.ee/wgrs/
 * UNGEGN : UN Working Group of Experts on Geographical Names
 * &#1044;&#1077;&#1088;&#1078;&#1072;&#1074;&#1085;&#1072; &#1089;&#1083;&#1091;&#1078;&#1073;&#1072; &#1075;&#1077;&#1086;&#1076;&#1077;&#1079;&#1110;&#1111;, &#1082;&#1072;&#1088;&#1090;&#1086;&#1075;&#1088;&#1072;&#1092;&#1110;&#1111; &#1090;&#1072; &#1082;&#1072;&#1076;&#1072;&#1089;&#1090;&#1088;&#1091; : Ukrainian State Service of Geodesy, Cartography and Cadastre

Systems

 * ISO 9:1995 : international standard
 * ALA–LC Romanization tables : American Library Association/Library of Congress
 * BGN/PCGN 1947 : United States Board on Geographic Names & Permanent Committee on Geographical Names for British Official Use. 1965 version is up-to-date for Ukrainian.
 * Ukrainian National Romanization 1993/1996? : Ukraine's official standard
 * UN 1987 : United Nations' standard
 * KNAB : Institute of Estonian Language, Romanization
 * WGRS : UNGEGN's Working Group on Romanization Systems. This site includes PDF tables.  They have a system for Russian, and use the National system for Ukrainian.

Wikipedia conventions
How's this look? Notice the pop-up title text on "tr." I bet people would even read it, if Wikipedia didn't make every frickin' link repeat its text in the title.


 * The Republic of Ingushetia (&#1056;&#1077;&#1089;&#1087;&#1091;&#769;&#1073;&#1083;&#1080;&#1082;&#1072; &#1048;&#1085;&#1075;&#1091;&#1096;&#1077;&#x301;&#1090;&#1080;&#1103;, tr. Respublika Ingushetiya in Russian; &#1043;i&#1072;&#1083;&#1075;i&#1072;&#1081; &#1052;&#1086;&#1093;&#1082; in Ingush) is a ....

The WikiProject Russian federal subjects guys seem to be settling on something like:


 * The Republic of Ingushetia (Russian &#1056;&#1077;&#1089;&#1087;&#1091;&#769;&#1073;&#1083;&#1080;&#1082;&#1072; &#1048;&#1085;&#1075;&#1091;&#1096;&#1077;&#x301;&#1090;&#1080;&#1103;, Respublika Ingushetiya; Ingush: &#1043;i&#1072;&#1083;&#1075;i&#1072;&#1081; &#1052;&#1086;&#1093;&#1082;) is a ....

How about using some title attributes. Wikitext could incorporate support for these. Oh crud, spans don't work. Unfortunately MSIE/Win is broken for titles; only shows them on links.


 * The Republic of Ingushetia (&#1056;&#1077;&#1089;&#1087;&#1091;&#769;&#1073;&#1083;&#1080;&#1082;&#1072; &#1048;&#1085;&#1075;&#1091;&#1096;&#1077;&#x301;&#1090;&#1080;&#1103;, Respublika Ingushetiya ; &#1043;i&#1072;&#1083;&#1075;i&#1072;&#1081; &#1052;&#1086;&#1093;&#1082; ) is a ....

Yuk.

Multiple names
An example table from Polissia. There are many other articles that might use something like this to unload the huge nomenclature line.

It seems to be more compact when vertically oriented. Is it easier to read?

AFV infobox
Here's a slight redesign, shown for the T-54/55, with the standard 300-px image size. It gets rid of all the busy lines, so that the actual content draws the eye. Goes well with the default monobook.css skin. Are the grey bands dark enough to differentiate the rows?

A problem with this is that the alternating table background formatting has to be placed in each cell. I could get around this if I had access to the site CSS. Of course, if all this code was in a template, then it's no problem.

Update: made the table body text smaller, image width: 250 px.

Update: header more prominent, added image caption.

Update: see template:AFV

AFV navbox
From Template:WWIISovietAFVs. I find the meaningless colours are distracting.

Update: I've changed the line spacing in all of these to more closely associate heading rows with content. I think they're much better now.

Update: also added a new proposal below, which differs less from the current navbox.

The original, for comparison:

Bigger example: the German WWII AFV navbox:

It's still very busy; needs more definition. De-linking all the headings so they're solid black text would help. Another alternative is to add some rules. And all those pipe separators get mixed up with the Is, IIs, and IIIs; let's try some spaced middle dots:

I've also de-linked the headings in this one. Having black bold text does a lot to show the sections.

One more try:

This one is more similar to the current navbox, but tones down the colour, incorporating something like the German steel-blue.