Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
(oops) |
m (This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Places a standard 'info box' for detailing a specific item on a wiki page. | |||
;Usage | |||
:width= outer box width. Default is '20.5' as below. | |||
:tocright= [1,0] 1 if toc is pushed right. Default is 1. | |||
:class=, bodyclass= Class for table. Default is 'darktable'. | |||
:style=, bodystyle= Style for table. Default is 'text-align:left; font-size:.88em; line-height:1.4em; float:right;'. | |||
:titlestyle= Style for title caption. Default is 'font-size:120%; font-weight:bold;'. | |||
See [[Template:Infobox/doc]] for instructions and examples.<!-- high volume template, please don't integrate docs --> | |||
[[Category:Infobox templates| ]][[ru:Шаблон:Карточка]] | |||
---- | |||
;Template | |||
<onlyinclude><!-- | |||
-->{{#vardefine:tWIDTH|{{#if:{{{width|}}}|{{{width|}}}}}}}<!-- trim | |||
--><table class="darktable {{{bodyclass|{{{class|}}}}}}" cellspacing="5" style="width:{{#var:tWIDTH|20.5em}}; text-align:left; font-size:.88em; line-height:1.4em; float:right; {{{bodystyle|{{{style|}}}}}}"><!-- | |||
Caption | |||
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:1.2em; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}} | |||
<!-- | |||
Header | |||
-->{{#if:{{{above|}}}|<tr><th colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size:1.25em; font-weight:bold; padding:5px; {{{abovestyle|}}}">{{{above}}}</th></tr>}}<!-- | |||
Image | |||
-->{{#if:{{{image|}}}|<tr><td align="center" colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image}}} {{#if:{{{caption|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption}}}</span> }}</td></tr>}}<!-- | |||
Row 1 | |||
-->{{#if:{{{header1|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header1|}}}</th></tr>| {{#if:{{{label1|}}}|{{#if:{{{data1|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label1|}}}</td><td class="{{{class1|}}}" style="{{{datastyle|}}}">{{{data1|}}}</td></tr>}}| {{#if:{{{data1|}}}|<tr><td colspan="2" class="{{{class1|}}}" style="text-align:center; {{{datastyle|}}}">{{{data1|}}}</td></tr>}} }} }}<!-- | |||
Row 2 | |||
-->{{#if:{{{header2|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header2|}}}</th></tr>| {{#if:{{{label2|}}}|{{#if:{{{data2|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label2|}}}</td><td class="{{{class2|}}}" style="{{{datastyle|}}}">{{{data2|}}}</td></tr>}}| {{#if:{{{data2|}}}|<tr><td colspan="2" class="{{{class2|}}}" style="text-align:center; {{{datastyle|}}}">{{{data2|}}}</td></tr>}} }} }}<!-- | |||
Row 3 | |||
-->{{#if:{{{header3|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header3|}}}</th></tr>| {{#if:{{{label3|}}}|{{#if:{{{data3|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label3|}}}</td><td class="{{{class3|}}}" style="{{{datastyle|}}}">{{{data3|}}}</td></tr>}}| {{#if:{{{data3|}}}|<tr><td colspan="2" class="{{{class3|}}}" style="text-align:center; {{{datastyle|}}}">{{{data3|}}}</td></tr>}} }} }}<!-- | |||
Row 4 | |||
-->{{#if:{{{header4|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header4|}}}</th></tr>| {{#if:{{{label4|}}}|{{#if:{{{data4|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label4|}}}</td><td class="{{{class4|}}}" style="{{{datastyle|}}}">{{{data4|}}}</td></tr>}}| {{#if:{{{data4|}}}|<tr><td colspan="2" class="{{{class4|}}}" style="text-align:center; {{{datastyle|}}}">{{{data4|}}}</td></tr>}} }} }}<!-- | |||
Row 5 | |||
-->{{#if:{{{header5|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header5|}}}</th></tr>| {{#if:{{{label5|}}}|{{#if:{{{data5|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label5|}}}</td><td class="{{{class5|}}}" style="{{{datastyle|}}}">{{{data5|}}}</td></tr>}}| {{#if:{{{data5|}}}|<tr><td colspan="2" class="{{{class5|}}}" style="text-align: center; {{{datastyle|}}}">{{{data5|}}}</td></tr>}} }} }}<!-- | |||
Row 6 | |||
-->{{#if:{{{header6|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header6|}}}</th></tr>| {{#if:{{{label6|}}}|{{#if:{{{data6|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label6|}}}</td><td class="{{{class6|}}}" style="{{{datastyle|}}}">{{{data6|}}}</td></tr>}}| {{#if:{{{data6|}}}|<tr><td colspan="2" class="{{{class6|}}}" style="text-align:center; {{{datastyle|}}}">{{{data6|}}}</td></tr>}} }} }}<!-- | |||
Row 7 | |||
-->{{#if:{{{header7|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header7|}}}</th></tr>| {{#if:{{{label7|}}}|{{#if:{{{data7|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label7|}}}</td><td class="{{{class7|}}}" style="{{{datastyle|}}}">{{{data7|}}}</td></tr>}}| {{#if:{{{data7|}}}|<tr><td colspan="2" class="{{{class7|}}}" style="text-align:center; {{{datastyle|}}}">{{{data7|}}}</td></tr>}} }} }}<!-- | |||
Row 8 | |||
-->{{#if:{{{header8|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header8|}}}</th></tr>| {{#if:{{{label8|}}}|{{#if:{{{data8|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label8|}}}</td><td class="{{{class8|}}}" style="{{{datastyle|}}}">{{{data8|}}}</td></tr>}}| {{#if:{{{data8|}}}|<tr><td colspan="2" class="{{{class8|}}}" style="text-align:center; {{{datastyle|}}}">{{{data8|}}}</td></tr>}} }} }}<!-- | |||
Row 9 | |||
-->{{#if:{{{header9|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header9|}}}</th></tr>| {{#if:{{{label9|}}}|{{#if:{{{data9|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label9|}}}</td><td class="{{{class9|}}}" style="{{{datastyle|}}}">{{{data9|}}}</td></tr>}}| {{#if:{{{data9|}}}|<tr><td colspan="2" class="{{{class9|}}}" style="text-align:center; {{{datastyle|}}}">{{{data9|}}}</td></tr>}} }} }}<!-- | |||
Row 10 | |||
-->{{#if:{{{header10|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header10|}}}</th></tr>| {{#if:{{{label10|}}}|{{#if:{{{data10|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label10|}}}</td><td class="{{{class10|}}}" style="{{{datastyle|}}}">{{{data10|}}}</td></tr>}}| {{#if:{{{data10|}}}|<tr><td colspan="2" class="{{{class10|}}}" style="text-align:center; {{{datastyle|}}}">{{{data10|}}}</td></tr>}} }} }}<!-- | |||
Row 11 | |||
-->{{#if:{{{header11|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header11|}}}</th></tr>| {{#if:{{{label11|}}}|{{#if:{{{data11|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label11|}}}</td><td class="{{{class11|}}}" style="{{{datastyle|}}}">{{{data11|}}}</td></tr>}}| {{#if:{{{data11|}}}|<tr><td colspan="2" class="{{{class11|}}}" style="text-align:center; {{{datastyle|}}}">{{{data11|}}}</td></tr>}} }} }}<!-- | |||
Row 12 | |||
-->{{#if:{{{header12|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header12|}}}</th></tr>| {{#if:{{{label12|}}}|{{#if:{{{data12|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label12|}}}</td><td class="{{{class12|}}}" style="{{{datastyle|}}}">{{{data12|}}}</td></tr>}}| {{#if:{{{data12|}}}|<tr><td colspan="2" class="{{{class12|}}}" style="text-align:center; {{{datastyle|}}}">{{{data12|}}}</td></tr>}} }} }}<!-- | |||
Row 13 | |||
-->{{#if:{{{header13|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header13|}}}</th></tr>| {{#if:{{{label13|}}}|{{#if:{{{data13|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label13|}}}</td><td class="{{{class13|}}}" style="{{{datastyle|}}}">{{{data13|}}}</td></tr>}}| {{#if:{{{data13|}}}|<tr><td colspan="2" class="{{{class13|}}}" style="text-align:center; {{{datastyle|}}}">{{{data13|}}}</td></tr>}} }} }}<!-- | |||
Row 14 | |||
-->{{#if:{{{header14|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header14|}}}</th></tr>| {{#if:{{{label14|}}}|{{#if:{{{data14|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label14|}}}</td><td class="{{{class14|}}}" style="{{{datastyle|}}}">{{{data14|}}}</td></tr>}}| {{#if:{{{data14|}}}|<tr><td colspan="2" class="{{{class14|}}}" style="text-align:center; {{{datastyle|}}}">{{{data14|}}}</td></tr>}} }} }}<!-- | |||
Row 15 | |||
-->{{#if:{{{header15|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header15|}}}</th></tr>| {{#if:{{{label15|}}}|{{#if:{{{data15|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label15|}}}</td><td class="{{{class15|}}}" style="{{{datastyle|}}}">{{{data15|}}}</td></tr>}}| {{#if:{{{data15|}}}|<tr><td colspan="2" class="{{{class15|}}}" style="text-align:center; {{{datastyle|}}}">{{{data15|}}}</td></tr>}} }} }}<!-- | |||
Row 16 | |||
-->{{#if:{{{header16|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header16|}}}</th></tr>| {{#if:{{{label16|}}}|{{#if:{{{data16|}}}|<tr><td style="font-weight bold; vertical-align top; {{{labelstyle|}}}">{{{label16|}}}</td><td class="{{{class16|}}}" style="{{{datastyle|}}}">{{{data16|}}}</td></tr>}}| {{#if:{{{data16|}}}|<tr><td colspan="2" class="{{{class16|}}}" style="text-align:center; {{{datastyle|}}}">{{{data16|}}}</td></tr>}} }} }}<!-- | |||
Row 17 | |||
-->{{#if:{{{header17|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header17|}}}</th></tr>| {{#if:{{{label17|}}}|{{#if:{{{data17|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label17|}}}</td><td class="{{{class17|}}}" style="{{{datastyle|}}}">{{{data17|}}}</td></tr>}}| {{#if:{{{data17|}}}|<tr><td colspan="2" class="{{{class17|}}}" style="text-align:center; {{{datastyle|}}}">{{{data17|}}}</td></tr>}} }} }}<!-- | |||
Row 18 | |||
-->{{#if:{{{header18|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header18|}}}</th></tr>| {{#if:{{{label18|}}}|{{#if:{{{data18|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label18|}}}</td><td class="{{{class18|}}}" style="{{{datastyle|}}}">{{{data18|}}}</td></tr>}}| {{#if:{{{data18|}}}|<tr><td colspan="2" class="{{{class18|}}}" style="text-align:center; {{{datastyle|}}}">{{{data18|}}}</td></tr>}} }} }}<!-- | |||
Row 19 | |||
-->{{#if:{{{header19|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header19|}}}</th></tr>| {{#if:{{{label19|}}}|{{#if:{{{data19|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label19|}}}</td><td class="{{{class19|}}}" style="{{{datastyle|}}}">{{{data19|}}}</td></tr>}}| {{#if:{{{data19|}}}|<tr><td colspan="2" class="{{{class19|}}}" style="text-align:center; {{{datastyle|}}}">{{{data19|}}}</td></tr>}} }} }}<!-- | |||
Row 20 | |||
-->{{#if:{{{header20|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header20|}}}</th></tr>| {{#if:{{{label20|}}}|{{#if:{{{data20|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label20|}}}</td><td class="{{{class20|}}}" style="{{{datastyle|}}}">{{{data20|}}}</td></tr>}}| {{#if:{{{data20|}}}|<tr><td colspan="2" class="{{{class20|}}}" style="text-align:center; {{{datastyle|}}}">{{{data20|}}}</td></tr>}} }} }}<!-- | |||
Row 21 | |||
-->{{#if:{{{header21|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header21|}}}</th></tr>| {{#if:{{{label21|}}}|{{#if:{{{data21|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label21|}}}</td><td class="{{{class21|}}}" style="{{{datastyle|}}}">{{{data21|}}}</td></tr>}}| {{#if:{{{data21|}}}|<tr><td colspan="2" class="{{{class21|}}}" style="text-align:center; {{{datastyle|}}}">{{{data21|}}}</td></tr>}} }} }}<!-- | |||
Row 22 | |||
-->{{#if:{{{header22|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header22|}}}</th></tr>| {{#if:{{{label22|}}}|{{#if:{{{data22|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label22|}}}</td><td class="{{{class22|}}}" style="{{{datastyle|}}}">{{{data22|}}}</td></tr>}}| {{#if:{{{data22|}}}|<tr><td colspan="2" class="{{{class22|}}}" style="text-align:center; {{{datastyle|}}}">{{{data22|}}}</td></tr>}} }} }}<!-- | |||
Row 23 | |||
-->{{#if:{{{header23|}}}|<tr><th colspan="2" style="text-align center; {{{headerstyle|}}}">{{{header23|}}}</th></tr>| {{#if:{{{label23|}}}|{{#if:{{{data23|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label23|}}}</td><td class="{{{class23|}}}" style="{{{datastyle|}}}">{{{data23|}}}</td></tr>}}| {{#if:{{{data23|}}}|<tr><td colspan="2" class="{{{class23|}}}" style="text-align:center; {{{datastyle|}}}">{{{data23|}}}</td></tr>}} }} }}<!-- | |||
Row 24 | |||
-->{{#if:{{{header24|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header24|}}}</th></tr>| {{#if:{{{label24|}}}|{{#if:{{{data24|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label24|}}}</td><td class="{{{class24|}}}" style="{{{datastyle|}}}">{{{data24|}}}</td></tr>}}| {{#if:{{{data24|}}}|<tr><td colspan="2" class="{{{class24|}}}" style="text-align:center; {{{datastyle|}}}">{{{data24|}}}</td></tr>}} }} }}<!-- | |||
Row 25 | |||
-->{{#if:{{{header25|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header25|}}}</th></tr>| {{#if:{{{label25|}}}|{{#if:{{{data25|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label25|}}}</td><td class="{{{class25|}}}" style="{{{datastyle|}}}">{{{data25|}}}</td></tr>}}| {{#if:{{{data25|}}}|<tr><td colspan="2" class="{{{class25|}}}" style="text-align:center; {{{datastyle|}}}">{{{data25|}}}</td></tr>}} }} }}<!-- | |||
Row 26 | |||
-->{{#if:{{{header26|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header26|}}}</th></tr>| {{#if:{{{label26|}}}|{{#if:{{{data26|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label26|}}}</td><td class="{{{class26|}}}" style="{{{datastyle|}}}">{{{data26|}}}</td></tr>}}| {{#if:{{{data26|}}}|<tr><td colspan="2" class="{{{class26|}}}" style="text-align:center; {{{datastyle|}}}">{{{data26|}}}</td></tr>}} }} }}<!-- | |||
Row 27 | |||
-->{{#if:{{{header27|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header27|}}}</th></tr>| {{#if:{{{label27|}}}|{{#if:{{{data27|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label27|}}}</td><td class="{{{class27|}}}" style="{{{datastyle|}}}">{{{data27|}}}</td></tr>}}| {{#if:{{{data27|}}}|<tr><td colspan="2" class="{{{class27|}}}" style="text-align:center; {{{datastyle|}}}">{{{data27|}}}</td></tr>}} }} }}<!-- | |||
Row 28 | |||
-->{{#if:{{{header28|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header28|}}}</th></tr>| {{#if:{{{label28|}}}|{{#if:{{{data28|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label28|}}}</td><td class="{{{class28|}}}" style="{{{datastyle|}}}">{{{data28|}}}</td></tr>}}| {{#if:{{{data28|}}}|<tr><td colspan="2" class="{{{class28|}}}" style="text-align:center; {{{datastyle|}}}">{{{data28|}}}</td></tr>}} }} }}<!-- | |||
Row 29 | |||
-->{{#if:{{{header29|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header29|}}}</th></tr>| {{#if:{{{label29|}}}|{{#if:{{{data29|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label29|}}}</td><td class="{{{class29|}}}" style="{{{datastyle|}}}">{{{data29|}}}</td></tr>}}| {{#if:{{{data29|}}}|<tr><td colspan="2" class="{{{class29|}}}" style="text-align:center; {{{datastyle|}}}">{{{data29|}}}</td></tr>}} }} }}<!-- | |||
Row 30 | |||
-->{{#if:{{{header30|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header30|}}}</th></tr>| {{#if:{{{label30|}}}|{{#if:{{{data30|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label30|}}}</td><td class="{{{class30|}}}" style="{{{datastyle|}}}">{{{data30|}}}</td></tr>}}| {{#if:{{{data30|}}}|<tr><td colspan="2" class="{{{class30|}}}" style="text-align:center; {{{datastyle|}}}">{{{data30|}}}</td></tr>}} }} }}<!-- | |||
Row 31 | |||
-->{{#if:{{{header31|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header31|}}}</th></tr>| {{#if:{{{label31|}}}|{{#if:{{{data31|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label31|}}}</td><td class="{{{class31|}}}" style="{{{datastyle|}}}">{{{data31|}}}</td></tr>}}| {{#if:{{{data31|}}}|<tr><td colspan="2" class="{{{class31|}}}" style="text-align:center; {{{datastyle|}}}">{{{data31|}}}</td></tr>}} }} }}<!-- | |||
Row 32 | |||
-->{{#if:{{{header32|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header32|}}}</th></tr>| {{#if:{{{label32|}}}|{{#if:{{{data32|}}}|<tr><td style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label32|}}}</td><td class="{{{class32|}}}" style="{{{datastyle|}}}">{{{data32|}}}</td></tr>}}| {{#if:{{{data32|}}}|<tr><td colspan="2" class="{{{class32|}}}" style="text-align:center; {{{datastyle|}}}">{{{data32|}}}</td></tr>}} }} }}<!-- | |||
Below | |||
-->{{#if:{{{below|}}}|<tr><td colspan="2" style="text-align:center; {{{belowstyle|}}}">{{{below|}}}</td></tr>}}<!-- | |||
Tnavbar | |||
-->{{#if:{{{name|}}}|<tr><td style="text-align:right;" colspan="2">{{Tnavbar|{{{name}}}}}</td></tr>}} | |||
</table><!-- | |||
-->{{#vardefine:tTOCRIGHT|{{#if:{{{tocright|}}}|{{{tocright|}}}}}}}<!-- trim | |||
-->{{#ifeq:{{#var:tTOCRIGHT|1}}|1|{{tocright}}}}<!-- short width 1030 squeeze out text. to override place __TOC__ higher | |||
--></onlyinclude> |
Latest revision as of 17:52, 14 December 2015
Places a standard 'info box' for detailing a specific item on a wiki page.
- Usage
- width= outer box width. Default is '20.5' as below.
- tocright= [1,0] 1 if toc is pushed right. Default is 1.
- class=, bodyclass= Class for table. Default is 'darktable'.
- style=, bodystyle= Style for table. Default is 'text-align:left; font-size:.88em; line-height:1.4em; float:right;'.
- titlestyle= Style for title caption. Default is 'font-size:120%; font-weight:bold;'.
See Template:Infobox/doc for instructions and examples.ru:Шаблон:Карточка
- Template