Open main menu

Changes

Mediawiki 使用方法大全

1,429 bytes added, 19 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>
----
定义列表:
;Item 1
:事物一的定义
;Item 2
:事物二的第一种定义
:事物二的第二种定义
----
;增加缩进
:缩进一点
::缩进多一点
 
==允许使用的HTML元素==
https://www.mediawiki.org/wiki/Help:HTML_in_wikitext
<code> Raspberry Pi 5</code>
==引用Q&A 模板==<blockquotediv class="toccolours mw-collapsible mw-collapsed"> this <div style="font-weight:bold;line-height:1.0; color:red;">Q2: How to restart the pi board when AC Power supply is a testconnected?</blockquotediv><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>
<div class="toccolours mw-collapsible mw-collapsed"><div style=Q&"font-weight:bold;line-height:1.0;">Q0: 请在这里写上问题</div><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'''<html>|}
<details><summary>Q: Does the x650 support OLED display?</summarydiv>A: Yes. please contact us at mail: support@geekworm.com, But we actually think OLED displays are pointless</detailsdiv>
<detailsdiv class="toccolours mw-collapsible mw-collapsed"><summarydiv style="font-weight:bold;line-height:1.0;">QQ1: How to enable RTCWhy Raspberry Pi is randomly rebooting all the time?</summarydivFirstly, insert the C1220 button battery, then run the following command:<pre> rw sudo nano /boot/config.txt #Then change the line: '''dtoverlaydiv class=i2c"mw-rtc,pcf8563''' to '''dtoverlay=i2ccollapsible-rtc,ds1307'''content"> #Test RTC #Display the current time of the Raspberry Pi date #Write A:You can follow the time of Raspberry Pi steps to DS1307 sudo hwclock -w #Read 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>
==引用内部链接==
[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>