"سانچہ:One2a/doc" کے نسخوں کے درمیان فرق
Appearance
ur>Wikivahdat better convert |
م 1 نسخہ درآمد کیا گیا |
(کوئی فرق نہیں)
| |
حالیہ نسخہ بمطابق 09:27، 4 دسمبر 2022ء
| فائل:Edit-copy green.svg | سانچہ:Strong for سانچہ:Terminate sentence It contains usage information, categories and other content that is not part of the original سانچہ page. |
| فائل:Lua-Logo.svg | This template uses Lua: |
This is a wrapper for the one2a function in Module:String2.
The one2a function scans through a string, passed as either the first unnamed parameter or |txt=, and converts each occurrence of 'one ' into either 'a ' or 'an ', then returns the resultant string.
Examples
{{one2a |one foot. One mile. One inch.One amp. one foot. one mile. one inch. Alone at last.}}→ a foot. A mile. An inch.An amp. a foot. a mile. an inch. Alone at last.{{convert|1|ft|spell=in}}→ one foot (0.30 m){{one2a|{{convert|1|ft|spell=in}}}}→ a foot (0.30 m){{convert|2.54|cm|0|disp=out|spell=on}}→ one inch{{one2a|{{convert|2.54|cm|0|disp=out|spell=on}}}}→ an inch