Jump to content

Template:Header2: Difference between revisions

From IdeaWazaWiki
wikademia>GrafZahl
adding markers for automatic footerlink insertion (see Wikisource:Scriptorium#Automatic_footer_link_insertion)
wikademia>GrafZahl
making footer link insertion disjunctive, i.e. one of next and previous is sufficient
Line 3: Line 3:
{| class="headertemplate"
{| class="headertemplate"
|-
|-
|class="header_backlink" | {{#if:{{{previous|}}}|<span id="headerprevious">←{{{previous}}}</span>}}
|class="header_backlink" | {{#if:{{{previous|}}}{{{next|}}}|<span id="headerprevious">{{#if:{{{previous|}}}|←{{{previous}}}}}</span>}}
|class="header_title"    | '''{{{title|Untitled}}}''' {{#if:{{{section|}}}|({{{section|}}})}}{{#if:{{{override_author|}}}|<br />''{{{override_author}}}''|{{#if:{{{author}}}|<br />''by [[Author:{{{author}}}|{{{author}}}]]''}}}}
|class="header_title"    | '''{{{title|Untitled}}}''' {{#if:{{{section|}}}|({{{section|}}})}}{{#if:{{{override_author|}}}|<br />''{{{override_author}}}''|{{#if:{{{author}}}|<br />''by [[Author:{{{author}}}|{{{author}}}]]''}}}}
|class="header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}→</span>}}
|class="header_forelink" | {{#if:{{{previous|}}}{{{next|}}}|<span id="headernext">{{#if:{{{next|}}}|{{{next}}}→}}</span>}}
|}
|}
{| class="header_notes"
{| class="header_notes"

Revision as of 08:45, 9 August 2007

The location and content of this page may change; please use the permanent link when citing this page in a static form.
Untitled
by [[Author:{{{author}}}|{{{author}}}]]

da:Skabelon:Header fr:Modèle:Titre zh:Template:Header2