Difference between revisions of "Template:BookIntro"

From Lemopedia
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 39: Line 39:
 
<table class="bookintro">
 
<table class="bookintro">
 
<tr><td>
 
<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><td>{{#if:{{{preceded_by|}}}|'''preceded by:''' [[:Category:{{{preceded_by}}}|''{{{preceded_by}}}'']]|}}</td><td>{{#if:{{{followed_by|}}}|'''followed by:''' [[:Category:{{{followed_by}}}|''{{{followed_by}}}'']]|}}</td><td style="border-right:0px;">[[{{PAGENAME}}|more >>]]
+
{{#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>|}}
</td></tr></table>
+
{{#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 13: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