Open main menu

Changes

Mediawiki 使用方法大全

1,311 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
<code> Raspberry Pi 5</code>
==引用==
<blockquote> this is a test
</blockquote>
==增加缩进==
在要编辑的文本前增加冒号:
::缩进多一点
==Q&A模板==<htmldiv class="toccolours mw-collapsible mw-collapsed"> <detailsdiv style="font-weight:bold;line-height:1.0; color:red;"><summary>QQ2: Does How to restart the x650 support OLED displaypi board when AC Power supply is connected?</summarydiv><div class="mw-collapsible-content">A: YesPlease enable 'AUTO POWER ON' or 'AUTO ON' function if you want restart when the AC Power supply is reapplied. please contact us at mail: support@geekworm.com, But we actually think OLED displays are pointless</detailsdiv></div>
<detailsdiv class="toccolours mw-collapsible mw-collapsed"><summarydiv style="font-weight:bold;line-height:1.0;">QQ0: How to enable RTC?请在这里写上问题</summarydiv><div class="mw-collapsible-content">A: 请在这里放置回答。文本也要遵循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/servers'''|}
Firstly, insert the C1220 button battery, then run the following command:<pre/div> rw sudo nano </boot/config.txt #Then change the line: '''dtoverlay=i2c-rtc,pcf8563''' to '''dtoverlay=i2c-rtc,ds1307''' #Test RTC #Display the current time of the Raspberry Pi date #Write the time of Raspberry Pi to DS1307 sudo hwclock -w #Read the time of DS1307 sudo hwclock -r rodiv>
<div class="toccolours mw-collapsible mw-collapsed"><div style="font-weight:bold;line-height:1.0;">Q1:Why Raspberry Pi is randomly rebooting all the time?</prediv></detailsdiv class="mw-collapsible-content">A:You can follow the steps to test if the X728 issue:
<details> <summary>Qa: Why is Take the X650 not working?</summary>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.)
<p>Ab:</p><p>1. First you need to make sure your physical connection is correct, or you can email us at support@geekworm.com to Please check and confirm your physical connection;</p><p>2. Make sure to use if other device occupy the right pikvm OSGPIO with X728.</p>
<p><a href="/Filec: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.5xStill not find out the issue, /images/b/be/Pi4-V3-HATplease attach a video to contact us show more details.png 2x" data-file-width="1443" data-file-height="1112"></a></pdiv>
<p> Run the following command to reboot the device</p><pre>reboot now</pre></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>