Template:PDFBOX: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<div class="resourcebox vcard"
<div class="infobox mw-parser-output vcard" style="width: 22em; max-width:100%; border: 1px solid #aaa; margin: 10px; float: right; background: #f9f9f9;">
style="width:22em; max-width:100%; border:1px solid #aaa;
    <table style="width: 100%; border: none;">
margin:10px; float:right; background:#f9f9f9;">
        <!-- Name and Image -->
 
        <tr>
<table style="width:100%; border:none; border-collapse:collapse;">
            <th colspan="2" style="background: #e9e9e9; text-align: center; font-size: 16px; padding: 5px;">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}}}}</th>
 
        </tr>
<!-- TITLE -->
        <tr>
<tr>
            <td colspan="2" style="text-align: center;">
<th colspan="2" style="background:#e9e9e9; text-align:center;
                {{#if: {{{image|}}}
font-size:16px; padding:5px;height: 5px">
                    | [[File:{{{image}}}|200px|center]]}}
{{{title|{{PAGENAME}}}}}
            </td>
</th>
        </tr>
</tr>
        {{#if: {{{caption|}}}
 
            | <tr>
<!-- COVER -->
                <td colspan="2" style="align: center; text-align: center; font-style: italic;">{{{caption}}}</td>
{{#if:{{{cover|}}}|
            </tr>
<tr>
        }}
<td colspan="2" style="text-align:center; padding:10px;">
        <tr>
[[File:{{{cover}}}|200px|center]]
            <th colspan="2" style="background: #e9e9e9; text-align: center; font-size: 14px; padding: 5px;">Resource</th>
</td>
        </tr>
</tr>
}}
 
<!-- CAPTION -->
{{#if:{{{caption|}}}|
<tr>
<td colspan="2" style="text-align:center; font-style:italic;
font-size:12px; padding:6px;">
{{{caption}}}
</td>
</tr>
}}
 
<!-- BUTTONS (TEXT ONLY) -->
<!-- BUTTONS (TEXT ONLY) -->
<tr>
<tr>
<td colspan="2" style="text-align:center; padding:12px;">
<td colspan="2" style="text-align:center; padding:2px;">
 
'''[https://wiki.mktimothy.com/images/1/11/{{{file}}} Read]''' or
'''[https://wiki.mktimothy.com/images/1/11/{{{file}}} Read]''' or
'''[https://wiki.mktimothy.com/images/1/11/{{{file}}} Download]
'''[https://wiki.mktimothy.com/images/1/11/{{{file}}} Download]
'''</td>
'''</td>
</tr>
</tr>
 
        </table>
</table>
</div>
</div>