17. ร่วมสร้างสรรค์แบ่งปันความรู้ออนไลน์ด้วยวิกิ
ภาพอยู่กึ่งกลาง ให้เคาะช่องว่างทั้งหน้าและหลัง 2 เคาะ ดังนี้
{{เคาะเคาะ:stks.jpgเคาะเคาะ|ภาพขนาดปกติ}}
ข้อความกับรูปภาพ
การนำเสนอข้อความพร้อมกับรูปภาพที่จัดตำแหน่ง จะปรากฏผลดังนี้
Paragraph#1 floating image and text (with some more floating image and text
and floating image and text and floating image and text and floating image and
text and floating image and text and floating image and text and floating image
and text and floating image and text and floating image and text and floating
image and text and floating image and text and floating image and text and
floating image and text and floating image and text and floating image and text
and floating image and text and floating image and text and floating image and
text and floating image and floating image and text and floating image and text and floating image and text
Paragraph#2 floating image and text (with some more floating image and text and floating image and text and
floating image and text and floating image and text and floating image and text and floating image and text
and floating image and text and floating image and text and floating image and text and floating image and
text and floating image and text and floating image and text and floating image and text and floating image
and text and floating image and text and floating image and text and floating image and text and floating im-
age and text and floating image
ศูนย์บริการความรู้ทางวิทยาศาสตร์และเทคโนโลยี
Science and Technology Knowledge Services (STKS) 17
18. ร่วมสร้างสรรค์แบ่งปันความรู้ออนไลน์ด้วยวิกิ
หากต้องการนำเนื้อหาพารากราฟที่ 2 อยู่ใต้ภาพ จะต้องใช้คำสั่ง ~~ CL ~~ (พิมพ์ติดกัน) คั่นก่อนพารากราฟที่ 2
ซึ่งจะปรากฏผล ดังนี้
Paragraph#1 floating image and text (with some more floating image and text and
floating image and text and floating image and text and floating image and text and
floating image and text and floating image and text and floating image and text and
floating image and text and floating image and text and floating image and text and
floating image and text and floating image and text and floating image and text and
floating image and text and floating image and text and floating image and text and
floating image and text and floating image and ~~CL~~
Paragraph#2 floating image and text (with some more floating image and text and floating image and text and
floating image and text and floating image and text and floating image and text and floating image and text
and floating image and text and floating image and text and floating image and text and floating image and
text and floating image and text and floating image and text and floating image and text and floating image
and text and floating image and text and floating image and text and floating image and text and floating im-
age and text and floating image
ทำงานกับแฟ้มเอกสารอื่นๆ
สำหรับการทำงานกับแฟ้มเอกสารอื่นๆ ใช้หลักการเดียวกับการทำงานกับรูปภาพ แต่เปลี่ยน syntax เป็น
{{:ชื่อไฟล์พร้อมส่วนขยาย|คำอธิบายแฟ้มเอกสาร}}
ตัวอย่าง {{:20080413-web-behavior-v2.pdf|รายงานพฤติกรรมผู้ชมเว็บ โดย ดร.ทวีศักดิ์ กออนันตกูล}}
ศูนย์บริการความรู้ทางวิทยาศาสตร์และเทคโนโลยี
Science and Technology Knowledge Services (STKS) 18
24. ร่วมสร้างสรรค์แบ่งปันความรู้ออนไลน์ด้วยวิกิ
ทั้งนี้สามารถเพิ่มความสามารถได้โดยระบุคำสั่งต่อท้าย เช่น {{rss>http://www.rssthai.com/rss/it.xml
date description}} จะปรากฎผลดังนี้
• สนง.สถิติ เผย e-commerce เติบโตในสภาวะเศรษฐกิจซบ (2008/11/17 15:30)
นาง ธนนุช ตรีทิพยบุตร เลขาธิการสถิติแห่งชาติ กล่าวว่า จากสภาพเศรษฐกิจโลก และประเทศไทยกำลังประสบ
ปัญหาธุรกิจ ทั้งด้านธุรกิจการพาณิชย์อิเล็กทรอนิกส์ หรือการใช้เทคโนโลยีสารสนเทศและการสื่อสารเพื่อซื้อขายสินค้าผ่าน
ระบบออ นไลน์ หรือที่เรียกว่า e-commerce
• กทช. เผยไวแมกซ์ใกล้คลอด คาดปี 52 ออกใบอนุญาตจากการประมูล (2008/11/17 15:29)
นาย กิตติน อุดมเกียรติ ผู้เชี่ยวชาญประจำสำนักงานคณะกรรมการกิจการโทรคมนาคมแห่งชาติ หรือ กทช.
กล่าวว่า จากการทดสอบให้บริการ และรวบรวมข้อมูลด้านไวแม็กซ์ เพื่อนำมาจัดเป็นร่างออกใบอนุญาต โดยคาดว่าปี
2552 จะสามารถออกใบอนุญาตไวแม็กซ์ให้กับผู้ประกอบการไปดำเนินการ
• ไทยรองแชมป์ใช้อินเทอร์เน็ตมากในเอเชีย (2008/11/11 07:15)
ผล สำรวจแพคซ์ ระบุ คนใช้เน็ตมีรายได้และใช้ชีวิตหรูหรากว่าคนไม่ใช้เน็ต ขณะที่ไทยเป็นอันดับสองในเอเชียที่ใช้
เวลาในการเข้าเน็ตมาก คาดอีก 1-2 ปีข้างหน้า การใช้เวลาเล่นเน็ตจะแซงหน้าการใช้เวลาดูทีวี
• ปิดฉากประชันทักษะสมองกลฝังตัว มก.คว้าแชมป์ หวังใช้งานจริง (2008/10/28 00:01)
หลัง จากเปิดโครงการ TESA TOP GUN RALLY 2008 ประชันทักษะสมองกลฝังตัว ครั้งที่ 3 หัวข้อ
การพัฒนาต้นแบบ Real-Time Engine Control Unit(ECU) เมื่อวันที่ 20 ต.ค. 2551 ที่ผ่านมา
ปรับแต่งด้วย CSS
Dokuwiki อนุญาตให้นำคำสั่ง HTML และ CSS มาปรับแต่งการแสดงผลได้ตามต้องการ โดยจะต้องพิมพ์ภายใต้
<html>...</html> เช่น
<html> <p style=”border:2px dashed red;”>And this is some block HTML</p> </html>
ซึ่งจะได้ผลลัพธ์ดังนี้
And this is some block HTML
ศูนย์บริการความรู้ทางวิทยาศาสตร์และเทคโนโลยี
Science and Technology Knowledge Services (STKS) 24
25. ร่วมสร้างสรรค์แบ่งปันความรู้ออนไลน์ด้วยวิกิ
การเน้นข้อความในรูปแบบ Blockquote
การนำเนื้อหา/ข้อความจากแหล่งอื่นมาใช้ ควรใช้คำสั่ง <blockquote>..</blockquote> กำกับเพื่อให้แสดง
ที่ชัดเจน ทั้งนี้ควรระบุแหล่งที่มาของข้อความ/เนื้อหาภายใต้คำสั่ง <cite>...</cite> เช่น
<blockquote> Test with loads of markup... Another paragraph with a little [[http://nowhere|link]]
to nowhere. Oh, and while we are at it, what about some **bold**, some //italic// and
some __underlined__ text? And finally, an itemization: * item 1 * item 1.1 * item 1.2 * item 2
- ordered item 2.1 - ordered item 2.2 - ordered item 2.2.1 * item 3 Works :-) <cite>http://
foosel.org/snippets/dokuwiki/blockquote</cite> </blockquote>
ซึ่งจะปรากฏผลดังนี้
Test with loads of markup…
Another paragraph with a little link to nowhere. Oh, and while we are at it, what
about some BOLD, some italic and some underlined text? And finally, an itemization:
• item 1
• item 1.1
• item 1.2
• item 2
• ordered item 2.1
• ordered item 2.2
• ordered item 2.2.1
• item 3
Works :-)
http://foosel.org/snippets/dokuwiki/blockquote
ศูนย์บริการความรู้ทางวิทยาศาสตร์และเทคโนโลยี
Science and Technology Knowledge Services (STKS) 25
26. ร่วมสร้างสรรค์แบ่งปันความรู้ออนไลน์ด้วยวิกิ
สร้างกรอบ (Box) ให้กับเนื้อหา
Dokuwiki มี Plug-ins ที่เพิ่มความโดดเด่น สวยงามให้กับข้อความ/เนื้อหาในรูปแบบกรอบ (Box)
โดยใช้คำสั่ง ดังนี้ <box> the box contents </box>
ซึ่งจะปรากฏผลลัพธ์ดังนี้
the box contents
นอกจากนี้ยังสามารถปรับแต่งความสามารถของการนำเสนอกรอบได้ ได้ด้วยคำสั่ง <box width classes
colours | title text> contents text </box> โดย
• width คือความกว้าง มักจะระบุเป็น % เ่ช่นเต็มจอภาพก็ระบุเท่ากับ 100%
• classes คือ ส่วนขยายเพื่อบ่งบอกประเภท/รูปแบบของกรอบ เช่น
• round ระบุให้กรอบมีขอบมน
• blue เลือกแสดงด้วยชุดสี blue
• red เลือกแสดงด้วยชุดสี red
• green เลือกแสดงด้วยชุดสี green
• orange เลือกแสดงด้วยชุดสี orange
• left ระบุให้กรอบชิดซ้าย
• right ระบุให้กรอบชิดขวา
• Colours ให้ระบุค่าสีในรูปแบบฐานสิบหก โดยแบ่งเป็นสีดังนี้ content background title back-
ground outer box background borders เช่น
<box 80% round orange|a title> the box contents</box>
ศูนย์บริการความรู้ทางวิทยาศาสตร์และเทคโนโลยี
Science and Technology Knowledge Services (STKS) 26