ผลต่างระหว่างรุ่นของ "แม่แบบ:ว่าง/doc"
เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Tiemianwusi (คุย | ส่วนร่วม) หน้าที่ถูกสร้างด้วย '{{documentation subpage}} ==Usage== Use this template to insert a fixed width gap in inline text. The default is 2em. For example, <...' |
Tiemianwusi (คุย | ส่วนร่วม) ไม่มีความย่อการแก้ไข |
||
บรรทัดที่ 1: | บรรทัดที่ 1: | ||
{{documentation subpage}} |
{{documentation subpage}} |
||
== ข้อบ่งใช้ == |
|||
==Usage== |
|||
Use this template to insert a fixed width gap in inline text. The default is 2em. |
|||
ใช้สร้างช่องว่างในบรรทัด |
|||
For example, |
|||
<nowiki>Hello{{gap|3em}}world!</nowiki> |
|||
yields "Hello{{gap|3em}}world!" |
|||
== วากยสัมพันธ์ == |
|||
<pre>{{gap|xxem}}</pre> |
|||
If no argument is given, the default is 2em: |
|||
<nowiki>Hello{{gap}}world!</nowiki> |
|||
yields "Hello{{gap}}world!" |
|||
xx ให้ใส่จำนวนความกว้างยาวที่ต้องการ '''เช่น''': |
|||
For a real example of it in use, see [[Page:An introduction to physiological and systematical botany (1st edition).djvu/542]]. |
|||
<pre>อนันตปัดชเย {{gap|5em}} อปัดติเถเถนา {{gap|3em}} อปัตติยา {{gap|2em}} อปัตติเถเถทือ </pre> |
|||
==Deprecated or incorrect usage== |
|||
'''แสดงผลเป็น:''' |
|||
Please note: This template is ''not'' intended to produce a formatting preference, such as indented paragraphs or double spacing after full stops (periods). |
|||
: อนันตปัดชเย {{gap|5em}} อปัดติเถเถนา {{gap|3em}} อปัตติยา {{gap|2em}} อปัตติเถเถทือ |
|||
===Indentation=== |
|||
Indentation can be produced with a div style using a CSS command like "text-indent:2em". {{tl|gap}} shouldn't be used to indent the first line of a paragraph |
|||
===Offsetting right-aligned text=== |
|||
Please do not use a construction like |
|||
<nowiki>{{right|This is incorrect{{gap}} }}</nowiki> |
|||
{{tl|Right}} has a parameter "offset" for this: |
|||
ถ้าไม่ใส่ (ใส่แต่ <nowiki>{{gap}}</nowiki>) จะใส่ความกว้างยาวมาตรฐาน คือ 2em ให้โดยอัตโนมัติ |
|||
<nowiki>{{right|This is correct|offset=2em}}</nowiki> |
|||
[[หมวดหมู่:แม่แบบวิกิตำรา]] |
รุ่นแก้ไขเมื่อ 22:03, 11 ตุลาคม 2555
นี่คือหน้าย่อยของคู่มือการใช้งานสำหรับ แม่แบบ:ว่าง (ดูที่หน้าสำหรับข้อมูลของแม่แบบนั้นเอง) หน้านี้เกี่ยวข้องกับการใช้สารสนเทศ หมวดหมู่ และเนื้อหาอื่น ๆ ที่ไม่ได้เป็นส่วนหนึ่งของหน้าแม่แบบดั้งเดิม |
ข้อบ่งใช้
ใช้สร้างช่องว่างในบรรทัด
วากยสัมพันธ์
{{gap|xxem}}
xx ให้ใส่จำนวนความกว้างยาวที่ต้องการ เช่น:
อนันตปัดชเย {{gap|5em}} อปัดติเถเถนา {{gap|3em}} อปัตติยา {{gap|2em}} อปัตติเถเถทือ
แสดงผลเป็น:
- อนันตปัดชเย อปัดติเถเถนา อปัตติยา อปัตติเถเถทือ
ถ้าไม่ใส่ (ใส่แต่ {{gap}}) จะใส่ความกว้างยาวมาตรฐาน คือ 2em ให้โดยอัตโนมัติ