Changes

Jump to navigation Jump to search

Mediawiki 使用方法大全

2,168 bytes added, 17 April
==语法大全==
* [https://www.mywiki.cn/mywiki/index.php/%E7%BB%B4%E5%9F%BA%E8%AF%AD%E6%B3%95 维基语法]
* [https://www.mediawiki.org/wiki/Help:Formatting/zh Help:格式化文本]
 
<span class="tb_red">红色文本</span>
 
<span class="tb_red_bold">红色粗体文本</span>
 
<span class="tb_blue">蓝色文本</span>
 
<span class="tb_blue_bold">蓝色粗体文本</span>
 
==允许使用的HTML元素==
https://www.mediawiki.org/wiki/Help:HTML_in_wikitext
==Q&A==<htmlmark><details><summary>Q: Does the x650 support OLED display?</summary>A: Yes. please contact us at mail: support@geekworm.com, But we actually think OLED displays are pointless一些内容</detailsmark>
<detailscode><summary>Q: How to enable RTC?Raspberry Pi 5</summarycode>
Firstly, insert the C1220 button battery, then run the following command==增加缩进==在要编辑的文本前增加冒号::缩进一点::缩进多一点 ==Q&A 模板==<prediv class="toccolours mw-collapsible mw-collapsed"> rw<div style="font-weight:bold;line-height:1.0; color:red;">Q2: How to restart the pi board when AC Power supply is connected? sudo nano </boot/config.txtdiv><div class="mw-collapsible-content"> #Then change the lineA: Please enable 'AUTO POWER ON'or 'AUTO ON'dtoverlayfunction if you want restart when the AC Power supply is reapplied.</div></div> <div class="toccolours mw-collapsible mw-collapsed"><div style="font-weight:bold;line-height:1.0;">Q0: 请在这里写上问题</div><div class="mw-collapsible-content">A: 请在这里放置回答。文本也要遵循WIKI的编辑格式; sudo i2cdetect -y 1* 列表项目* 列表项目也可以插入表格:{| class=i2c"wikitable"! Model !! Compatible with !! Work with X630 !! Remark|-rtc,pcf8563| [[PiKVM-A3|KVM-A3]] || Raspberry Pi 4 Model B || YES || |-| [[PiKVM-A8|KVM-A8]] || Raspberry Pi 4 Model B || YES || ''' to PCIe version'''dtoverlay=i2c, No external wire|-| [[PiKVM-A4|KVM-A4]] || Raspberry Pi zero 2 W || YES || |-rtc,ds1307| [[X650]] || Raspberry Pi Computer Module 4 (CM4) || NO || '''PCIe version''' #Test RTC|- #Display the current time of the | [[X652]] || Raspberry PiComputer Module 4 (CM4) || NO || '''PCIe version''', PoE Power&NVMe SSD supported date |- #Write the time of | [[X680]] || Raspberry Pi Compute Module 4 (CM4) || NO || '''Can control up to DS13074 USB HDMI computers/servers'''|}  sudo hwclock </div></div> <div class="toccolours mw-collapsible mw-wcollapsed"> <div style="font-weight:bold;line-height:1.0;"> #Read Q1:Why Raspberry Pi is randomly rebooting all the time of DS1307?</div> sudo hwclock <div class="mw-collapsible-rcontent">A:You can follow the steps to test if the X728 issue: a:Take the X728 off from the Raspberry Pi, remove all the batteries, power supply, and all jumper caps. Then connect the battery or power supply, press the blue power button on X728, the blue LED should be on, and then press and hold the power button for more than 8 seconds, the blue LED should be off.(These steps indicate that the X728 has no issue.)  rob:Please check and confirm if other device occupy the GPIO with X728.
</pre>c:Still not find out the issue, please attach a video to contact us show more details.</detailsdiv>
<details><summary>Q2<summary>A-XXX</detailsdiv>
<div class="toccolours mw-collapsible mw-collapsed"><div style="font-weight:bold;line-height:1.6;">Q3: What are GPIO5 and GPIO12 used for X728 V1.3/htmlV2.0?</div><div class="mw-collapsible-content">A: GPIO5 control shutdown, GPIO12 BOOK OK.</div></div>
==表格==
Run a shell script to get the core temp and parse the output.
</syntaxhighlight>
 
== All Category ==
在这个wiki库中,目前使用的分类有下面这些,如果不够请通知管理员来增加, 不要私自增加自己想的分类;
<pre>
[[Category:Product Manual]] 所有的产品都需要增加这个分类;
[[Category:Consumer Electronics]]
[[Category:Raspberry pi]]
[[Category:Arduino]]
[[Category:pcDuino]]
[[Category:Beaglebone Black]]
[[Category:Smart Home]]
 
//下面这个分类仅适用于一些知识库文章;
[[Category: Knowledge]]
 
分类使用示例:
在页面的末尾增加分类即可,可以使用多个分类;
</pre>
==引用内部链接==
[http://bbs.idcspy.com 美国主机侦探]
URL和显示文本之间用空格隔开。
</pre>
 
== All Category ==
在这个wiki库中,目前使用的分类有下面这些,如果不够请通知管理员来增加, 不要私自增加自己想的分类;
<pre>
[[Category:Product Manual]] 所有的产品都需要增加这个分类;
[[Category:Consumer Electronics]]
[[Category:Raspberry pi]]
[[Category:Arduino]]
[[Category:pcDuino]]
[[Category:Beaglebone Black]]
[[Category:Smart Home]]
 
//下面这个分类仅适用于一些知识库文章;
[[Category: Knowledge]]
 
分类使用示例:
在页面的末尾增加分类即可,可以使用多个分类;
</pre>

Navigation menu