Template:Header: Difference between revisions
Appearance
wikademia>Pathoschild m + span wrappers for JavaScript extraction |
wikademia>Pathoschild + LST section wrappers for transclusion of individual values |
||
| Line 9: | Line 9: | ||
|- | |- | ||
|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>|[[Author:{{{author}}}|<span id="header_author_text">{{{author}}}</span>]]}}</i>}}}}{{#if:{{{translator|}}}|{{#switch:{{lc:{{{translator|}}}}} | |class="header_title" | '''<span id="header_title_text"><section begin="header_title" />{{{title|Untitled}}}<section end="header_title" /></span>''' {{#if:{{{override_author|}}}|<br /><i><span id="header_author_text"><section begin="header_author" />{{{override_author}}}<section end="header_author" /></span></i>|{{#if:{{{author}}}|{{#if:{{{section|}}}| |<br/>}}<i>by {{#ifeq:{{#expr:{{{author}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{author}}}</i>|[[Author:{{{author}}}|<span id="header_author_text"><section begin="header_author" />{{{author}}}<section end="header_author" /></span>]]}}</i>}}}}{{#if:{{{translator|}}}|{{#switch:{{lc:{{{translator|}}}}} | ||
| ? = ([[:Category:Deletion requests/Unknown translators|unknown translator]]) | | ? = ([[:Category:Deletion requests/Unknown translators|unknown translator]]) | ||
| unknown =, ''unknown translator'' | | unknown =, ''unknown translator'' | ||
| not mentioned =, ''translator not mentioned'' | | not mentioned =, ''translator not mentioned'' | ||
| wikisource =<i>, translated by [[Wikisource:Translations|<span id="header_translator_text">Wikisource</span>]]</i>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikisource translations]]}} | | wikisource =<i>, translated by [[Wikisource:Translations|<span id="header_translator_text"><section begin="header_translator" />Wikisource<section end="header_translator" /></span>]]</i>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikisource translations]]}} | ||
|<i>, translated by {{#ifeq:{{#expr:{{{translator}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{translator}}}</i>|[[Author:{{{translator}}}|<span id="header_translator_text">{{{translator}}}</span>]]</i>}} | |<i>, translated by {{#ifeq:{{#expr:{{{translator}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{translator}}}</i>|[[Author:{{{translator}}}|<span id="header_translator_text"><section begin="header_translator" />{{{translator}}}<section end="header_translator" /></span>]]</i>}} | ||
}}}}{{#if:{{{section|}}}|<br /><span id="header_section_text">{{{section|}}}</span>}} | }}}}{{#if:{{{section|}}}|<br /><span id="header_section_text">{{{section|}}}</span>}} | ||
|class="header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}→</span>}} | |class="header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}→</span>}} | ||
Revision as of 18:43, 22 July 2008
| <section begin="header_title" />Untitled<section end="header_title" /> by [[Author:{{{author}}}|]] |
| {{{notes}}} |
[create]
Template documentation