Template:Helpbox: Difference between revisions

From Skulepedia
Jump to navigation Jump to search
w:en>RockMFR
m (fix th)
w:en>Thumperward
(subclassing this to {{sidebar}} for future maintenance. if there are any problems please let me know)
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|}}};">
{{ sidebar
<th style="background:#cee0f2; padding:0.3em; font-size:1.1em;">{{{name}}}</th><!--
| name        = {{{templatename|}}}
| navbar      = {{#if:{{{templatename|}}}||none}}
| title        = {{{name|}}}
| style       = background-color: #f5faff; {{#if:{{{width|}}}|width: {{{width}}}}}
| titlestyle  = background-color: #cee0f2
| headingstyle = background-color: #cee0f2


-->{{#if:{{{list1|}}}|<tr>{{#if:{{{group1|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group1}}}</th>}}</tr>
| heading1    = {{{group1|}}}
<tr><td>{{{list1}}}</td></tr>}}<!--
| content1    = {{{list1|}}}
| heading2    = {{{group2|}}}
| content2    = {{{list2|}}}
| heading2    = {{{group2|}}}
| content2    = {{{list2|}}}
| heading3    = {{{group3|}}}
| content3    = {{{list3|}}}
| heading4    = {{{group4|}}}
| content4    = {{{list4|}}}
| heading5    = {{{group5|}}}
| content5    = {{{list5|}}}
| heading6    = {{{group6|}}}
| content6    = {{{list6|}}}
| heading7    = {{{group7|}}}
| content7    = {{{list7|}}}
| heading8    = {{{group8|}}}
| content8    = {{{list8|}}}
| heading9    = {{{group9|}}}
| content9    = {{{list9|}}}
| heading10    = {{{group10|}}}
| content10    = {{{list10|}}}


-->{{#if:{{{list2|}}}|<tr>{{#if:{{{group2|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group2}}}</th>}}</tr>
}}<noinclude>{{documentation}}</noinclude>
<tr><td>{{{list2}}}</td></tr>}}<!--
 
-->{{#if:{{{list3|}}}|<tr>{{#if:{{{group3|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group3}}}</th>}}</tr>
<tr><td>{{{list3}}}</td></tr>}}<!--
 
-->{{#if:{{{list4|}}}|<tr>{{#if:{{{group4|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group4}}}</th>}}</tr>
<tr><td>{{{list4}}}</td></tr>}}<!--
 
-->{{#if:{{{list5|}}}|<tr>{{#if:{{{group5|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group5}}}</th>}}</tr>
<tr><td>{{{list5}}}</td></tr>}}<!--
 
-->{{#if:{{{list6|}}}|<tr>{{#if:{{{group6|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group6}}}</th>}}</tr>
<tr><td>{{{list6}}}</td></tr>}}<!--
 
-->{{#if:{{{list7|}}}|<tr>{{#if:{{{group7|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group7}}}</th>}}</tr>
<tr><td>{{{list7}}}</td></tr>}}<!--
 
-->{{#if:{{{list8|}}}|<tr>{{#if:{{{group8|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group8}}}</th>}}</tr>
<tr><td>{{{list8}}}</td></tr>}}<!--
 
-->{{#if:{{{list9|}}}|<tr>{{#if:{{{group9|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group9}}}</th>}}</tr>
<tr><td>{{{list9}}}</td></tr>}}<!--
 
-->{{#if:{{{list10|}}}|<tr>{{#if:{{{group10|}}}|<th style="padding:0.1em; font-size:0.9em; background-color:#cee0f2;">{{{group10}}}</th>}}</tr>
<tr><td>{{{list10}}}</td></tr>}}<!--
--></table><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Revision as of 07:05, 20 September 2011

{{#invoke:Sidebar|sidebar}}{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}