Difference between revisions of "Template:Fakeheading"
imported>SMcCandlish (creating template) |
imported>SMcCandlish (example; color tweak) |
||
| Line 1: | Line 1: | ||
| − | <div style="font-size: 150%; padding-bottom: .3em; border-bottom: 1px solid # | + | <div style="font-size: 150%; padding-bottom: .3em; border-bottom: 1px solid #666; width: 75%;">{{{1}}}</div><noinclude> |
| − | <noinclude> | + | |
| + | ==Usage== | ||
This template is used to create examples of the output of code that generates <code>==Headings==</code>, such as at [[Wikipedia:Manual of Style (glossaries)]], so that editors have a clearer idea of what they'll get. The grey it uses for the underline is intentionally darker than the real thing, and its width intentionally shorter than full page, so that it is distinguishable from an actual heading. | This template is used to create examples of the output of code that generates <code>==Headings==</code>, such as at [[Wikipedia:Manual of Style (glossaries)]], so that editors have a clearer idea of what they'll get. The grey it uses for the underline is intentionally darker than the real thing, and its width intentionally shorter than full page, so that it is distinguishable from an actual heading. | ||
Forthcoming: An option to generate different levels of headings. | Forthcoming: An option to generate different levels of headings. | ||
| + | |||
| + | ===Example=== | ||
| + | <code><nowiki>{{fakeheading|FooBarBazQuux}}</nowiki><br /> | ||
| + | <nowiki>{{loremipsum}}</nowiki></code> | ||
| + | |||
| + | |||
| + | {{fakeheading|FooBarBazQuux}} | ||
| + | {{loremipsum}} | ||
==See also== | ==See also== | ||
*{{tl|Fake heading}}, a less realistic fake heading, used for showing examples in style guides and essays | *{{tl|Fake heading}}, a less realistic fake heading, used for showing examples in style guides and essays | ||
</noinclude> | </noinclude> | ||
Revision as of 05:35, 12 June 2010
Usage
This template is used to create examples of the output of code that generates ==Headings==, such as at Wikipedia:Manual of Style (glossaries), so that editors have a clearer idea of what they'll get. The grey it uses for the underline is intentionally darker than the real thing, and its width intentionally shorter than full page, so that it is distinguishable from an actual heading.
Forthcoming: An option to generate different levels of headings.
Example
{{fakeheading|FooBarBazQuux}}
{{loremipsum}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
See also
- {{Fake heading}}, a less realistic fake heading, used for showing examples in style guides and essays