Template:Tp: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><onlyinclude>Category:Tp-{{{1}}} {{#ifexpr: ({{/Str|all}}) = ({{/Str|+|force={{{1}}}}}) | full | {{#ifexpr: (({{/Str|+|force={{{1}}}}} / {{/Str|all}}) * 100) <...") |
mNo edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
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: | |||
* {{Code|Category:Tp-<lang code> zero}} – If there are no translated strings for a given language | |||
* {{Code|Category:Tp-<lang code> low}} – If the translation percentage is less than 35% | |||
* {{Code|Category:Tp-<lang code> average}} – If the translation percentage is greater than or equal to 35% but less than 65% | |||
* {{Code|Category:Tp-<lang code> high}} – If the translation percentage is greater than or equal to 65% but less than 100% | |||
* {{Code|Category:Tp-<lang code> full}} – 100% translated strings |
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