Difference between revisions of "Template: Resource"
From Lyndsey Twining
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | <table class="metadata" style="width:400px; font-size:100%; border:1px solid #cccccc; margin: | + | <table class="metadata" style="width:400px; font-size:100%; border:1px solid #cccccc; margin: 20px 20px 20px 20px;" cellpadding="15" align="right"> |
<tr> | <tr> | ||
<td colspan="2" style="background:#493b5b; color:#ffffff; font-size:130%; text-align:center;"><b>{{{title|}}}</b></td> | <td colspan="2" style="background:#493b5b; color:#ffffff; font-size:130%; text-align:center;"><b>{{{title|}}}</b></td> | ||
Line 10: | Line 10: | ||
<td colspan="2" style="background:#4A7C99; color:#ffffff; text-align:center;"></td> | <td colspan="2" style="background:#4A7C99; color:#ffffff; text-align:center;"></td> | ||
</tr> | </tr> | ||
+ | {{#if:{{{title|}}} | <tr> | ||
+ | <th style="text-align:left;">Title</th> | ||
+ | <td style="text-align:left;">{{{title|}}}</td> | ||
+ | </tr> }} | ||
{{#if:{{{author1|}}} | <tr> | {{#if:{{{author1|}}} | <tr> | ||
− | <th style="text-align: | + | <th style="text-align:left;">Author/Editor</th> |
− | <td style="text-align: | + | <td style="text-align:left;">{{{author1|}}}</td> |
</tr> }} | </tr> }} | ||
{{#if:{{{year|}}} | <tr> | {{#if:{{{year|}}} | <tr> | ||
− | <th style="text-align: | + | <th style="text-align:left;">Year</th> |
− | <td style="text-align: | + | <td style="text-align:left;">{{{year|}}}</td> |
</tr> }} | </tr> }} | ||
{{#if:{{{publisher|}}} | <tr> | {{#if:{{{publisher|}}} | <tr> | ||
− | <th style="text-align: | + | <th style="text-align:left; width:20%;">Publisher</th> |
− | <td style="text-align: | + | <td style="text-align:left; width:40%;">{{{publisher|}}}</td> |
</tr> }} | </tr> }} | ||
{{#if:{{{link|}}} | <tr> | {{#if:{{{link|}}} | <tr> | ||
− | <th style="text-align: | + | <th style="text-align:left; width:20%;">Link</th> |
− | <td style="text-align: | + | <td style="text-align:left; width:40%;">[{{{link|}}} Click Here]</td> |
</tr> }} | </tr> }} | ||
{{#if:{{{journal|}}} | <tr> | {{#if:{{{journal|}}} | <tr> | ||
− | <th style="text-align: | + | <th style="text-align:left; width:20%;">Journal</th> |
− | <td style="text-align: | + | <td style="text-align:left; width:40%;">{{{journal|}}}</td> |
</tr> }} | </tr> }} | ||
{{#if:{{{pages|}}} | <tr> | {{#if:{{{pages|}}} | <tr> | ||
− | <th style="text-align: | + | <th style="text-align:left; width:20%;">Pages</th> |
− | <td style="text-align: | + | <td style="text-align:left; width:40%;">{{{pages|}}}</td> |
</tr> }} | </tr> }} | ||
</table> | </table> |
Latest revision as of 15:03, 15 April 2019
Use
{{Resource | title = | author1 = | author2 = | author3 = | author4 = | year = | publisher = | photo = | link = | journal = | pages = }}
Sample
Digital Curation in the Digital Humanities | |
Title | Digital Curation in the Digital Humanities |
---|---|
Author/Editor | Arjun Sabharwal |
Year | 2015 |
Publisher | Chandos Publishing |