Vorlage:H: Unterschied zwischen den Versionen
Aus Alrik
(Die Seite wurde neu angelegt: „{{#ifeq:{{PAGENAME}}|{{{2|{{PAGENAME}}}}}|<h{{{3|2}}}>|<h{{#expr:{{{3|2}}}+1}}>}}<!-- -->{{{1|<section>}}}<!-- -->{{#ifeq:{{PAGENAME}}|{{{2|{{PAGENAME}}}}}|</h{{{3|2}}}>|</h{{#expr:{{{3|2}}}+1}}>}}<noinclude>Kategorie:Vorlagen</noinclude>“) |
Keine Bearbeitungszusammenfassung |
||
(9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
{{#ifeq:{{PAGENAME}}|{{{2|{{PAGENAME}}}}}| | {{#dplvar:set|plevel|{{#ifeq:{{PAGENAME}}|{{{2|{{PAGENAME}}}}}|0|1}}}}<!-- | ||
-->{{#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. | ||
# 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.
- 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.