Open main menu

Changes

Mediawiki 使用方法大全

1,236 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
 
<mark> 一些内容</mark>
 
<code> Raspberry Pi 5</code>
==增加缩进==
::缩进多一点
==Q&A模板==<htmldiv class="toccolours mw-collapsible mw-collapsed"><div style="font-weight:bold;line-height:1.0; color:red;">Q2: How to restart the pi board when AC Power supply is connected?</div><div class="mw-collapsible-content">A: Please enable 'AUTO POWER ON' or 'AUTO ON' function if you want restart when the AC Power supply is reapplied.</div></div>
<detailsdiv class="toccolours mw-collapsible mw-collapsed"><summarydiv style="font-weight:bold;line-height:1.0;">QQ0: Does the x650 support OLED display?请在这里写上问题</summarydiv><div class="mw-collapsible-content">A: Yes. please contact us at mail: support@geekworm.com, But we actually think OLED displays are pointless请在这里放置回答。文本也要遵循WIKI的编辑格式; sudo i2cdetect -y 1* 列表项目* 列表项目也可以插入表格:{| class="wikitable"! Model !! Compatible with !! Work with X630 !! Remark|-| [[PiKVM-A3|KVM-A3]] || Raspberry Pi 4 Model B || YES || |-| [[PiKVM-A8|KVM-A8]] || Raspberry Pi 4 Model B || YES || '''PCIe version''', No external wire|-| [[PiKVM-A4|KVM-A4]] || Raspberry Pi zero 2 W || YES || |-| [[X650]] || Raspberry Pi Computer Module 4 (CM4) || NO || '''PCIe version'''|-| [[X652]] || Raspberry Pi Computer Module 4 (CM4) || NO || '''PCIe version''', PoE Power&NVMe SSD supported|-<| [[X680]] || Raspberry Pi Compute Module 4 (CM4) || NO || '''Can control up to 4 USB HDMI computers/details>servers'''|}
<details/div><summary>Q: How to enable RTC?</summarydiv>
Firstly, insert the C1220 button battery, then run the following command:<prediv class="toccolours mw-collapsible mw-collapsed"> rw sudo nano /boot/config.txt #Then change the line: '''dtoverlay<div style=i2c"font-rtc,pcf8563''' to '''dtoverlay=i2cweight:bold;line-rtc,ds1307'''height:1.0;"> #Test RTC #Display the current time of the Q1:Why Raspberry Pi date #Write is randomly rebooting all the time of Raspberry Pi to DS1307?</div> sudo hwclock <div class="mw-wcollapsible-content"> #Read A:You can follow the steps to test if the time of DS1307 sudo hwclock -r roX728 issue:
</pre></details>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.)
<details> <summary>Qb: Why is Please check and confirm if other device occupy the X650 not working?</summary>GPIO with X728.
<p>Ac:</p><p>1. First you need Still not find out the issue, please attach a video to make sure your physical connection is correct, or you can email contact us at support@geekwormshow more details.com to confirm your physical connection;</p><p>2. Make sure to use the right pikvm OS.</pdiv>
<p><a href="/File:Pi4-V3-HAT.png" class="image"><img alt="Pi4-V3-HAT.png" src="/images/thumb/b/be/Pi4-V3-HAT.png/800px-Pi4-V3-HAT.png" decoding="async" width="800" height="616" srcset="/images/thumb/b/be/Pi4-V3-HAT.png/1200px-Pi4-V3-HAT.png 1.5x, /images/b/be/Pi4-V3-HAT.png 2x" data-file-width="1443" data-file-height="1112"></a></pdiv>
<pdiv class="toccolours mw-collapsible mw-collapsed"> Run the following command to reboot the device<div style="font-weight:bold;line-height:1.6;">Q3: What are GPIO5 and GPIO12 used for X728 V1.3/p>V2.0?<pre/div>reboot now</prediv class="mw-collapsible-content">A: GPIO5 control shutdown, GPIO12 BOOK OK.</detailsdiv> </htmldiv>
==表格==
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>
==引用内部链接==
</pre>
==语法大全All Category ==* 在这个wiki库中,目前使用的分类有下面这些,如果不够请通知管理员来增加, 不要私自增加自己想的分类;<pre>[[httpsCategory://www.mywiki.cn/mywiki/index.php/%E7%BB%B4%E5%9F%BA%E8%AF%AD%E6%B3%95 维基语法Product Manual]] 所有的产品都需要增加这个分类;[[Category:Consumer Electronics]][[Category:Raspberry pi]][[Category:Arduino]][[Category:pcDuino]][[Category:Beaglebone Black]]* [https[Category:Smart Home]] //www.mediawiki.org/wiki/Help下面这个分类仅适用于一些知识库文章;[[Category:FormattingKnowledge]] 分类使用示例:在页面的末尾增加分类即可,可以使用多个分类;</zh Help:格式化文本]pre>