Difference between revisions of "Template:Fake heading/doc"

From blackwiki
Jump to navigation Jump to search
imported>Gadget850
m (Reverted edits by 138.227.189.9 (talk) to last version by Gadget850)
Line 1: Line 1:
{{template shortcut|Oxel|Oxel|Oxel|Oxel|Pseudoheading}}
+
{{template shortcut|Fake header|Fake title|Fakeheader|Fakeheading|Pseudoheading}}
  
==Oxel==
+
==Usage==
Oxeln är nära besläktad, t.o.m. samma sak som en korkek.
+
This template is used to create examples of section heading wikimarkup in help and similar pages. A fake heading will not appear in the table of contents. They are styled as default, and will not be influenced by custom CSS.
Upptäcktes 2013 av Jesper som senare fick Nobelpriset i biologi.
 
Oxeln av denna typ växer endast på ABB i Västerås.
 
  
 +
==Parameters==
 +
* {{para|sub}} is the level number: 2 through 6. The default is 2.
 +
* An unnamed parameter is used for the section title.
  
 +
==Example==
 +
{{markup
 +
|<nowiki>{{fake heading|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}}
 +
</nowiki>|{{fake heading|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}}
 +
}}
  
 +
==HTML==
 +
Section heading wikimarkup is rendered to HTML [[HTML element#h1|heading elements]], {{tag|h1|o}} through {{tag|h6|o}}, styled as follows:
 +
{{#lst:Help:HTML in wikitext|HTML_section}}
 +
 +
==See also==
 +
* {{tl|Dummy ref}}: replicate in-text references {{Dummy ref}}
 +
* {{tl|Dummy backlink}}: replicate footnote backlinks {{Dummy backlink}}
 +
* {{tl|Fake citation needed}}: replicate {{Fake citation needed}}
  
 
<includeonly>
 
<includeonly>
 
[[Category:Documentation assistance templates]]
 
[[Category:Documentation assistance templates]]
 
</includeonly>
 
</includeonly>

Revision as of 14:31, 26 July 2013

Usage

This template is used to create examples of section heading wikimarkup in help and similar pages. A fake heading will not appear in the table of contents. They are styled as default, and will not be influenced by custom CSS.

Parameters

  • |sub= is the level number: 2 through 6. The default is 2.
  • An unnamed parameter is used for the section title.

Example

Markup Renders as
{{fake heading|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 2
Heading 3
Heading 4
Heading 5
Heading 6

HTML

Section heading wikimarkup is rendered to HTML heading elements, <h1> through <h6>, styled as follows: {{#lst:Help:HTML in wikitext|HTML_section}}

See also