Template:L10n subtemplate/doc

This template is used on localization subtemplates to provide a standardized documentation of the functionality of those subtemplates. It also automatically categorizes the page.

Usage
The template will print an overview table that visualizes the current localization configuration. Use this parameter to hide that table.
 * notable

Note
This template uses  paremeter of DPL to retrieve "raw" input of arguments(i.e. before parsing), it is roughly the code you wrote, not the parsed input received by the  template.

For example,  will be represented as   in. through some string processing, we can get the original input code.

However, unfortunately, due to a bug(or a feature?) in DPL, for certain forms of input, some information is lost in 's value, specifically, consecutive parentheses. For example,, it should be   or something similar, but in fact, you will get  , consecutive parentheses will appear only one. When this happens, the original input cannot be inferred with certainty. Here is an example: for  and , both of them will be   in.

This also happened to the template closing parentheses and will produce even weird results. if you write, you will get   for  , and, after this round of DPL loop ended, there will be a single   goes out, then next loop round began.

The HTML comments are invisible for, so be care with this, for example, is same as  and will lead to incorrect result.

Adding white space between parentheses will solve this problem. For example,  will works correctly. So,for l10n registion, the best practice is to use line breaks directly, without the aid of comments. For example: And, if there are consecutive parentheses, split them will space: This will not affect the function of l10 itself (and even slightly faster), but it can help l10 automatic document to be generated correctly.