Template:Sidebar/doc: Difference between revisions
Template page
More actions
m 13 revisions imported |
Remove nonexistent templates (Generic template demo, semisub, \\) from doc |
||
| Line 9: | Line 9: | ||
== Usage == | == Usage == | ||
|pretitle |title |image |above |heading1 |content1 |heading2 |content2 |heading3 |content3 |content4=''…… etc ……'' |heading35 |content35 |below}} | |||
(parameters with infrequent use omitted) | (parameters with infrequent use omitted) | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
| Line 69: | Line 69: | ||
|- | |- | ||
| {{para|headingstyle}} | | {{para|headingstyle}} | ||
|style="padding-left:0.5em;"| Use to alter the default [[Help:Cascading Style Sheets|CSS]] styling set for section headings. <br />To alter the CSS styling for a specific section's heading, use {{para| | |style="padding-left:0.5em;"| Use to alter the default [[Help:Cascading Style Sheets|CSS]] styling set for section headings. <br />To alter the CSS styling for a specific section's heading, use {{para|headingnstyle}}, where ''n'' is the number of the section. | ||
|- | |- | ||
| {{para|contentstyle}} | | {{para|contentstyle}} | ||
|style="padding-left:0.5em;"| Use to alter the default CSS styling set for section content. <br />To alter the CSS styling for a particular section's content, use {{para| | |style="padding-left:0.5em;"| Use to alter the default CSS styling set for section content. <br />To alter the CSS styling for a particular section's content, use {{para|contentnstyle}}, where ''n'' is the number of the section. | ||
|- | |- | ||
| {{para|heading1}}<br/>{{para|content1}} | | {{para|heading1}}<br/>{{para|content1}} | ||
|style="padding-left:0.5em;"| First section's heading | |style="padding-left:0.5em;"| First section's heading|content. ''content1'' is required if ''heading1'' is also to appear. | ||
|- | |- | ||
| {{para|heading2}}<br/>{{para|content2}} | | {{para|heading2}}<br/>{{para|content2}} | ||
|style="padding-left:0.5em;"| Second section's heading | |style="padding-left:0.5em;"| Second section's heading|content. (''content2'' required if ''heading2'' also to appear; etc.) | ||
|- | |- | ||
| {{para|heading3}}<br/>{{para|content3}} | | {{para|heading3}}<br/>{{para|content3}} | ||
|style="padding-left:0.5em;"| Third section's heading | |style="padding-left:0.5em;"| Third section's heading|content. | ||
|- | |- | ||
|colspan="2" style="padding-left:0.5em;"| ...... etc ...... | |colspan="2" style="padding-left:0.5em;"| ...... etc ...... | ||
| Line 126: | Line 126: | ||
*{{para|abovestyle}} | *{{para|abovestyle}} | ||
*{{para|headingstyle}} | *{{para|headingstyle}} | ||
*{{para| | *{{para|headingnstyle}} | ||
*{{para|contentstyle}} | *{{para|contentstyle}} | ||
*{{para| | *{{para|contentnstyle}} | ||
*{{para|belowstyle}} | *{{para|belowstyle}} | ||
*{{longitem|{{para|navbarstyle}}<br/>{{nbsp|2}}{{smaller|(or {{para|tnavbarstyle}})}}}} | *{{longitem|{{para|navbarstyle}}<br/>{{nbsp|2}}{{smaller|(or {{para|tnavbarstyle}})}}}} | ||
| Line 135: | Line 135: | ||
|- | |- | ||
| {{para|cellspacing}}<br/>{{para|cellpadding}} | | {{para|cellspacing}}<br/>{{para|cellpadding}} | ||
|style="padding-left:0.5em;"| Use to amend the default cellspacing | |style="padding-left:0.5em;"| Use to amend the default cellspacing|cellpadding set for the infobox-class table with which the sidebar is built. | ||
|- | |- | ||
| {{longitem|{{para|navbar}}{{nowrap|{{nbsp|2}}{{smaller|(or {{para|tnavbar}})}}}}}} | | {{longitem|{{para|navbar}}{{nowrap|{{nbsp|2}}{{smaller|(or {{para|tnavbar}})}}}}}} | ||
| Line 262: | Line 262: | ||
== Full blank syntax == | == Full blank syntax == | ||
(omitting heading4/content4 to penultimate heading/content parameters) | (omitting heading4/content4 to penultimate heading/content parameters) | ||