Difference between revisions of "Template: Resource"

From Lyndsey Twining
Jump to: navigation, search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<table class="Info" style="width:400px; font-size:100%; border:1px solid #cccccc; margin: 15px 15px 15px 15px;" cellspacing="20" align="right">
+
<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:#4A7C99; color:#ffffff; 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>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
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:center;">Author/Editor</th>
+
<th style="text-align:left;">Author/Editor</th>
<td style="text-align:center;">{{{author1|}}}</td>
+
<td style="text-align:left;">{{{author1|}}}</td>
 
</tr> }}
 
</tr> }}
 
{{#if:{{{year|}}} | <tr>
 
{{#if:{{{year|}}} | <tr>
<th style="text-align:center;">Year</th>
+
<th style="text-align:left;">Year</th>
<td style="text-align:center;">{{{year|}}}</td>
+
<td style="text-align:left;">{{{year|}}}</td>
 
</tr> }}
 
</tr> }}
 
{{#if:{{{publisher|}}} | <tr>
 
{{#if:{{{publisher|}}} | <tr>
<th style="text-align:center; width:20%;">Publisher</th>
+
<th style="text-align:left; width:20%;">Publisher</th>
<td style="text-align:center; width:40%;">{{{publisher|}}}</td>
+
<td style="text-align:left; width:40%;">{{{publisher|}}}</td>
 
</tr> }}
 
</tr> }}
 
{{#if:{{{link|}}} | <tr>
 
{{#if:{{{link|}}} | <tr>
<th style="text-align:center; width:20%;">Link</th>
+
<th style="text-align:left; width:20%;">Link</th>
<td style="text-align:center; width:40%;">[{{{link|}}} Click Here]</td>
+
<td style="text-align:left; width:40%;">[{{{link|}}} Click Here]</td>
 
</tr> }}
 
</tr> }}
 
{{#if:{{{journal|}}} | <tr>
 
{{#if:{{{journal|}}} | <tr>
<th style="text-align:center; width:20%;">Journal</th>
+
<th style="text-align:left; width:20%;">Journal</th>
<td style="text-align:center; width:40%;">{{{journal|}}}</td>
+
<td style="text-align:left; width:40%;">{{{journal|}}}</td>
 
</tr> }}
 
</tr> }}
 
{{#if:{{{pages|}}} | <tr>
 
{{#if:{{{pages|}}} | <tr>
<th style="text-align:center; width:20%;">Pages</th>
+
<th style="text-align:left; width:20%;">Pages</th>
<td style="text-align:center; width:40%;">{{{pages|}}}</td>
+
<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