ผลต่างระหว่างรุ่นของ "แม่แบบ:Panorama"
เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
หน้าใหม่: <div class="thumb tnone" style="clear:both"><div class="thumbinner"><div class="overflowbugx" style="overflow: auto; {{#ifeq:{{{dir|}}}|rtl|direction: rtl;}}">{{{image... |
(ไม่แตกต่าง)
|
รุ่นแก้ไขปัจจุบันเมื่อ 17:25, 30 ตุลาคม 2555
[[{{{image}}}||alt=]]
Usage notes แก้
The main function of {{Panorama}}, as opposed to {{Wide image}}, is that the template allows you to specify a desired height of the panorama.
Example usage:
{{Panorama |image = File:Ushuaia_panorama_from_seaside_big.jpg |height = 230 |alt = A small city across a gray waterway under lowering gray clouds. A road leads to the city across a causeway. Mountains with snow and a low treeline form the backdrop. A few boats are in the water. |caption = Panorama of Ushuaia from 2005-02-06 }}
This displays File:Ushuaia panorama from seaside big.jpg, which is 7370×1010 pixels, as 1678×230, in a horizontally scrolling box, using the caption and alt text provided.
Parameters:
- image, image to display (starts with "Image:" or "File:")
- height, height to display the image
- alt, alt text for image, for visually impaired readers; see WP:ALT
- caption, caption for the image (optional)
- dir, set to rtl for right-to-left scrolling (optional)
Smaller แก้
Same as the example, but with |height=80
.
Right to left scrolling แก้
Same as the example, but with |dir=rtl
.
See also แก้
- {{Wide image}} – alternative template for panoramas
- {{Tall image}} – for images too large in the other dimension
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:Panorama/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้ |