Wiktenauer logo.png

Difference between revisions of "Template:Double page"

From Wiktenauer
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><table cellpadding="0" cellspacing="0" style="margin-right:auto; margin-left:auto; caption-side:bottom;{{#if: {{{style|}}} | {{{style|}}};}}">
+
<includeonly><table border="0" cellpadding="0" cellspacing="0" style="border-collapse:collapse; margin-right:auto; margin-left:auto; caption-side:bottom;{{#if: {{{style|}}} | {{{style|}}};}}">
 
   <tr style="vertical-align:{{{valign|bottom}}};">
 
   <tr style="vertical-align:{{{valign|bottom}}};">
 
     <td style="width:50%;">[[File:{{{1|}}}|{{{3|x175px}}}|right{{#if:{{{linkl|}}}|{{!}}link={{{linkl|}}}}}]]</td>
 
     <td style="width:50%;">[[File:{{{1|}}}|{{{3|x175px}}}|right{{#if:{{{linkl|}}}|{{!}}link={{{linkl|}}}}}]]</td>
 
     <td style="width:50%;">[[File:{{{2|}}}|{{{4|x175px}}}|left{{#if:{{{linkr|}}}|{{!}}link={{{linkr|}}}}}]]</td>
 
     <td style="width:50%;">[[File:{{{2|}}}|{{{4|x175px}}}|left{{#if:{{{linkr|}}}|{{!}}link={{{linkr|}}}}}]]</td>
 
   </tr>
 
   </tr>
{{#if:{{{caption|}}}|<caption style="font-size:95%; font-weight:normal;">{{{caption|}}}</caption>}}</table></includeonly><noinclude>{{documentation}}</noinclude>
+
  {{#if:{{{caption|}}}|<caption style="font-size:95%; font-weight:normal;">{{{caption|}}}</caption>}}
 +
</table></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 21:55, 7 April 2024

[edit] [history] [purge] Documentation icon Template documentation

This template is used to easily create uniform verso-recto spreads for master pages.

{{double page|left image minus "file:"|righ image minus "file:"|left width|right width}}

{{double page|left image minus "file:"|righ image minus "file:"|left width|right width|style=css for table|valign=vertical alignment if not bottom|linkl=link for left image|linkr=link for right image}}