Vorlage:H: Unterschied zwischen den Versionen

Aus Alrik
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
{{#dplvar:set|plevel|{{#ifeq:{{PAGENAME}}|{{{2|{{PAGENAME}}}}}|0|1}}}}<!--
{{#dplvar:set|plevel|{{#ifeq:{{PAGENAME}}|{{{2|{{PAGENAME}}}}}|0|1}}}}<!--
-->{{#dplvar:set|hlevel|{{#expr:{{{3|2}}}+{{#dplvar:plevel}}}}}}<!--
-->{{#dplvar:set|hlevel|{{#expr:{{{3|2}}}+{{{more|1}}}*{{#dplvar:plevel}}}}}}<!--
--><h{{#dplvar:hlevel}}>{{{1|<section>}}}</h{{#dplvar:hlevel}}><noinclude>[[Kategorie:Vorlagen]]</noinclude>
--><h{{#dplvar:hlevel}}>{{{1}}}</h{{#dplvar:hlevel}}><noinclude>Header on a page that will be included as subsection somewhere else.
# Header name
# Page it is on
# Base leve of head (default:2)
 
By default 1 is added but if it might be necessary the parameter '''more''' can be set to `<nowiki>{{{1|1}}}</nowiki>`, if you ever want to include the value in an h3 section or higher.
[[Kategorie:Vorlagen]]</noinclude>

Aktuelle Version vom 25. Oktober 2024, 07:19 Uhr

{{{1}}}

Header on a page that will be included as subsection somewhere else.

  1. Header name
  2. Page it is on
  3. Base leve of head (default:2)

By default 1 is added but if it might be necessary the parameter more can be set to `{{{1|1}}}`, if you ever want to include the value in an h3 section or higher.