Welcome to Warhammer 40k - Lexicanum! Log in and join the community.
Difference between revisions of "Template:Book"
From Warhammer 40k - Lexicanum
m (test) |
m (template still acting weird - back to older version) |
||
Line 1: | Line 1: | ||
− | {{PublicationsPortal}} | + | {|border="0" cellpadding="0" cellspacing="0" style="float:right; margin-left:0; margin-right:0; margin-bottom:0; line-height:120%" width="270" |
− | {| | + | |- |
− | | | + | | {{PublicationsPortal}} |
+ | |- | ||
+ | | | ||
+ | {|border="0" cellpadding="5" cellspacing="0" style="float:right; margin-left:1em; margin-right:1em; margin-bottom:1em; border:1px solid #808080; background:#ACACAC; line-height:120%" width="270" | ||
+ | !colspan=2|{{#if:{{{Name|}}}|<center><font size=2; color="#000000">'''''{{{Name}}}'''''</font></center>|'''Name'''}} | ||
|- | |- | ||
{{#if:{{{Image|}}}| | {{#if:{{{Image|}}}| | ||
− | {{!}} | + | {{!}}colspan=2 style="font-size:80%;text-align:center"{{!}}[[Image:{{{Image}}}|center|220px]]{{#if:{{{Image caption|}}}| |
{{{Image caption|}}}}} | {{{Image caption|}}}}} | ||
{{!-}} | {{!-}} | ||
}} | }} | ||
{{#if:{{{Author|}}}| | {{#if:{{{Author|}}}| | ||
− | !'''Author''' | + | {{!}} style="border-top:1px solid #808080;font-size:85%;vertical-align:top;text-align:left; background:#ACACAC" {{!}}'''Author''' |
− | {{!}}{{{Author}}} | + | {{!}} style="border-top:1px solid #808080;font-size:85%; background:#ACACAC" {{!}}{{{Author}}} |
{{!-}} | {{!-}} | ||
}} | }} | ||
{{#if:{{{Publisher|}}}| | {{#if:{{{Publisher|}}}| | ||
− | !'''Publisher''' | + | {{!}} style="border-top:1px solid #808080;font-size:85%;vertical-align:top;text-align:left; background:#ACACAC" {{!}}'''Publisher''' |
− | {{!}}{{{Publisher}}} | + | {{!}} style="border-top:1px solid #808080;font-size:85%; background:#ACACAC" {{!}}{{{Publisher}}} |
{{!-}} | {{!-}} | ||
}} | }} | ||
{{#if:{{{Series|}}}| | {{#if:{{{Series|}}}| | ||
− | !'''Series''' | + | {{!}} style="border-top:1px solid #808080;font-size:85%;vertical-align:top;text-align:left; background:#ACACAC" {{!}}'''Series''' |
− | {{!}}{{{Series}}} | + | {{!}} style="border-top:1px solid #808080;font-size:85%; background:#ACACAC" {{!}}{{{Series}}} |
{{!-}} | {{!-}} | ||
}} | }} | ||
{{#if:{{{Preceded by|}}}| | {{#if:{{{Preceded by|}}}| | ||
− | !'''Preceded by''' | + | {{!}} style="border-top:1px solid #808080;font-size:85%;vertical-align:top;text-align:left; background:#ACACAC" {{!}}'''Preceded by''' |
− | {{!}}{{{Preceded by}}} | + | {{!}} style="border-top:1px solid #808080;font-size:85%; background:#ACACAC" {{!}}{{{Preceded by}}} |
{{!-}} | {{!-}} | ||
}} | }} | ||
{{#if:{{{Followed by|}}}| | {{#if:{{{Followed by|}}}| | ||
− | !'''Followed by''' | + | {{!}} style="border-top:1px solid #808080;font-size:85%;vertical-align:top;text-align:left; background:#ACACAC" {{!}}'''Followed by''' |
− | {{!}}{{{Followed by}}} | + | {{!}} style="border-top:1px solid #808080;font-size:85%; background:#ACACAC" {{!}}{{{Followed by}}} |
{{!-}} | {{!-}} | ||
}} | }} | ||
{{#if:{{{Released|}}}| | {{#if:{{{Released|}}}| | ||
− | !'''Released''' | + | {{!}} style="border-top:1px solid #808080;font-size:85%;vertical-align:top;text-align:left; background:#ACACAC" {{!}}'''Released''' |
− | {{!}}{{{Released}}} | + | {{!}} style="border-top:1px solid #808080;font-size:85%; background:#ACACAC" {{!}}{{{Released}}} |
{{!-}} | {{!-}} | ||
}} | }} | ||
{{#if:{{{Pages|}}}| | {{#if:{{{Pages|}}}| | ||
− | !'''Pages''' | + | {{!}} style="border-top:1px solid #808080;font-size:85%;vertical-align:top;text-align:left; background:#ACACAC" {{!}}'''Pages''' |
− | {{!}}{{{Pages}}} | + | {{!}} style="border-top:1px solid #808080;font-size:85%; background:#ACACAC" {{!}}{{{Pages}}} |
{{!-}} | {{!-}} | ||
}} | }} | ||
{{#if:{{{Editions|}}}| | {{#if:{{{Editions|}}}| | ||
− | !'''Editions''' | + | {{!}} style="border-top:1px solid #808080;font-size:85%;vertical-align:top;text-align:left; background:#ACACAC" {{!}}'''Editions''' |
− | {{!}}{{{Editions}}} | + | {{!}} style="border-top:1px solid #808080;font-size:85%; background:#ACACAC" {{!}}{{{Editions}}} |
{{!-}} | {{!-}} | ||
}} | }} | ||
− | |}<noinclude> | + | |} |
+ | |} | ||
+ | <noinclude> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
==Code== | ==Code== |
Revision as of 19:47, 7 July 2015
|
Code
{{Book |Name = |Image = |Image caption= |Author = |Publisher = |Series = |Preceded by = |Followed by = |Released = |Pages = |Editions = }}