Difference between revisions of "Template:BookHeader"

m (Bot: Automated text replacement (-\[\[fr:[^:]+:[^\[]+\]\]\n +))
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- make sure no parameters are removed --><includeonly>{{#switch:undef!
+
{{#if:{{{BookHeader|}}}|<h1>[[{{{L}}}|{{{H}}}]]</h1>|<h1>[[{{{L}}}|{{{H}}}]]</h1>}}
|{{{title|undef!}}}
 
|{{{author|undef!}}}
 
|{{{section|undef!}}}
 
|{{{previous|undef!}}}
 
|{{{next|undef!}}}
 
|{{{notes|undef!}}} = <div style="text-align:center; border:1px solid #CCC; font-size:0.9em;">'''template error: Do not remove empty parameters'''</div>}}</includeonly>
 
 
{| class="headertemplate" id="headertemplate"
 
{| class="headertemplate" id="headertemplate"
 
|-
 
|-
|class="header_backlink" | {{#if:{{{previous|}}}|<span id="headerprevious">{{{previous}}}</span>}}
+
|class="header_backlink" | {{#if:{{{<|}}}|<span id="headerprevious">{{{<}}}</span>}}
|class="header_title"    | '''<span id="header_title_text"><div style="font-size:150%">{{{title|Untitled}}}</div></span>''' {{#if:{{{author}}}|{{#if:{{{section|}}}| |<br/>}}<i>Author: {{#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:{{{section|}}}|<br /><span id="header_section_text"><div style="font-size:150%">{{{section|}}}</div></span>}}
+
|class="header_title"    | {{#if:{{{T|}}}|<span id="header_title_text"><div style="font-size:90%"> ''{{{T|Untitled}}}'', a work by author: {{{A}}}</div></span>}}
|class="header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}</span>}}
+
|class="header_forelink" | {{#if:{{{>|}}}|<span id="headernext">{{{>}}}</span>}}
 
|}
 
|}
{| class="header_notes"
 
|-
 
| {{{notes}}}
 
|}<includeonly><!--
 
subpages -->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
 
|{{#ifexist:{{#rel2abs:../}}|1}}
 
|{{#ifexist:{{#rel2abs:../../}}|1}}
 
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[Category:{{#if:{{NAMESPACE}}|{{NAMESPACE}} subpages|Subpages}}]]
 
}}}}<noinclude>
 
</noinclude>
 

Latest revision as of 13:33, 30 September 2017

[[{{{L}}}|{{{H}}}]]