Difference between revisions of "Template:Fake heading"

From FreeCAD Documentation
Jump to navigation Jump to search
(Created page with "<div style="color: black; background: none; margin: 0; overflow: hidden; padding-top: .5em; padding-bottom: .17em; {{#switch: {{{sub|}}} | 2 = font-size: 150%; margin-bottom...")
 
(Category:Template:Text Format Usage information)
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
 
   | 6 = font-size: 100%; font-weight: bold; page-break-after: avoid;
 
   | 6 = font-size: 100%; font-weight: bold; page-break-after: avoid;
 
   | #default = font-size: 150%; margin-bottom: .6em; border-bottom: 1px solid #aaa; page-break-after: avoid;}}">{{{1|Section}}}</div>
 
   | #default = font-size: 150%; margin-bottom: .6em; border-bottom: 1px solid #aaa; page-break-after: avoid;}}">{{{1|Section}}}</div>
 +
<noinclude>
 +
 +
----
 +
 +
Use this template to create a fake heading. It will be displayed like one, but it will not be placed in the automatically generated table of contents.
 +
 +
Example:
 +
 +
<nowiki>
 +
{{Fake heading|Big section}}
 +
{{Fake heading|sub=3|Smaller section}}
 +
{{Fake heading|sub=4|Smaller sub section}}
 +
</nowiki>
 +
 +
Result:
 +
 +
{{Fake heading|Big section}}
 +
{{Fake heading|sub=3|Smaller section}}
 +
{{Fake heading|sub=4|Smaller sub section}}
 +
 +
[[Category:Template:Text Format]]
 +
</noinclude>

Latest revision as of 22:47, 7 December 2018

Section



Use this template to create a fake heading. It will be displayed like one, but it will not be placed in the automatically generated table of contents.

Example:

{{Fake heading|Big section}}
{{Fake heading|sub=3|Smaller section}}
{{Fake heading|sub=4|Smaller sub section}}

Result:

Big section
Smaller section
Smaller sub section