Array

Template:Header2: Difference between revisions

(mod)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
|-
|-
|class="header_backlink" | {{#if:{{{previous|}}}|<span id="headerprevious">←{{{previous}}}</span>}}
|class="header_backlink" | {{#if:{{{previous|}}}|<span id="headerprevious">←{{{previous}}}</span>}}
|class="header_title"    | '''<span id="header_title_text">{{{title|Untitled}}}</span>''' {{#if:{{{override_author|}}}|<br /><i><span id="header_author_text">{{{override_author}}}</span></i>|{{#if:{{{author}}}|{{#if:{{{section|}}}| |<br/>}}<i>by {{#ifeq:{{#expr:{{{author}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{author}}}</i>|{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|<span id="header_author_text">Unknown</span>|[[Author:{{{author}}}|<span id="header_author_text">{{{author}}}</span>]]}}}}</i>}}}} {{#if:{{{year|}}}|<span style="color:#90AF3E">in the year {{{year}}}</span>}} {{#if:{{{translator|}}}|{{#switch:{{lc:{{{translator|}}}}}
|class="header_title"    | '''<span id="header_title_text">{{{title|Untitled}}}</span>''' {{#if:{{{override_author|}}}|<br /><i><span id="header_author_text">{{{override_author}}}</span></i>|{{#if:{{{author}}}|{{#if:{{{section|}}}| |<br/>}}<i>by {{#ifeq:{{#expr:{{{author}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{author}}}</i>|{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|<span id="header_author_text">Unknown</span>|[[Author:{{{author}}}|<span id="header_author_text">{{{author}}}</span>]]}}}}</i>}}}} {{#if:{{{year|}}}|<span style="color:#999999">in the year {{{year}}}</span>}} {{#if:{{{translator|}}}|{{#switch:{{lc:{{{translator|}}}}}
| ? =&nbsp;([[:Category:Deletion requests/Unknown translators|unknown translator]])
| ? =&nbsp;([[:Category:Deletion requests/Unknown translators|unknown translator]])
| unknown =, ''unknown translator''
| unknown =, ''unknown translator''
Line 40: Line 40:
}}{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|[[Category:Anonymous texts]]}}
}}{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|[[Category:Anonymous texts]]}}
{{#if:{{{year|}}}|[[Category:{{{year}}} works]]}}
{{#if:{{{year|}}}|[[Category:{{{year}}} works]]}}
</includeonly><noinclude>
</includeonly>
[[Category:Exclude in print]]
{{documentation|Template:Header/doc}}
</noinclude>

Latest revision as of 06:01, 9 May 2024


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