| I notice that this template doesn't check for the existence/validity of the two mandatory unnamed parameters (that is for the less initiated, {{temp|t|fr|mot}}, fr would be the first, mot would be the second). I recently added to {{temp|IPA}}, {{temp|X-SAMPA}} and {{temp|enPR}} a check to see if <nowiki>{{{1|}}}</nowiki> was provided, this was really successful as it caught about 30 or so main namespace entries that did not actually include a pronunciation. The difference is... these templates are so widely used and often multiple times on the same page, if not dozens of times, or over 100! I wonder if we also want to follow the French Wiktionary and categorize translations using hidden categories. Possibly that's a step too far. In the example above, {{temp|t|fr|mot}} would categorize into [[:Category:Translations into French]] (or whatever title we chose). [[User:Mglovesfun|Mglovesfun]] ([[User talk:Mglovesfun|talk]]) 11:50, 1 May 2012 (UTC) | | I notice that this template doesn't check for the existence/validity of the two mandatory unnamed parameters (that is for the less initiated, {{temp|t|fr|mot}}, fr would be the first, mot would be the second). I recently added to {{temp|IPA}}, {{temp|X-SAMPA}} and {{temp|enPR}} a check to see if <nowiki>{{{1|}}}</nowiki> was provided, this was really successful as it caught about 30 or so main namespace entries that did not actually include a pronunciation. The difference is... these templates are so widely used and often multiple times on the same page, if not dozens of times, or over 100! I wonder if we also want to follow the French Wiktionary and categorize translations using hidden categories. Possibly that's a step too far. In the example above, {{temp|t|fr|mot}} would categorize into [[:Category:Translations into French]] (or whatever title we chose). [[User:Mglovesfun|Mglovesfun]] ([[User talk:Mglovesfun|talk]]) 11:50, 1 May 2012 (UTC) |
| + | :Categorizing entries that have translations into French would certainly be a step too far. I don't see the harm (and see some benefit) in categorizing when missing either or both parameters, though. Also those that are missing the transliteration parameter and are in languages that require it. ''However'', because there can be so many translations on a page, any such tagging should take a visible form (so it can be spotted in the page), not just categorization. I suggest that {{temp|attention}} be used for this purpose (especially because it's customizable by language if <nowiki>{{{1}}}</nowiki> is set), and that anyone who wishes to see the attention-seeking notification on the page follow the instructions at [[template:attention]] to do so. I think that'd be the best way. Code for {{temp|t} could then be as follows: |
沒有留言:
張貼留言