Template:PDFBOX: Difference between revisions
No edit summary |
No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class=" | <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 | <th colspan="2" style="background: #e9e9e9; text-align: center; font-size: 16px; padding: 5px;">{{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}}}}</th> | ||
</tr> | |||
<!-- | <tr> | ||
<tr> | <td colspan="2" style="text-align: center;"> | ||
<th colspan="2" style="background:#e9e9e9; text-align:center; | {{#if: {{{cover|}}} | ||
font-size:16px; padding: | | [[File:{{{cover}}}|200px|center]]}} | ||
{{{title|{{PAGENAME}}}} | </td> | ||
</th> | </tr> | ||
</tr> | {{#if: {{{caption|}}} | ||
| <tr> | |||
< | <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; | {{#if: {{{youtube|}}} | ||
| <tr> | |||
</td> | <th colspan="2" style="background:#e9e9e9; text-align:center; font-size:14px; padding:5px;"> | ||
</tr> | Video | ||
}} | </th> | ||
</tr> | |||
<tr> | |||
{{#if:{{{ | <td colspan="2" style="text-align:center; padding:8px;"> | ||
<tr> | <youtube width="300">{{{youtube}}}</youtube> | ||
< | </td> | ||
</tr> | |||
{{{ | |||
</td> | |||
</tr> | |||
}} | }} | ||
<tr> | |||
<!-- BUTTONS --> | <th colspan="2" style="background: #e9e9e9; text-align: center; font-size: 14px; padding: 5px;">Resource</th> | ||
</tr> | |||
<!-- BUTTONS (TEXT ONLY) --> | |||
<tr> | <tr> | ||
<td colspan="2" style="text-align:center; padding: | <td colspan="2" style="text-align:center; padding:1px;"> | ||
'''[{{{file}}} Read]''' or | |||
'''[{{{file}}} Download] | |||
'''</td> | |||
</td> | |||
</tr> | </tr> | ||
</table> | |||
</table> | |||
</div> | </div> | ||