Jump to content

User:Mzajac/sandbox

From Wikipedia, the free encyclopedia

Transliteration

  • {{Transliteration|uk|palianytsia}}: palianytsia
  • {{Transliteration|uk|ukrainian|palianytsia}}: palianytsia


  • {{Transliteration|uk|паляниця}}: паляниця
  • {{Transliteration|uk|ukrainian|паляниця}}: паляниця

Succession of regents

[edit]

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.

Preceded by:
Manfred
King of Sicily Succeeded by:
Peter I
King of Naples Charles II
William II Prince of Achaea
Count of Anjou

First attempt

[edit]

TOCify & harmonize with latest version

Preceded by
Manfred
King of Sicily Succeeded by
Peter I
King of Naples Charles II
William II Prince of Achaea
Count of Anjou

Fix it up

[edit]

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.

Preceded by Succeeded by
Manfred King of Sicily Peter I
King of Naples Charles II
William II Prince of Achaea
Count of Anjou

Table with cellspacing

[edit]

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.

Preceded by Succeeded by
Manfred King of Sicily Peter I
King of Naples Charles II
William II Prince of Achaea
Count of Anjou

One more time

[edit]

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   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.

Preceded by Charles I of Sicily Succeeded by
Manfred King of Sicily Peter I
King of Naples Charles II
William II Prince of Achaea
Count of Anjou

Simple navigation box

[edit]

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"?

Preceded by Alexius II Comnenus Succeeded by
Manuel I Comnenus Byzantine Emperor Andronicus I Comnenus

TOC colours class

[edit]

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:

Preceded by Alexius II Comnenus Succeeded by
Manuel I Comnenus Byzantine Emperor Andronicus I Comnenus

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

[edit]

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.

Preceded by Byzantine Emperor Succeeded by
Manuel I Comnenus Alexius II Comnenus Andronicus I Comnenus

Adam Bishop's box proposal

[edit]

Ah. User:Adam Bishop has one that is nice and small.

Preceded by: Byzantine Emperor Succeeded by:
{{{Prev}}} Byzantine Emperor
{{{CoEmperor}}}
{{{Next}}}

Improvement?

[edit]

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).

Preceded by Byzantine Emperor Succeeded by
{{{Prev}}} Byzantine Emperor
{{{CoEmperor}}}
{{{Next}}}
[edit]

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

[edit]

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

[edit]

Never mind .toc. Use class="toccolours" instead.

from /style/monobook/main.css:

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

Romanization

[edit]
[edit]
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
Державна служба геодезії, картографії та кадастру
Ukrainian State Service of Geodesy, Cartography and Cadastre

Systems

[edit]
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

[edit]

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 (Респу́блика Ингуше́тия, tr. Respublika Ingushetiya in Russian; Гiалгiай Мохк in Ingush) is a ....

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

The Republic of Ingushetia (Russian Респу́блика Ингуше́тия, Respublika Ingushetiya; Ingush: Гiалгiай Мохк) 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 (Респу́блика Ингуше́тия, Respublika Ingushetiya; Гiалгiай Мохк) is a ....

Yuk.

Multiple names

[edit]
Language Name Transliteration An inhabitant
Belarusian Палесьсе Palyessye/
Palesse
Palyashchuk
Polish Polesie Poleszuk
Russian Полесье Poles'ye Poleshchuk
Ukrainian Полісся Polissya/
Polisia
Polishchuk

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

Language Belarusian Polish Russian Ukrainian
Name Палесьсе Polesie Полесье Полісся
Transliteration Palyessye/
Palesse
Poles'ye Polissya/
Polisia
An inhabitant Palyashchuk Poleszuk Poleshchuk Polishchuk

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


AFV infobox

[edit]
Polish museum T-55 Polish museum T-55
T-54/55 general characteristics
crew 4 (commander, gunner, loader, driver)
length 6.20 m
width 3.60 m
height 2.32 m
weight 40.5 t
armour Up to 250 mm of armour. Some late models have appliqué and reactive armour.
primary armament 100 mm D10 rifled gun. Some late models can fire AT-10 Stabber ATGM.
secondary armament 7.62 mm PKMT machine gun in coaxial mount, sometimes DShK 12.7 mm antiaircraft machine gun atop turret.
power plant 462-516 kW (620-690 hp) diesel, sometimes upgraded with a more powerful and reliable engine.
speed 35 km/h (off-road)
range 390 km

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

[edit]

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.


Soviet Armored fighting vehicles of World War II
Tanks
BT tank | Iosef Stalin | Kliment Voroshilov | T-26 | T-28 | T-34 | T-35 | T-70
Self-propelled guns
SU-76 | SU-85 | SU-100 | SU-122 | SU-152 | ISU-122 | ISU-152
Soviet armored fighting vehicle production during World War II

The original, for comparison:


Soviet Armored fighting vehicles of World War II
Tanks
BT | Iosef Stalin | Kliment Voroshilov | T-26 | T-28 | T-34 | T-35 | T-44 | T-60 | T-70
Self-propelled guns
SU-76 | SU-85 | SU-100 | SU-122 | SU-152 | ISU-122 | ISU-152
Soviet armored fighting vehicle production during World War II

Bigger example: the German WWII AFV navbox:


German armored fighting vehicles of World War II
Tanks
Panzer I | Panzer II | Panzer III | Panzer IV | Panther | Tiger I, II | Panzer 35(t) | Panzer 38(t)
Self-propelled artillery
Wespe | Hummel | Grille | Panzerwerfer
Assault guns
StuG III | StuG IV | StuH 42 | Brummbär | Sturmtiger
Tank destroyers
Panzerjäger I | Marder I , II , III | Hetzer | Jagdpanzer IV | Jagdpanther | Nashorn | Jagdtiger | Elefant
Armored half-tracks
SdKfz 4 | 250 | 251 | 252 | 253
Armored cars
Light armored cars | Heavy armored cars
'Self propelled anti-aircraft'
Flakpanzer IV: Möbelwagen, Wirbelwind, Ostwind, Kugelblitz | Gepard
Experimental vehicles (prototypes)
Panzer VIII 'Maus' | P-1000 'Ratte' | E-100 | Panther II | Waffentrager | Neubaufahrzeug
Experimental vehicles (projects)
P-1500 'Monster' | Panzer VII 'Löwe' | E-10 | E-25 | E-50 | E-75 | Panzer IX
German armored fighting vehicle production during World War II

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.


German armored fighting vehicles of World War II
Tanks
Panzer I  ·  Panzer II  ·  Panzer III  ·  Panzer IV  ·  Panther  ·  Tiger I, II  ·  Panzer 35(t)  ·  Panzer 38(t)
Self-propelled artillery
Wespe  ·  Hummel  ·  Grille  ·  Panzerwerfer
Assault guns
StuG III  ·  StuG IV  ·  StuH 42  ·  Brummbär  ·  Sturmtiger
Tank destroyers
Panzerjäger I  ·  Marder I , II , III  ·  Hetzer  ·  Jagdpanzer IV  ·  Jagdpanther  ·  Nashorn  ·  Jagdtiger  ·  Elefant
Armored half-tracks
SdKfz 4  ·  250  ·  251  ·  252  ·  253
Armored cars
Light armored cars  ·  Heavy armored cars
Self propelled anti-aircraft
Flakpanzer IV: Möbelwagen, Wirbelwind, Ostwind, Kugelblitz  ·  Gepard
Experimental vehicles (prototype stage)
Panzer VIII 'Maus'  ·  P-1000 'Ratte'  ·  E-100  ·  Panther II  ·  Waffentrager  ·  Neubaufahrzeug
Experimental vehicles (design stage only)
P-1500 'Monster'  ·  Panzer VII 'Löwe'  ·  E-10  ·  E-25  ·  E-50  ·  E-75  ·  Panzer IX
German armored fighting vehicle production during World War II

One more try:


German armored fighting vehicles of World War II
Tanks
Panzer I  ·  Panzer II  ·  Panzer III  ·  Panzer IV  ·  Panther  ·  Tiger I, II  ·  Panzer 35(t)  ·  Panzer 38(t)
Self-propelled artillery
Wespe  ·  Hummel  ·  Grille  ·  Panzerwerfer
Assault guns
StuG III  ·  StuG IV  ·  StuH 42  ·  Brummbär  ·  Sturmtiger
Tank destroyers
Panzerjäger I  ·  Marder I , II , III  ·  Hetzer  ·  Jagdpanzer IV  ·  Jagdpanther  ·  Nashorn  ·  Jagdtiger  ·  Elefant
Armored half-tracks
SdKfz 4  ·  250  ·  251  ·  252  ·  253
Armored cars
Light armored cars  ·  Heavy armored cars
Self propelled anti-aircraft
Flakpanzer IV: Möbelwagen, Wirbelwind, Ostwind, Kugelblitz  ·  Gepard
Experimental vehicles (prototype stage)
Panzer VIII 'Maus'  ·  P-1000 'Ratte'  ·  E-100  ·  Panther II  ·  Waffentrager  ·  Neubaufahrzeug
Experimental vehicles (design stage only)
P-1500 'Monster'  ·  Panzer VII 'Löwe'  ·  E-10  ·  E-25  ·  E-50  ·  E-75  ·  Panzer IX
German armored fighting vehicle production during World War II


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


German armored fighting vehicles of World War II
Tanks
Panzer I | Panzer II | Panzer III | Panzer IV | Panther | Tiger III | Panzer 35(t) | Panzer 38(t)
Self-propelled artillery
Wespe | Hummel | Grille | Panzerwerfer
Assault guns
StuG III | StuG IV | StuH 42 | Brummbär | Sturmtiger
Tank destroyers
Panzerjäger I | Marder I , II , III | Hetzer | Jagdpanzer IV | Jagdpanther | Nashorn | Jagdtiger | Elefant
Armored half-tracks Armored cars
SdKfz 4 | 250 | 251 | 252 | 253 Light armored cars | Heavy armored cars
Self propelled anti-aircraft
Flakpanzer IV: Möbelwagen, Wirbelwind, Ostwind, Kugelblitz | Gepard
Prototypes
Maus | P-1000 Ratte | E- series | Panther II | Waffentrager | Neubaufahrzeug
Proposed designs
P-1500 'Monster' | Panzer VII 'Löwe' | Panzer IX
German AFVs | Production

Ukrainian oblast navbox

[edit]
Kharkiv Oblast
Харківська область
Location of Kharkiv oblast
Detailed map of Kharkiv Oblast
Population
 - Total (2004)
 - Density
 
2,857,751
91/km²
Area 31,400 km
Raions 27
Cities 17
City districts 9
Urban localities 61
Villages 1,683

NBSP in cite in infobox

[edit]
 
Non-breaking space[1]
U+00A0   NO-BREAK SPACE ( ,  )
See also
U+0020   SPACE (Note: Representations here of a regular space are replaced with a no-break space)
Other types of spaces
  1. ^ J. K. Doe (2021), L'espace insécable : oui!, Quoi ?