Template:Fake heading: Difference between revisions
From The Goon Show Depository
en>GKFX (Carry out edit request by User:DesertPipeline from Template talk:Fake heading.) |
m (1 revision imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="color: #000000; background: none; overflow: hidden; page-break-after: avoid; {{#switch: {{{level|{{{sub|}}}}}} | |||
| 1 = font-size: 1.8em; font-family: Georgia,Times,serif; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; padding: 0; border-bottom: 1px solid #AAAAAA; | |||
| 2 | #default = font-size: 1.5em; font-family: Georgia,Times,serif; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; padding: 0; border-bottom: 1px solid #AAAAAA; | |||
| 1 = font-size: 1.8em; font-family: | |||
| 2 | #default = font-size: 1.5em; font-family: | |||
| 3 = font-size: 1.17em; font-weight: bold; margin-top: 0.3em; margin-bottom: 0; line-height: 1.6; padding-top: 0.5em; padding-bottom: 0; | | 3 = font-size: 1.17em; font-weight: bold; margin-top: 0.3em; margin-bottom: 0; line-height: 1.6; padding-top: 0.5em; padding-bottom: 0; | ||
| 4 = font-size: 100%; font-weight: bold; margin-top: 0.3em; margin-bottom: 0; line-height: 1.6; padding-top: 0.5em; padding-bottom: 0; | | 4 = font-size: 100%; font-weight: bold; margin-top: 0.3em; margin-bottom: 0; line-height: 1.6; padding-top: 0.5em; padding-bottom: 0; | ||
| 5 = font-size: 100%; font-weight: bold; margin-top: 0.3em; margin-bottom: 0; line-height: 1.6; padding-top: 0.5em; padding-bottom: 0; | | 5 = font-size: 100%; font-weight: bold; margin-top: 0.3em; margin-bottom: 0; line-height: 1.6; padding-top: 0.5em; padding-bottom: 0; | ||
| 6 = font-size: 100%; font-weight: bold; margin-top: 0.3em; margin-bottom: 0; line-height: 1.6; padding-top: 0.5em; padding-bottom: 0; | | 6 = font-size: 100%; font-weight: bold; margin-top: 0.3em; margin-bottom: 0; line-height: 1.6; padding-top: 0.5em; padding-bottom: 0; | ||
}}">{{{1|Section}}}</div> | }}">{{{1|Section}}}</div><noinclude>{{documentation}}</noinclude> | ||
{{documentation}} | |||
</noinclude> |
Latest revision as of 12:42, 15 August 2022
Usage
This template is used to create examples of section heading wiki markup.
Parameters
|level=
or|sub=
is the level number: valid values are 1 through 6. The default is 2 (equivalent of a== Main heading ==
(level 1 is equivalent to page title).- An unnamed parameter (which can also be specified as
|1=
) is used for the section title.
Example
Markup | Renders as |
---|---|
{{fake heading|sub=1|Heading 1}} {{fake heading|sub=2|Heading 2}} {{fake heading|sub=3|Heading 3}} {{fake heading|sub=4|Heading 4}} {{fake heading|sub=5|Heading 5}} {{fake heading|sub=6|Heading 6}} |
|