Difference between revisions of "Template:BookIntro"

From Lemopedia
Jump to navigation Jump to search
 
(20 intermediate revisions by the same user not shown)
Line 36: Line 36:
  
 
</noinclude>
 
</noinclude>
 
+
<includeonly><div style="text-align:center;padding:0px 0px 13px 13px;">
<includeonly>
+
<table class="bookintro">
<div style="text-align:center;padding:13px;">
+
<tr><td>
 
+
{{#if:{{{original_title|}}}|'''original title:''' [[:Category:{{{original_title}}}|''{{{original_title}}}'']]|}}</td><td>{{#if:{{{first_edition_Page|}}}|[[{{{first_edition_Page}}}|first edition]]:|first edition:}} {{#if:{{{first_edition_Year|}}}|[[:Category:{{{first_edition_Year|}}}|{{{first_edition_Year}}}]]|}}</td>{{#if:{{{preceded_by|}}}|<td>'''preceded by:''' [[:Category:{{{preceded_by}}}|''{{{preceded_by}}}'']]</td>|}}
{{#if:{{{original_title|}}}|'''original title:''' [[:Category:{{{original_title}}}]]|}} | {{#if:{{{first_edition_Page|}}}|[[{{{first_edition_Page}}}|first edition]]:|first edition:}} {{#if:{{{first_edition_Year|}}}|[[:Category:{{{first_edition_Year|}}}|{{{first_edition_Year}}}]]|}} | {{#if:{{{preceded_by|}}}|'''preceded by:''' [[:Category:{{{preceded_by}}}|{{{preceded_by}}}]]|}} | {{#if:{{{followed_by|}}}|'''followed by:''' [[:Category:{{{followed_by}}}|{{{followed_by}}}]]|}} | [[{{PAGENAME}}|more >>]]
+
{{#ifexist:{{PAGENAME}}|{{#if:{{{followed_by|}}}|<td>'''followed by:''' [[:Category:{{{followed_by}}}|''{{{followed_by}}}'']]</td>|}}|
 +
{{#if:{{{followed_by|}}}|<td style="border-right:0px;">'''followed by:''' [[:Category:{{{followed_by}}}|''{{{followed_by}}}'']]</td>|}}}}
 +
{{#ifexist:{{PAGENAME}}|<td style="border-right:0px;">[[{{PAGENAME}}|more >>]]</td>|}}
 +
</tr></table>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Latest revision as of 14:58, 31 October 2011

paste the following template:

{{BookIntro
|original_title=
|first_edition_Year=
|first_edition_Page=
|preceded_by=
|followed_by=
}}

Parametres

Any parameters left blank or omitted will not be displayed.

Parameter Explanation
original_title Original (mostly Polish) title of the work.
first_edition_Year the year of first edition
first_edition_Page the record of first edition in Lemopedia
preceded_by utwór opublikowany bezpośrednio przed omawianą książką
followed_by utwór opublikowany bezpośrednio po omawianej książkce