Difference between revisions of "Template:Book"
From Warhammer - The Old World - Lexicanum
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {| | + | {|border="0" cellpadding="5" cellspacing="0" style="float:right; margin-left:1em; margin-right:1em; margin-bottom:1em; border:1px solid #555555; border-radius:5px; background:#8C7154; line-height:120%" width="270" |
− | + | !colspan=2|{{#if:{{{Name|}}}|<center><font color="#000000">'''''{{{Name}}}'''''</font></center>|'''Name'''}} | |
|- | |- | ||
− | |align | + | {{#if:{{{Image|}}}| |
− | + | {{!}}colspan=2 style="background:#8C7154;font-size:85%;text-align:center"{{!}}[[Image:{{{Image}}}|center|220px]]{{#if:{{{Image caption|}}}| | |
− | |- | + | {{{Image caption|}}}}} |
− | |align= | + | }} |
− | + | |- | |
− | |- | + | {{#if:{{{Author(s)|}}}| |
− | |align= | + | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;vertical-align:top;text-align:left" scope=row" {{!}}'''Author(s)''' |
− | + | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;" {{!}}{{{Author(s)}}} | |
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{Editor(s)|}}}| | ||
+ | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;vertical-align:top;text-align:left" scope=row {{!}}'''Editor(s)''' | ||
+ | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;" {{!}}{{{Editor(s)}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{Cover Artist|}}}| | ||
+ | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;vertical-align:top;text-align:left" scope=row {{!}}'''Cover Artist''' | ||
+ | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;" {{!}}{{{Cover Artist}}} | ||
+ | }} | ||
|- | |- | ||
− | |align= | + | {{#if:{{{Illustrator(s)|}}}| |
− | + | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;vertical-align:top;text-align:left" scope=row {{!}}'''Illustrator(s)''' | |
+ | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;" {{!}}{{{Illustrator(s)}}} | ||
+ | }} | ||
|- | |- | ||
− | |align= | + | {{#if:{{{Released|}}}| |
− | + | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;vertical-align:top;text-align:left" scope=row {{!}}'''Released''' | |
+ | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;" {{!}}{{{Released}}} | ||
+ | }} | ||
|- | |- | ||
− | |align= | + | {{#if:{{{Pages|}}}| |
− | + | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;vertical-align:top;text-align:left" scope=row {{!}}'''Pages''' | |
+ | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;" {{!}}{{{Pages}}} | ||
+ | }} | ||
|- | |- | ||
− | |align= | + | {{#if:{{{ISBN|}}}| |
− | + | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;vertical-align:top;text-align:left" scope=row {{!}}'''ISBN''' | |
+ | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;" {{!}}{{{ISBN}}} | ||
+ | }} | ||
|- | |- | ||
− | |align= | + | {{#if:{{{Preceded by|}}}| |
− | + | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;vertical-align:top;text-align:left" scope=row {{!}}'''Preceded by''' | |
+ | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;" {{!}}{{{Preceded by}}} | ||
+ | }} | ||
|- | |- | ||
+ | {{#if:{{{Followed by|}}}| | ||
+ | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;vertical-align:top;text-align:left" scope=row {{!}}'''Followed by''' | ||
+ | {{!}} style="background:#8C7154;font-size:90%;border-top:1px solid #555555;" {{!}}{{{Followed by}}} | ||
+ | }} | ||
|} | |} | ||
+ | |||
<noinclude> | <noinclude> | ||
− | == | + | ==Code== |
− | < | + | <nowiki>{{Book |
− | {{Book | + | |Image = |
− | | | + | |Name = |
− | | | + | |Author(s) = |
− | | | + | |Editor(s) = |
− | | | + | |Cover Artist = |
− | | | + | |Illustrator(s)= |
− | | | + | |Released = |
− | | | + | |Pages = |
− | |ISBN | + | |ISBN = |
− | | | + | |Preceded by = |
− | }} | + | |Followed by = |
− | </ | + | }}</nowiki> |
+ | [[Category:Lexicanum:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 21:10, 10 January 2012
Name |
---|
Code
{{Book |Image = |Name = |Author(s) = |Editor(s) = |Cover Artist = |Illustrator(s)= |Released = |Pages = |ISBN = |Preceded by = |Followed by = }}