使用方法/页面结构:修订间差异
来自康健生活
创建页面,内容为“== 页面结构 == === 页脚 === 根据 [https://www.mediawiki.org/wiki/Manual:Footer/zh Mediawiki Manual:Footer] 描述,可编辑 [https://kangwuyi.com/index.php/MediaWiki:Footer-tagline MediaWiki:Footer-tagline] 插入页脚信息,此外还有一些其他可编辑的选项。 {| class="wikitable" |- | Lastmodifiedatby || [https://kangwuyi.com/index.php/MediaWiki:Lastmodifiedatby MediaWiki:Lastmodifiedatby] || |- | othercontribs || [https://kangwuyi.com…” |
无编辑摘要 |
||
| (未显示同一用户的12个中间版本) | |||
| 第1行: | 第1行: | ||
## 链接 | |||
* [[特殊:特殊页面]] | |||
* [[特殊:数学状态]] | |||
修订历史 url + <code>&action=history</code> | |||
## logo | |||
<html> | |||
<style type="text/css"> | |||
.header--title_sub { | |||
font-size: 30px; | |||
vertical-align: bottom; | |||
} | |||
.header--title { | |||
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; | |||
display: inline-block; | |||
color: #11181b; | |||
font-size: 28px; | |||
font-weight: bold; | |||
padding: 20px 0 0 10px; | |||
} | |||
.header--title p { | |||
margin: 0; | |||
position: relative; | |||
} | |||
.header--title a { | |||
text-decoration: none; | |||
color: #11181b; | |||
display: inline !important; | |||
} | |||
.header--title_sup { | |||
vertical-align: super; | |||
top: -5px; | |||
position: relative; | |||
color: #777777; | |||
} | |||
.header--title_text { | |||
transform: rotateX(180deg) rotateY(180deg); | |||
display: inline-block; | |||
} | |||
</style> | |||
<div class="header--title"><a href="{{link-mainpage}}"> | |||
<p> | |||
<sub> | |||
<svg class="icon header--title_sub" aria-hidden="true"> | |||
<use xlink:href="#kk-hudielan"></use> | |||
</svg> | |||
</sub> | |||
<span class="header--title_text">Kang</span> | |||
</p> | |||
<p> | |||
| |||
<span class="header--title_text">Jian</span> | |||
<sup class="iconfont header--title_sup"></sup> | |||
</p> | |||
</a></div> | |||
</html> | |||
== 页面结构 == | == 页面结构 == | ||
=== 页头 === | |||
可编辑 '''[[MediaWiki:Tagline]]''' 插入页眉副标题。 | |||
=== 页脚 === | === 页脚 === | ||
根据 [https://www.mediawiki.org/wiki/Manual:Footer/zh Mediawiki Manual:Footer] 描述,可编辑 [https:// | 根据 [https://www.mediawiki.org/wiki/Manual:Footer/zh Mediawiki Manual:Footer] 描述,可编辑 '''[[MediaWiki:Footer-tagline]]''' 插入页脚信息。 | ||
{| class="wikitable" | |||
|- | |||
| [[MediaWiki:Footer-tagline]] || 编辑页脚 | |||
|} | |||
这里需要注意的是当使用 [https://www.mediawiki.org/wiki/Skin:example Example] 皮肤时,因为其结构简略,并不具备 '''[[MediaWiki:Footer-tagline]]''' 模块,需要自行在 Footer.mustache 文件中添加 footer-tagline(包含在 <code>/data-info</code> 中) 的输出信息。 | |||
{{hc|head=父级目录/mediawiki/skins/Example/templates|output=<syntaxhighlight lang="bash" light="8"> | |||
{{!}}{{#data-info}}{{>FooterList}}{{/data-info}} | |||
</syntaxhighlight>}} | |||
== 其他 == | |||
此外还有一些其他可编辑的选项。 | |||
{| class="wikitable" | |||
|- | |||
| Lastmodifiedatby || [[MediaWiki:Lastmodifiedatby]] || | |||
|- | |||
| othercontribs || [[MediaWiki:othercontribs]] || | |||
|- | |||
| Copyright-footer || [[MediaWiki:Copyright-footer]] || | |||
|- | |||
| Privacy || [[MediaWiki:Privacy]] || 自定义链接显示的文本 | |||
|- | |||
| Privacypage || [[MediaWiki:Privacypage]] || 自定义链接到哪个wiki页面 | |||
|- | |||
| Aboutsite || [[MediaWiki:Aboutsite]] || 自定义链接显示的文本 | |||
|- | |||
| Aboutpage || [[MediaWiki:Aboutpage]] || 自定义链接到哪个wiki页面 | |||
|- | |||
| Disclaimers || [[MediaWiki:Disclaimers]] || 自定义链接显示的文本 | |||
|- | |||
| Disclaimerpage || [[MediaWiki:Disclaimerpage]] || 自定义链接到哪个wiki页面 | |||
|} | |||
== 自定义 == | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| | | 全局 CSS 自定义|| [[MediaWiki:Common.css]] || | ||
|- | |- | ||
| | | 全局 JS 自定义|| [[MediaWiki:Common.js]] || | ||
|- | |- | ||
| | | Vector 皮肤 CSS 自定义|| [[MediaWiki:Vector.css]] || | ||
|- | |- | ||
| | | Example 皮肤 CSS 自定义|| [[MediaWiki:Example.css]] || | ||
|- | |- | ||
| | | [[/外部图像白名单|外部图像白名单]] || [[MediaWiki:External_image_whitelist]] || | ||
|- | |- | ||
| | | tabs-tab-label|| [[MediaWiki:tabs-tab-label]] || The default label for a tab. The <nowiki>$1</nowiki> stands for the index of the tab. | ||
|- | |- | ||
| | | tabs-toggle-open|| [[MediaWiki:tabs-toggle-open]] || The default opening label for toggle boxes. | ||
|- | |- | ||
| | | tabs-toggle-close|| [[MediaWiki:tabs-toggle-close]] || The default closing label for toggle boxes. | ||
|- | |- | ||
| | | tabs-dropdown-label|| [[MediaWiki:tabs-dropdown-label]] || The default label for a dropdown menu. | ||
|} | |} | ||