“模板:Sidebar/doc”的版本间的差异
(创建页面,内容为“<noinclude>Category:模板说明文件</noinclude><includeonly><!-- 在這裡加入模板的保護標識 --></includeonly> <!-- 在本行下編輯模板說明 --…”) |
|||
第1行: | 第1行: | ||
+ | {{FromOther/CN|site=萌娘百科|originURL=https://zh.moegirl.org.cn/{{FULLPAGENAMEE}}|origin={{FULLPAGENAME}}|copyright=cc|lsubtype=by-nc-sa|lver=3.0|contribURL=https://zh.moegirl.org.cn/index.php?title={{FULLPAGENAMEE}}&action=history}} | ||
<noinclude>[[Category:模板说明文件]]</noinclude><includeonly><!-- 在這裡加入模板的保護標識 --></includeonly> | <noinclude>[[Category:模板说明文件]]</noinclude><includeonly><!-- 在這裡加入模板的保護標識 --></includeonly> | ||
<!-- 在本行下編輯模板說明 --> | <!-- 在本行下編輯模板說明 --> |
2024年1月3日 (三) 19:00的最新版本
本页面之全部或部分原来自萌娘百科的模板:Sidebar/doc,依 CC BY-NC-SA 3.0 CN 授权引入;原贡献者可以在这里看到。 |
本模板的作用是用來制作側邊欄模板。
用法
{{{topimage}}} {{{topcaption}}} |
{{{pretitle}}} |
{{{title}}} |
---|
{{{image}}} |
{{{above}}} |
{{{heading1}}} |
{{{content1}}} |
{{{heading2}}} |
{{{content2}}} |
{{{heading3}}} |
{{{content3}}} |
................ |
{{{heading35}}} |
{{{content35}}} |
{{{below}}} |
省略不常用參數:
{{sidebar | name = {{subst:PAGENAME}} | outertitle = | topimage = | pretitle = | title = | image = | headingstyle = | contentstyle = | heading1 = | content1 = | heading2 = | content2 = | heading3 = | content3 = ... | heading35 = | content35 = }}
Full blank syntax
(omitting sections 4 to penultimate)
{{Sidebar | name = {{subst:PAGENAME}} | bodyclass = <!--or class--> | bodystyle = <!--or style--> | width = | cellspacing = | cellpadding = | outertitle = | outertitleclass = | outertitlestyle = | topimage = | topimageclass = | topimagestyle = | topcaption = | topcaptionstyle = | pretitle = | pretitleclass = | pretitlestyle = | title = | titleclass = | image = | imageclass = | imagestyle = | caption = | captionstyle = | above = | aboveclass = | abovestyle = | headingclass = | headingstyle = | contentclass = | contentstyle = | heading1style = | heading1 = | content1style = | content1 = | heading2style = | heading2 = | content2style = | content2 = | heading3style = | heading3 = | content3style = | content3 = <!--etc.--> | heading35style = | heading35 = | content35style = | content35 = | below = | belowclass = | belowstyle = | navbar = <!--or tnavbar--> | navbarstyle = <!--or tnavbarstyle--> | navbarfontstyle = <!--or tnavbarfontstyle--> | wraplinks = true/false }}