Template:TemplateDataInfo/i18n/th: Difference between revisions
More actions
mNo edit summary |
←Created page with 'กรณีมีคู่มือประกอบการใช้งานแม่แบบอยู่แล้ว' |
||
| Line 5: | Line 5: | ||
|text=[[:mw:Special:MyLanguage/Extension:TemplateData|ข้อมูลแม่แบบ]]คือวิธีการเก็บข้อมูลเกี่ยวกับพารามิเตอร์ของแม่แบบ (คำอธิบายและวิธีใช้ทั้งหมดของแม่แบบ) เพื่อใช้สำหรับการใช้งานของมนุษย์และเครื่องมือต่าง ๆ ใช้โดย[[:mw:Special:MyLanguage/:VisualEditor|เครื่องมือแก้ไขแบบเห็นภาพ]]และเครื่องมืออื่น ๆ ได้อีก เช่น[[Special:MyLanguage/Commons:Upload Wizard|ตัวช่วยการอัปโหลด]] | |text=[[:mw:Special:MyLanguage/Extension:TemplateData|ข้อมูลแม่แบบ]]คือวิธีการเก็บข้อมูลเกี่ยวกับพารามิเตอร์ของแม่แบบ (คำอธิบายและวิธีใช้ทั้งหมดของแม่แบบ) เพื่อใช้สำหรับการใช้งานของมนุษย์และเครื่องมือต่าง ๆ ใช้โดย[[:mw:Special:MyLanguage/:VisualEditor|เครื่องมือแก้ไขแบบเห็นภาพ]]และเครื่องมืออื่น ๆ ได้อีก เช่น[[Special:MyLanguage/Commons:Upload Wizard|ตัวช่วยการอัปโหลด]] | ||
---- | ---- | ||
<u> | <u>กรณีมีคู่มือประกอบการใช้งานแม่แบบอยู่แล้ว</u><br/> | ||
At Wikimedia Commons, it is recommended to use {{tl|TemplateBox}} with either <code><nowiki>useTemplateData=1</nowiki></code> or <code><nowiki>useTemplateData=only</nowiki></code> on the <code><nowiki>/doc</nowiki></code> subpage and transcluding it with {{tl|Documentation}} into the template. <code><nowiki><nowiki></nowiki></code>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.<br/> | At Wikimedia Commons, it is recommended to use {{tl|TemplateBox}} with either <code><nowiki>useTemplateData=1</nowiki></code> or <code><nowiki>useTemplateData=only</nowiki></code> on the <code><nowiki>/doc</nowiki></code> subpage and transcluding it with {{tl|Documentation}} into the template. <code><nowiki><nowiki></nowiki></code>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.<br/> | ||
Revision as of 08:42, 25 June 2020
- TemplateData
ข้อมูลแม่แบบคือวิธีการเก็บข้อมูลเกี่ยวกับพารามิเตอร์ของแม่แบบ (คำอธิบายและวิธีใช้ทั้งหมดของแม่แบบ) เพื่อใช้สำหรับการใช้งานของมนุษย์และเครื่องมือต่าง ๆ ใช้โดยเครื่องมือแก้ไขแบบเห็นภาพและเครื่องมืออื่น ๆ ได้อีก เช่นตัวช่วยการอัปโหลด
กรณีมีคู่มือประกอบการใช้งานแม่แบบอยู่แล้ว
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1 or useTemplateData=only on the /doc subpage and transcluding it with {{Documentation}} into the template. <nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information