Difference between revisions of "Template:Fake heading"

From Cafe Plaisir
Jump to navigation Jump to search
(Created page with "{{main other |1={{error|Per WP:PSEUDOHEADING fake headings should not be used in articles.}}Category:Pages with templates in the wrong namespace |2=<div style="color:...")
 
 
Line 1: Line 1:
 
{{main other
 
{{main other
|1={{error|Per [[WP:PSEUDOHEADING]] fake headings should not be used in articles.}}[[Category:Pages with templates in the wrong namespace]]
+
|1=  
 
|2=<div style="color: #000000; background: none; overflow: hidden; page-break-after: avoid; {{#switch: {{{level|{{{sub|}}}}}}
 
|2=<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;
 
  | 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;

Latest revision as of 16:39, 8 April 2020

Section
50px Template documentation[view] [edit] [history] [purge]

Usage

This template is used to create examples of section heading wiki markup in help and similar pages. Fake headings do not appear in the table of contents. They are styled to appear the same as the default heading styles in the Vector skin, and will not be influenced by custom CSS or skins.

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 [[:Template: Renders as
[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

See also

Template:Fake template list