Template:Reference book infobox: Difference between revisions

m
Text replacement - "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}" to "{{{name|{{PAGENAME}}}}}"
m (Text replacement - "{{{pagelabel\|([^\n}]+)}}}" to "{{{pagelabel|$1 {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}")
m (Text replacement - "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}" to "{{{name|{{PAGENAME}}}}}")
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; background:{{{BG|#EFF0FF}}}; border:1px solid #B5B7CF; color:{{{color1|#000}}};"
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; background:{{{BG|#EFF0FF}}}; border:1px solid #B5B7CF; color:{{{color1|#000}}};"
{{!}}-
{{!}}-
! class="infoboxheading" style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}; text-align:center; font-size:120%;" colspan="2" | {{{name|{{PAGENAME}}}}}
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
Line 74: Line 74:
{{!}}-}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px;" | 
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px;" | 
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Book {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>{{Clear}}
|}<includeonly>{{pagetitle|{{{pagename|{{{name|{{PAGENAME}}}}}}}} - {{{pagelabel|Book {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>{{Clear}}
Add the following code and change the values to add the book template to the an article:
Add the following code and change the values to add the book template to the an article:
<pre>
<pre>