Vorlage:H: Unterschied zwischen den Versionen
Aus Alrik
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
Keine Bearbeitungszusammenfassung |
||
(4 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}}}</h{{#dplvar:hlevel}}><noinclude>Header on a page that will be included as subsection somewhere else. | --><h{{#dplvar:hlevel}}>{{{1}}}</h{{#dplvar:hlevel}}><noinclude>Header on a page that will be included as subsection somewhere else. | ||
# Header name | # Header name | ||
# Page it is on | # Page it is on | ||
# Base leve of head (default:2) | # 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> | [[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.
- 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 `{{{1|1}}}`, if you ever want to include the value in an h3 section or higher.