แม่แบบ:Diff/translator
หน้าตา
Helper subtemplate
[แก้]- Syntax
- {{Diff/translator
|label |url=diff URL}}
In order to make the {{Diff}} template simpler to use this helper subtemplate is available, to be used only in the preview window.
For instance, imagine you want to refer to the following diff URL: https://en.wikipedia.org/w/index.php?title=Main_Page&diff=139993&oldid=139992&diffonly=1
; you only need to transcribe that URL in this subtemplate and produce a preview, without saving the page:
- {{Diff/translator
|Sic exorsi sumus |url=https://en.wikipedia.org/w/index.php?title=Main_Page&diff=139993&oldid=139992&diffonly=1}} - ↳
{{Diff||139993|139992|Sic exorsi sumus|diffonly=yes}}
- ↳
Now copy the code generated ({{Diff||139993|139992|Sic exorsi sumus|diffonly=yes}}
into the edit window where {{Diff/translator}} was and publish the page.
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:Diff/translator/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้ |