Jump to content

Template:Header2: Difference between revisions

From IdeaWazaWiki
wikademia>Jayvdb
add "translator = wikisource" support
wikademia>Jayvdb
m force non breaking spaces
Line 6: Line 6:
|class="header_title"    | '''{{{title|Untitled}}}''' {{#if:{{{section|}}}|({{{section|}}})}}{{#if:{{{override_author|}}}|<br />''{{{override_author}}}''|{{#if:{{{author}}}|<br />''by [[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 [[Author:{{{author}}}|{{{author}}}]]''}}}}{{#if:{{{translator|}}}|&nbsp;({{#switch:{{{translator|}}}
| ? =[[:Category:Deletion requests/Unknown translators|unknown translator]]
| ? =[[:Category:Deletion requests/Unknown translators|unknown translator]]
| wikisource =translated by [[Category:Wikisource translations]][[Wikisource:Translations|Wikisource]]
| wikisource =translated&nbsp;by&nbsp;[[Wikisource:Translations|Wikisource]][[Category:Wikisource translations]]
|translator:&nbsp;{{#ifeq:{{#expr:{{{translator}}}}}|Expression error: Unrecognised punctuation character "["|{{{translator}}}|''[[Author:{{{translator}}}|{{{translator}}}]]''}}
|translator:&nbsp;{{#ifeq:{{#expr:{{{translator}}}}}|Expression error: Unrecognised punctuation character "["|{{{translator}}}|''[[Author:{{{translator}}}|{{{translator}}}]]''}}
}})}}{{#ifeq:{{{override_author|}}}|||[[Category:Pages with override author]]}}
}})}}{{#ifeq:{{{override_author|}}}|||[[Category:Pages with override author]]}}

Revision as of 04:03, 16 November 2007

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

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