Template:TranslationQuality
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
Usage
For SW:1226. Highlights a block of textbased on its believed translation quality. To avoid nesting, incorporates rollover by itself.
{{TranslationQuality|translated text|original text|quality}}
"quality" should be a number between 0.0 and 1.0, where 1.0 is "perfect" and 0.0 is "gibberish".
If the translated text is set to "?", then the untranslated text will be displayed in "gibberish" colour.
For simplicity, assumes that values outside the 255-0 range (such as -95 or 382) will be clamped to 255 or 0. If someone says this results in problems with a particular browser, note such on the talk page.