• 首页
  • 随机
  • 登录
  • 设置
  • 关于轻之舟百科
  • 免责声明
轻之舟百科

Template:Sidebar

  • 语言
  • 监视
  • 编辑
模板文档[查看][编辑][历史][清除缓存]
此模板基于以下Lua模块编写:
  • Sidebar

本模板的作用是用來制作側邊顯示的竪式導航模板。就像信息框模板一样能在条目右边显示。

模板链接:{{Sidebar with collapsible lists}}是带折叠参数的版本。


注:完整說明請見英文版。

用法

编辑
{{{outertitle}}}
{{{topimage}}}
{{{topcaption}}}
{{{pretitle}}}
{{{title}}}
{{{image}}}
{{{above}}}
{{{heading1}}}
{{{content1}}}
{{{heading2}}}
{{{content2}}}
{{{heading3}}}
{{{content3}}}
................
{{{heading35}}}
{{{content35}}}
{{{below}}}
  • 查
  • 论
  • 编

省略不常用參數:

{{sidebar
| name       = {{subst:PAGENAME}}
| outertitle = 
| topimage   = 
| pretitle   = 
| title      = 
| posttitle  = 
| 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    = 
| posttitle     = 
| posttitleclass= 
| posttitlestyle=

| 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
}}

参见

编辑
  • 模板链接:{{Sidebar with collapsible lists}}
  • 模板链接:{{Infobox}}
上述文档嵌入自Template:Sidebar/doc。(编辑 | 历史)
编者可以在本模板的沙盒(创建 | 镜像)和测试样例(创建)页面进行实验。
请在/doc子页面中添加分类。本模板的子页面。
检索自“https://130.wiki/index.php?title=Template:Sidebar&oldid=5068”
最后编辑于2026年8月4日 (星期二) 12:02

语言

  • 不转换
  • 简体
  • 繁體
  • 大陆简体
  • 香港繁體
  • 澳門繁體
  • 大马简体
  • 新加坡简体
  • 臺灣正體
轻之舟百科
  • 虚舟实验室
  • 此页面最后编辑于2026年8月4日 (星期二) 12:02。
  • 除非另有声明,本网站内容采用CC BY-SA 4.0 (2026年8月3日前创建的内容以CaelLab BY-SA Content License授权)授权。
  • 此页面已被访问过1,261次。
  • 隐私政策
  • 关于轻之舟百科
  • 免责声明
  • 隐私权政策
  • 方针
  • 版权
  • CaelLabProject
  • 桌面版