Module talk:Convert: Difference between revisions

Content deleted Content added
Maintenance category names: connecting with superscript maintenance link and help page section
Maintenance category names: Technical aspects
Line 187:
::# no superscript link (or <sup>&#91;[[Help:Convert#Unknown option|unknown option]]&#93;</sup>)
:::This way we have a triangular connection between message, category and help page section. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 13:24, 21 September 2013 (UTC)
 
=== Technical aspects ===
If we are to use the superscripts, some technical questions arise. Usually, such superscripts are constructed in a template using meta-template {{tl|fix}}. So I created example {{tl|convert dimension mismatch}} for this demo. It has the category name, title, etc:
If such an error occurs, the module should: 1. transclude this oldstyle template onto the page; 2. should add the error description to the {{para|title}} (will be mousehover-text). 3. Could add a more specific error code somehow for more precise linking {{para|anchor}}.<br/>
Example: {{convert dimension mismatch|title=Cannot convert "length" to "mass"|anchor=Dimension mismatch}}.<br>Johnuniq, do you like this way to go? Of course, the code could be handcrafted and hardcoded in the module too. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 14:52, 21 September 2013 (UTC)