Jump to content

Template:Header2: Difference between revisions

From IdeaWazaWiki
wikademia>Jayvdb
remove "permanent link" link per discussion at WS:S
wikademia>Pathoschild
m tweaks ("translator" to "translated by", allow browsers to wrap if necessary for accessibility reasons)
Line 3: Line 3:
|-
|-
|class="header_backlink" | {{#if:{{{previous|}}}{{{next|}}}|<span id="headerprevious">{{#if:{{{previous|}}}|←{{{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 {{#ifeq:{{#expr:{{{author}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{author}}}|[[Author:{{{author}}}|{{{author}}}]]}}''}}}}{{#if:{{{translator|}}}|&nbsp;({{#switch:{{{translator|}}}
|class="header_title"    | '''{{{title|Untitled}}}''' {{#if:{{{section|}}}|({{{section|}}})}}{{#if:{{{override_author|}}}|<br />''{{{override_author}}}''|{{#if:{{{author}}}|<br />''by {{#ifeq:{{#expr:{{{author}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{author}}}|[[Author:{{{author}}}|{{{author}}}]]}}''}}}}{{#if:{{{translator|}}}|&#32;({{#switch:{{{translator|}}}
| ? =[[:Category:Deletion requests/Unknown translators|unknown translator]]
| ? =[[:Category:Deletion requests/Unknown translators|unknown translator]]
| wikisource =translated&nbsp;by&nbsp;[[Wikisource:Translations|Wikisource]]{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikisource translations]]}}
| wikisource =translated by [[Wikisource:Translations|Wikisource]]{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikisource translations]]}}
|translator:&nbsp;{{#ifeq:{{#expr:{{{translator}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{translator}}}|''[[Author:{{{translator}}}|{{{translator}}}]]''}}
|translated by {{#ifeq:{{#expr:{{{translator}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{translator}}}|''[[Author:{{{translator}}}|{{{translator}}}]]''}}
}})}}{{#ifeq:{{{override_author|}}}|||[[Category:Pages with override author]]}}
}})}}{{#ifeq:{{{override_author|}}}|||[[Category:Pages with override author]]}}
|class="header_forelink" | {{#if:{{{previous|}}}{{{next|}}}|<span id="headernext">{{#if:{{{next|}}}|{{{next}}}→}}</span>}}
|class="header_forelink" | {{#if:{{{previous|}}}{{{next|}}}|<span id="headernext">{{#if:{{{next|}}}|{{{next}}}→}}</span>}}

Revision as of 05:09, 15 January 2008

Untitled
by [[Author:{{{author}}}|{{{author}}}]]

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