Vorlage:H: Unterschied zwischen den Versionen

Aus Alrik
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
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}}}+{{{mult|1}}}*{{#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>

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 <nowiki>1<nowiki>, if you ever want to include the value in an h3 section or higher.