You are not currently logged in. Are you accessing the unsecure (http) portal? Click here to switch to the secure portal. |
Difference between revisions of "Template:Double page"
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
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}}
The above documentation is transcluded from Template:Double page/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |