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: {{{3 | <includeonly><onlyinclude>[[Category:Tp-{{{1}}} {{#ifexpr: ({{{3}}} + 0) >= {{{2}}} | full | {{#ifexpr: ({{{3}}} + 0) <= 0 | zero | {{#ifexpr: ({{{3}}} + 0) * 100 / ({{{2}}})) < 35 | low | {{#ifexpr: ({{{3}}} + 0) * 100 / ({{{2}}})) < 65 | average | {{#ifexpr: ({{{3}}} + 0) * 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 |
Revision as of 01:15, 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