||||\n-|-|-|\n:discourse2: | الملخص | يتيح لك Reply Template إعادة استخدام جزء من منشور بسهولة في رد أو موضوع جديد.\n| | المعاينة | المعاينة على منشئ سمات Discourse\n:hammer_and_wrench: | رابط المستودع | \u003chttps://github.com/discourse/discourse-reply-template-component\u003e\n:open_book: |جديد في سمات Discourse؟ | دليل المبتدئين لاستخدام سمات Discourse\n\n[wrap=theme-install-button repoUrl="https://github.com/discourse/discourse-reply-template-component\" repoName="Discourse Reply Template"]\nتثبيت مكون السمة هذا\n[/wrap]\n[quote]\n\n:discourse2: نظرًا لأن هذا مكون سمة official تتم صيانته بواسطة فريق Discourse، يمكن تقديم طلبات Support أو Bug أو UX أو Feature في الفئات المعنية هنا على Meta، ووضع علامة عليها بالعلامة المناسبة لمكون السمة. انقر على أحد الروابط أدناه لبدء واحدة. \n\n\u003ckbd\u003e [\u0026nbsp;الدعم](Discourse Meta "اطلب الدعم بشأن تكوين واستخدام قالب الرد") \u003c/kbd\u003e \u003ckbd\u003e [\u0026nbsp;خطأ](Discourse Meta "تقرير الخطأ يعني أن هناك شيئًا ما معطلاً، مما يمنع الاستخدام العادي/النموذجي لمكون السمة") \u003c/kbd\u003e \u003ckbd\u003e (Discourse Meta \“مناقشة حول واجهة مستخدم قالب الرد، وكيفية عرض الميزات (بما في ذلك اللغة وعناصر واجهة المستخدم)\”) \u003c/kbd\u003e \u003ckbd\u003e [\u0026nbsp;**ميزة**](Discourse Meta \“مناقشة حول كيفية تحسين ميزات قالب الرد الحالية وتعزيزها، وكيفية عمل الميزات المقترحة الجديدة\”)\u003c/kbd\u003e\n\n[/quote]\n\n### الميزات\n\n **Reply Template** يتيح لك إعادة استخدام جزء من منشور بسهولة في رد أو موضوع جديد.\n\n### الاستخدام\n\n```\n[wrap=template key=\“template-name\”]\nمحتواي القابل لإعادة الاستخدام\n\n- [ ] المهمة 1\n- [ ] المهمة 2\n\n```\n\nلاحظ أنه إذا لم يكن المستخدم مسجلاً دخوله، فسيؤدي النقر على الزر إلى عرض نافذة تسجيل الدخول.\n\nالمفتاح إلزامي\n\n### خيارات أخرى\n\n- action=\"create\" سيؤدي هذا إلى فتح الزر لإنشاء موضوع جديد\n- action=\"create_pm\" سيؤدي هذا إلى فتح الزر لإنشاء رسالة خاصة جديدة\n- categoryId=\"2\" يمكن استخدامه فقط مع action=\"create\"، وسيحدد فئة المنشئ المفتوح\n- title=\"some title\" يمكن استخدامه فقط مع create و create_pm، عنوان الموضوع/الرسالة الخاصة\n- recipients=\"a@example.com\" يمكن استخدامه فقط مع create_pm، الأشخاص الذين سيتم إرسال الرسالة إليهم\n- usernames=sam يمكن استخدامه فقط مع create_pm\n- label=\"My button text\" نص الزر\n\n\n### العناصر النائبة\n\nيمكنك الحصول على مفاتيح خاصة في القالب الخاص بك سيتم استبدالها:\n\n- \$week_start -\u003e التاريخ في بداية الأسبوع\n- \$week_end -\u003e التاريخ في نهاية الأسبوع\n- \$prev_week_start -\u003e التاريخ في بداية الأسبوع السابق\n- \$prev_week_end -\u003e التاريخ في نهاية الأسبوع السابق\n- \$today\n- \$tomorrow\n- \$username -\u003e اسم المستخدم للمستخدم الحالي\n- \$name -\u003e اسم المستخدم الحالي \n\nلاحظ أنه سيتم استبدال هذا بالتواريخ المحلية.\n\nيتم أيضًا دمج العناصر النائبة الخاصة في title\n\n### قائمة العلامات\n\ntagsList=\":heart:,foo,#bar" سيعرض قائمة مربعات اختيار في نهاية القالب حتى يتمكن الأشخاص من وضع علامات على منشوراتهم بسهولة.\n\n
\n\n## مثال\n\n\nقائمة مهامي $week_end\n\n- [x] المهمة 1\n- [x] المهمة 2\n\n\n### الإعدادات\n\n| الترجمة | الافتراضي\n|-|-|\n| discourse_reply_template_component.use_template_reply | استخدام القالب كـ رد\n| discourse_reply_template_component.use_template_create | استخدام القالب كموضوع جديد\n| discourse_reply_template_component.use_template_create_pm | استخدام القالب كـ رسالة خاصة جديدة\n| discourse_reply_template_component.needs_key | كل قالب يحتاج إلى سمة مفتاح. مثال: [wrap=template key=\"weekly_status\"][/wrap]\n\n\u003cbr\u003e\n\n\u003e:discourse2: مستضاف من قبلنا؟ مكونات السمة متاحة للاستخدام في خططنا القياسية (Standard) والأعمال (Business) والمؤسسات (Enterprise).
This is the best. Thank you!! I use this to create checklist templates that can be created anytime we’re doing a repetitive project. Before, our instructions would have been “copy and paste everything below” instead of having this very elegant button to create a topic for people.
Is there a plan to make this functionality accessible in the composer window? To me the most logical place being where things like Hide Details and Build Poll live.
In my opinion it’d be more helpful to have an example for the reply case (without action=create) because this is probably the reason, the majority is searching for since creating a topic is already possible via URL
Would it be possible to use a template to create a new personal message?
Also, when someone is not signed in, clicking on “Use template as reply” does not result in any action. Could you add functionality where if a user is not logged in, something happens to nudge them to log in or create a new account?
Is there any possible way to modify the stock reply button in a topic with such a template?
That would be a gamechanger for specific structured conversations in the forum. Especially for contests etc where users have to submit content in a structured manner.
Currently the user can access the reply template only via the button in the first post generated by the theme component.
What I would like to achieve is to enable the template for the stock reply buttons in the topic as well (reply button below the timeline and reply button below the last post)
Edit: One prolific use case is a topic where users can leave feedback like bug reports etc. If we could add per-topic post templates just like for per-category templates for new topics, that would lead to less incomplete reports and hence save our staff a lot of time.