Template:Tp: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>[[Category:Tp-{{{1}}} {{#ifexpr: | <includeonly><onlyinclude>[[Category:Tp-{{{1}}} {{#ifexpr: {{{3}}} >= {{{2}}} | full | {{#ifexpr: {{{3}}} <= 0 | zero | {{#ifexpr: ({{{3}}} * 100 / {{{2}}}) < 35 | low | {{#ifexpr: ({{{3}}} * 100 / {{{2}}}) < 65 | average | {{#ifexpr: ({{{3}}} * 100 / {{{2}}}) < 100 | high }} }} }} }} }}]]</onlyinclude></includeonly> | ||
Tp – Translation Progress. Is a helper template for the {{T|Page}} template. Mainly used to display the number of strings translated and categorize the page relative to the translation percentage: | Tp – Translation Progress. Is a helper template for the {{T|Page}} template. Mainly used to display the number of strings translated and categorize the page relative to the translation percentage: | ||
* {{Code|Category:Tp-<lang code> zero}} – If there are no translated strings for a given language | * {{Code|Category:Tp-<lang code> zero}} – If there are no translated strings for a given language |
Latest revision as of 01:24, 26 June 2024
Tp – Translation Progress. Is a helper template for the {{Page}} template. Mainly used to display the number of strings translated and categorize the page relative to the translation percentage:
- Category:Tp-<lang code> zero – If there are no translated strings for a given language
- Category:Tp-<lang code> low – If the translation percentage is less than 35%
- Category:Tp-<lang code> average – If the translation percentage is greater than or equal to 35% but less than 65%
- Category:Tp-<lang code> high – If the translation percentage is greater than or equal to 65% but less than 100%
- Category:Tp-<lang code> full – 100% translated strings