Difference between revisions of "Template:Book"

From Conservapedia
Jump to navigation Jump to search
(noinclude must surround the category unless one wants every page this template is on to be in that category)
(attempting to expand, as requested)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{| class="wikitable" style="width: 25em; text-align: left; font-size: 95%;" align="right"
 
{| class="wikitable" style="width: 25em; text-align: left; font-size: 95%;" align="right"
−
|+ <big>'''{{{title}}}'''</big>
+
|+ <big>'''{{{title|{{PAGENAME}}}}}'''</big>
 +
{{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|200px]]|}}
 +
{{!-}}
 +
|-
 +
{{#if:{{{caption|}}}|
 +
{{!}} colspan="2" style="border-bottom: 1px solid #aaa; text-align:center;" {{!}} {{{caption}}}
 +
{{!-}}
 +
}}
 
{{#if:{{{author|}}}|
 
{{#if:{{{author|}}}|
 
{{!}}-
 
{{!}}-
Line 17: Line 24:
 
! Subject:
 
! Subject:
 
{{!}} {{{subject}}}}}
 
{{!}} {{{subject}}}}}
 +
{{#if:{{{date|}}}|
 +
{{!-}}
 +
! Date Published:
 +
{{!}} {{{date}}}}}
 +
{{#if:{{{Publisher|}}}|
 +
{{!-}}
 +
! Publisher:
 +
{{!}} {{{publisher}}}}}
 +
{{#if:{{{pages|}}}|
 +
{{!-}}
 +
! Pages:
 +
{{!}} {{{pages}}}}}
 +
{{#if:{{{ISBN|}}}|
 +
{{!-}}
 +
! ISBN:
 +
{{!}} {{{ISBN}}}}}
 
|}
 
|}
−
<noinclude>[[Category:Navigation box]]</noinclude>
+
<noinclude>[[Category:Navigation box]]
 +
<!--{{documentation}}-->
 +
==Documentation==
 +
<nowiki>
 +
{{Book</nowiki><br /><nowiki>
 +
|image=</nowiki><br /><nowiki>
 +
|caption=</nowiki><br /><nowiki>
 +
|title=</nowiki><br /><nowiki>
 +
|author=</nowiki><br /><nowiki>
 +
|country=</nowiki><br /><nowiki>
 +
|language=</nowiki><br /><nowiki>
 +
|subject=</nowiki><br /><nowiki>
 +
|date=</nowiki><br /><nowiki>
 +
|publisher=</nowiki><br /><nowiki>
 +
|pages=</nowiki><br /><nowiki>
 +
|ISBN=</nowiki><br /><nowiki>
 +
 
 +
}}
 +
</nowiki><br />
 +
Leaving out the "title" field entirely will default to the page name for a title.
 +
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

Latest revision as of 03:12, March 20, 2017

Book

Documentation

{{Book
|image=
|caption=
|title=
|author=
|country=
|language=
|subject=
|date=
|publisher=
|pages=
|ISBN=
}}
Leaving out the "title" field entirely will default to the page name for a title.