Difference between revisions of "Template:Fake heading"

From Captain of Industry Wiki
Jump to: navigation, search
(Creation)
 
(Customize for the default skin)
 
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={{error|Per [[WP:PSEUDOHEADING]] fake headings should not be used in articles.}}[[Category:Pages with templates in the wrong namespace]]
|2=<div style="color: #000000; background: none; overflow: hidden; page-break-after: avoid; {{#switch: {{{level|{{{sub|}}}}}}
|2=<div style="color: #c1c1c1; background: none; overflow: hidden; page-break-after: avoid; {{#switch: {{{level|{{{sub|}}}}}}
  | 1 = font-size: 1.8em; font-family: 'Linux Libertine',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: 'Linux Libertine',Georgia,Times,serif; margin-top: ; margin-bottom: 0.25em; line-height: 1.3; padding: 0; border-bottom: 1px solid rgb(162,169,177);
  | 2 | #default = font-size: 1.5em; font-family: 'Linux Libertine',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: 'Linux Libertine',Georgia,Times,serif; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; padding: 0; border-bottom: 1px solid rgb(162, 169, 177);
  | 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;

Latest revision as of 09:57, 22 January 2022

Section
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Usage

This template is used to create examples of section heading wiki markup in help and similar pages and should NOT be used in articles. Fake headings do not appear in the table of contents. They are styled to appear the same as the default heading styles in the DarkVector 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 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}}
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
The above text is transcluded from Template:Fake heading/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to Template:Fake heading/doc. (View all subpages of this page.)