Template:SmallNavBox: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content added Content deleted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<table style="padding:0.3em; float:right; margin-left:15px; margin-bottom:8px; border:1px solid #A3B1BF; background:#f5faff; text-align:center; font-size:95%; line-height:1.5em;{{{1|}}};"> |
|||
<noinclude> |
|||
<th style="background:#cee0f2; padding:0.3em; font-size:1.1em;">{{{name}}}</th><!-- |
|||
Unfortunately, this template will not work because Parser Functions extension is not installed. The #if| functions do not work. The idea was to create infoboxes for some subjects like on wikipedia [http://en.wikipedia.org/wiki/Wikipedia:Infobox_templates Infobox templates]. |
|||
</noinclude> |
|||
-->{{if|{{{list1|}}}|<tr>{{if|{{{group1|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group1}}}</td>}}</tr> |
|||
{| class="infobox" style="width:210px; float: right; clear: right; text-align:center; margin-top:1em; " |
|||
<tr><td>{{{list1}}}</td></tr>}}<!-- |
|||
|- style="font-size:90%; background:#DCF0FF" |
|||
| '''[[{{{Name}}}]]''' |
|||
-->{{if|{{{list2|}}}|<tr>{{if|{{{group2|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group2}}}</td>}}</tr> |
|||
|- |
|||
<tr><td>{{{list2}}}</td></tr>}}<!-- |
|||
{{if|{{{Image|}}}|{{!}}[[Image:{{{Image}}}{{!}}160px]]|}} |
|||
{{if|{{{Label|}}}|{{!}}<div style="padding-top: 7px; padding-bottom: 4px;">{{{Label}}}|}}</div> |
|||
-->{{if|{{{list3|}}}|<tr>{{if|{{{group3|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group3}}}</td>}}</tr> |
|||
{{if|{{{LabelId|}}}| |
|||
<tr><td>{{{list3}}}</td></tr>}}<!-- |
|||
{{!}}- style="padding-top: 0px;font-size: 75%; line-height: 150%;" |
|||
{{!}}{{{LabelId}}}|}} |
|||
-->{{if|{{{list4|}}}|<tr>{{if|{{{group4|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group4}}}</td>}}</tr> |
|||
{{if|{{{KeyItems|}}}| |
|||
<tr><td>{{{list4}}}</td></tr>}}<!-- |
|||
{{!}}- style="font-size: 90%; line-height: 150%;" |
|||
{{!}}{{{KeyItems}}}|}} |
|||
-->{{if|{{{list5|}}}|<tr>{{if|{{{group5|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group5}}}</td>}}</tr> |
|||
{| class="collapsible {{Eq| {{{Topic1|}}}|{{{cTopic}}}| | collapsed}}" width="100%" |
|||
<tr><td>{{{list5}}}</td></tr>}}<!-- |
|||
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"|{{{Topic1}}} |
|||
|-style="font-size: 90%; line-height: 150%;" |
|||
-->{{if|{{{list6|}}}|<tr>{{if|{{{group6|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group6}}}</td>}}</tr> |
|||
|{{{Items1}}} |
|||
<tr><td>{{{list6}}}</td></tr>}}<!-- |
|||
|}{{if|{{{Topic2|}}}|{{{!}} class="collapsible {{Eq| {{{Topic2|}}}|{{{cTopic}}}| | collapsed}}" width="100%" |
|||
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"{{!}}{{{Topic2}}} |
|||
-->{{if|{{{list7|}}}|<tr>{{if|{{{group7|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group7}}}</td>}}</tr> |
|||
{{!}}-style="font-size: 90%; line-height: 150%;" |
|||
<tr><td>{{{list7}}}</td></tr>}}<!-- |
|||
{{!}}{{{Items2}}} |
|||
{{!}}}|}}{{if|{{{Topic3|}}}|{{{!}} class="collapsible {{Eq| {{{Topic3|}}}|{{{cTopic}}}| | collapsed}}" width="100%" |
|||
-->{{if|{{{list8|}}}|<tr>{{if|{{{group8|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group8}}}</td>}}</tr> |
|||
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"{{!}}{{{Topic3}}} |
|||
<tr><td>{{{list8}}}</td></tr>}}<!-- |
|||
{{!}}-style="font-size: 90%; line-height: 150%;" |
|||
{{!}}{{{Items3}}} |
|||
-->{{if|{{{list9|}}}|<tr>{{if|{{{group9|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group9}}}</td>}}</tr> |
|||
{{!}}}|}}{{if|{{{Topic4|}}}|{{{!}} class="collapsible {{Eq| {{{Topic4|}}}|{{{cTopic}}}| | collapsed}}" width="100%" |
|||
<tr><td>{{{list9}}}</td></tr>}}<!-- |
|||
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"{{!}}{{{Topic4}}} |
|||
{{!}}-style="font-size: 90%; line-height: 150%;" |
|||
-->{{if|{{{list10|}}}|<tr>{{if|{{{group10|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group10}}}</td>}}</tr> |
|||
{{!}}{{{Items4}}} |
|||
<tr><td>{{{list10}}}</td></tr>}}<!-- |
|||
{{!}}}|}}{{if|{{{Topic5|}}}|{{{!}} class="collapsible {{Eq| {{{Topic5|}}}|{{{cTopic}}}| | collapsed}}" width="100%" |
|||
--></table> |
|||
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"{{!}}{{{Topic5}}} |
|||
{{!}}-style="font-size: 90%; line-height: 150%;" |
|||
{{!}}{{{Items5}}} |
|||
{{!}}}|}}{{if|{{{Topic6|}}}|{{{!}} class="collapsible {{Eq| {{{Topic6|}}}|{{{cTopic}}}| | collapsed}}" width="100%" |
|||
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"{{!}}{{{Topic6}}} |
|||
{{!}}-style="font-size: 90%; line-height: 150%;" |
|||
{{!}}{{{Items6}}} |
|||
{{!}}}|}}{{if|{{{Topic7|}}}|{{{!}} class="collapsible {{Eq| {{{Topic7|}}}|{{{cTopic}}}| | collapsed}}" width="100%" |
|||
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"{{!}}{{{Topic7}}} |
|||
{{!}}-style="font-size: 90%; line-height: 150%;" |
|||
{{!}}{{{Items7}}} |
|||
{{!}}}|}}{{if|{{{Topic8|}}}|{{{!}} class="collapsible {{if| {{{Topic8|}}}|{{{cTopic}}}| | collapsed}}" width="100%" |
|||
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"{{!}}{{{Topic8}}} |
|||
{{!}}-style="font-size: 90%; line-height: 150%;" |
|||
{{!}}{{{Items8}}} |
|||
{{!}}}|}} |
|||
|{{Tnavbar|{{{Name}}}}} |
|||
|} |