Difference between revisions of "User:PureMisery/Proposals"
PureMisery (talk | contribs) (Created page with "== Table of contents == <pre> <div style="float:right;"> {|style="margin:0px 0px 5px 10px;" |__TOC__ |} </div> </pre> The abomination above should be replaced with <code><no...") |
PureMisery (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | == Improved Template:Languages == | ||
+ | |||
+ | [[User:PureMisery/Test_multilanguage_page|Comparison page]] | ||
+ | |||
+ | [[User:PureMisery/Template:Languages]] | ||
+ | |||
+ | === Pros === | ||
+ | |||
+ | * Improved alignment and margins of the layout. | ||
+ | * Optimized the CSS styles and the HTML output. | ||
+ | * Usage of <code><nowiki><bdi></nowiki></code> tags prevents some hypothetical multilanguage problems. | ||
+ | * Added additional default empty values for parameters. | ||
+ | * Localizated the <code>Language:</code> string. | ||
+ | |||
+ | === Cons === | ||
+ | |||
+ | Additional testing should be performed. | ||
+ | |||
+ | === Remarks === | ||
+ | |||
+ | I don't understand the point of creating external links with <code>uselang</code> property. Since there is not enough localized pages, the mediawiki interface language just keeps changing back and forth to English. | ||
+ | |||
+ | I think it would be beneficial to use wikilinks. Internal links don't open new windows, the URLs are prettier and self-links appears as bold text. | ||
+ | |||
== Table of contents == | == Table of contents == | ||
Revision as of 14:46, 12 October 2020
Improved Template:Languages
User:PureMisery/Template:Languages
Pros
- Improved alignment and margins of the layout.
- Optimized the CSS styles and the HTML output.
- Usage of
<bdi>
tags prevents some hypothetical multilanguage problems. - Added additional default empty values for parameters.
- Localizated the
Language:
string.
Cons
Additional testing should be performed.
Remarks
I don't understand the point of creating external links with uselang
property. Since there is not enough localized pages, the mediawiki interface language just keeps changing back and forth to English.
I think it would be beneficial to use wikilinks. Internal links don't open new windows, the URLs are prettier and self-links appears as bold text.
Table of contents
<div style="float:right;"> {|style="margin:0px 0px 5px 10px;" |__TOC__ |} </div>
The abomination above should be replaced with {{TOC right}}
.
{{TOCright}}
is too obsolete and should NOT be used. Thankfully it appears only on a few standard MediaWiki pages.
P. S. __TOC__
isn't supposed to be placed in a table. Otherwise it get swollen due to the border-spacing
table property and the display: table-cell
property of the .tocnumber
, .toctext
classes.