Template:Module rating/i18n: Difference between revisions
Template page
More actions
add language selector and translated tag |
Add “invalid‑rating” error message and fallback result when message is not present in translated subpages |
||
| Line 18: | Line 18: | ||
| semiprotected = <translate><!--T:6--> | | semiprotected = <translate><!--T:6--> | ||
This module is [[:Category:Modules subject to page protection|subject to page protection]]. It is a [[:en:Wikipedia:High-risk templates|highly visible module]] in use by a very large number of pages, or is [[:en:WP:SUBST|substituted]] very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is [[:en:WP:SEMI|semi-protected]] from editing.</translate> | This module is [[:Category:Modules subject to page protection|subject to page protection]]. It is a [[:en:Wikipedia:High-risk templates|highly visible module]] in use by a very large number of pages, or is [[:en:WP:SUBST|substituted]] very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is [[:en:WP:SEMI|semi-protected]] from editing.</translate> | ||
| invalid-rating = <translate>Module rating is invalid or not specified.</translate> | |||
| error = <translate><!--T:7--> Error: {{tl|Module rating}} must be placed in the Module namespace.</translate> | | error = <translate><!--T:7--> Error: {{tl|Module rating}} must be placed in the Module namespace.</translate> | ||
<includeonly> | |||
| #default = ⧼{{{1}}}⧽ | |||
</includeonly> | |||
}}</onlyinclude> | }}</onlyinclude> | ||
{{translated tag|header}} | {{translated tag|header}} | ||
Revision as of 05:10, 6 August 2021
NOTE: Please do not use this template directly! This is just for translation. Use {{Module rating}} instead.