Los parámetros o placeholders son elementos dentro del template que permiten alguna variabilidad en el contenido que entregarán, pudiendo así customizar la respuesta para diferentes usuarios.
Veamos dos ejemplos:
...
Parameters or placeholders are elements within the template that allow some variability in the content they will deliver, thus being able to customize the response for different users.
Let's see two examples:
Example #1
Template:
⛈ Según datos del Servicio Meteorológico Nacional, el Municipio de Tigre 🐯 informa que rige en el área un alerta por tormentas fuertes y sudestada con una pleamar de According to data from the National Meteorological Service, the Municipality of Tigre 🐯 reports that an alert for strong and southeastern storms is in effect in the area with a high tide of {{1}} a las at {{2}} hso'clock. 🕐
...
Resulting message:
...
⛈ Según datos del Servicio Meteorológico Nacional, el Municipio de Tigre 🐯 informa que rige en el área un alerta por tormentas fuertes y sudestada con una pleamar de 4,02m a las 14:00 hs 🕐
...
According to data from the National Meteorological Service, the Municipality of Tigre 🐯 reports that an alert for strong and southeastern storms is in effect in the area with a high tide of 4.02m at 2:00 p.m. 🕐
Info |
---|
This message has {{1}} y and {{2}} como as text placeholders de texto, que al momento de enviar el HSM deberán ser reemplazados con un texto que puede tener cualquier forma y tamaño, en este caso, horarios. Dejando así la posibilidad de reutilizar el mismo mensaje en diferentes ocasiones que se lo necesite. |
...
, which when sending the HSM must be replaced with text that can have any shape and size, in this case, schedules. Thus leaving the possibility of reusing the same message on different occasions when it is needed. |
Example #2
Template:
{{1}}, ya hemos cargado la documentación que nos enviaste! 🙂 Para terminar realizá la capacitación online para aprender como hacer el mejor uso de la aplicación y completá el Test de aptitudes para conductores. Continuar con el proceso de inscripciónwe have already loaded the documentation that you sent us! 🙂 To finish, take the online training to learn how to make the best use of the application and complete the Driver Aptitude Test. Continue with the registration process: {{2}}
...
Resulting message:
Alejo, ya hemos cargado la documentación que nos enviaste! 🙂 Para terminar realizá la capacitación online para aprender como hacer el mejor uso de la aplicación y completá el Test de aptitudes para conductores. Continuar con el proceso de inscripciónwe have already loaded the documentation that you sent us! 🙂 To finish, take the online training to learn how to make the best use of the application and complete the Driver Aptitude Test. Continue with the registration process: https://www.conductores.com/inscripcionAlejo
Info |
---|
Este mensaje también tiene This message also has 2 placeholders, en este caso actuando de forma que in this case acting so that {{1}} sirve para poder enviar el nombre de la persona a contactar y serves to send the name of the person to contact and {{2}} para enviar un link especial para cada personato send a special link for each person. |