“模板:Side box/doc”的版本间的差异
来自能源智库
(创建页面,内容为“本模块用于执行模板 {{tl|side box}}。 == 从维基代码中使用 == 本模块不能直接用于维基文本,只能通过 {{tl|side box}} 模板使用...”) |
小 |
||
第1行: | 第1行: | ||
− | + | <includeonly><!-- 在這裡加入模板的保護標識 --></includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | |
+ | <!-- 在本行下編輯模板說明 --> | ||
+ | {{lua|Module:Side box}} | ||
+ | == 模板介紹 == | ||
+ | {{clear right}} | ||
+ | {{Sidebox |metadata=no |image={{smaller|(image)}} |imageright={{smaller|(image<br />right)}} | ||
+ | |above=在主体上方以单独一行显示的内容{{smaller|(above)}} | ||
+ | |text=显示在框中的文字{{smaller|(text)}} | ||
+ | |below=在主体下方以单独一行显示的内容{{smaller|(below)}} | ||
+ | }} | ||
+ | 本模板是一个用于创建拥有合理样式的浮动内容框的元模板。 | ||
− | == | + | == 使用方法 == |
+ | {| class="wikitable" | ||
+ | |- | ||
+ | |style="width:9.0em;"| {{para|text}} || 显示在框中的文本 | ||
+ | |- | ||
+ | | {{para|image}} || 图像标签(或其他内容),若留空或输入none就不会显示图像 | ||
+ | |- | ||
+ | | {{para|imageright}} || 在右侧以单独的表格显示图像标签(或其他内容) | ||
+ | |- | ||
+ | | {{para|position}} || 输入{{code|left}}就会浮动在左边而不是右边 | ||
+ | |- | ||
+ | | {{para|metadata}} || 若输入{{code|no}}就会去除“metadata”HTML class | ||
+ | |- | ||
+ | | {{para|class}} || 为此框设置 CSS class | ||
+ | |- | ||
+ | | {{para|style}} || 为此框设置样式 | ||
+ | |- | ||
+ | | {{para|textstyle}} || 为此框设置文本样式 | ||
+ | |- | ||
+ | | {{para|above}} || 在顶端显示的内容 | ||
+ | |- | ||
+ | | {{para|abovestyle}} || 为此框的顶端设置样式 | ||
+ | |- | ||
+ | | {{para|below}} || 在底端显示的内容 | ||
+ | |} | ||
− | + | == 參見 == | |
+ | *{{tl|mbox}} | ||
+ | *{{tl|Sidebar box}} | ||
− | + | <includeonly> | |
− | + | <!-- 本行下加入模板的分類 --> | |
− | + | {{DEFAULTSORT:{{PAGENAME}}}} | |
− | + | [[Category:维基百科元模板|{{PAGENAME}}]] | |
− | < | + | <!-- 本行下加入模板的跨語言鏈接 --> |
− | + | [[be:Шаблон:Side box]] | |
− | + | [[be-x-old:Шаблён:Бакавы блёк]] | |
− | + | [[bs:Šablon:Sporedni okvir]] | |
− | + | [[ca:Plantilla:Caixa lateral]] | |
− | + | [[ceb:Plantilya:Side box]] | |
− | + | [[cy:Nodyn:Blwch ymyl]] | |
− | + | [[diq:Şablon:Side box]] | |
− | + | [[dsb:Pśedłoga:Bocny kašćik]] | |
− | <!-- | + | [[dv:ފަންވަތް:Side box]] |
− | + | [[en:Template:Side box]] | |
− | --> | + | [[et:Mall:Äärekast]] |
− | + | [[eo:Ŝablono:Flanka kesto]] | |
− | <!-- | + | [[fa:الگو:Side box]] |
− | + | [[ga:Teimpléad:Side box]] | |
− | + | [[gl:Modelo:Caixa lateral]] | |
+ | [[gv:Clowan:Side box]] | ||
+ | [[hi:साँचा:Side box]] | ||
+ | [[hsb:Předłoha:Bóčny kašćik]] | ||
+ | [[id:Templat:Side box]] | ||
+ | [[ja:Template:Side box]] | ||
+ | [[jv:Cithakan:Side box]] | ||
+ | [[km:ទំព័រគំរូ:Side box]] | ||
+ | [[kn:ಟೆಂಪ್ಲೇಟು:Side box]] | ||
+ | [[ko:틀:사이드 박스]] | ||
+ | [[map-bms:Cithakan:Side box]] | ||
+ | [[min:Templat:Side box]] | ||
+ | [[mr:साचा:Side box]] | ||
+ | [[ms:Templat:Side box]] | ||
+ | [[mt:Mudell:Kaxxa ġenb]] | ||
+ | [[ne:ढाँचा:Side box]] | ||
+ | [[no:Mal:Sideboks]] | ||
+ | [[or:ଛାଞ୍ଚ:Side box]] | ||
+ | [[pa:ਫਰਮਾ:Side box]] | ||
+ | [[pt:Predefinição:Side box]] | ||
+ | [[ro:Format:Side Box]] | ||
+ | [[ru:Шаблон:Side box]] | ||
+ | [[simple:Template:Side box]] | ||
+ | [[sr:Шаблон:Side box]] | ||
+ | [[uk:Шаблон:Side box]] | ||
+ | [[ur:سانچہ:Side box]] | ||
+ | [[tl:Suleras:Side box]] | ||
+ | [[tr:Şablon:Side box]] | ||
+ | [[vi:Bản mẫu:Side box]] | ||
+ | [[yo:Àdàkọ:Side box]] | ||
+ | [[zu:Template:Side box]] | ||
+ | </includeonly> |
2016年8月7日 (日) 14:26的版本
Lua错误:无法创建进程:proc_open不可用。请检查PHP的指令配置“disable_functions”。
模板介紹
模板:Sidebox 本模板是一个用于创建拥有合理样式的浮动内容框的元模板。
使用方法
|text= |
显示在框中的文本 |
|image= |
图像标签(或其他内容),若留空或输入none就不会显示图像 |
|imageright= |
在右侧以单独的表格显示图像标签(或其他内容) |
|position= |
输入left 就会浮动在左边而不是右边
|
|metadata= |
若输入no 就会去除“metadata”HTML class
|
|class= |
为此框设置 CSS class |
|style= |
为此框设置样式 |
|textstyle= |
为此框设置文本样式 |
|above= |
在顶端显示的内容 |
|abovestyle= |
为此框的顶端设置样式 |
|below= |
在底端显示的内容 |
參見
- {{mbox}}
- {{Sidebar box}}