Difference between revisions of "Template: Resource"

From Lyndsey Twining
Jump to: navigation, search
Line 2: Line 2:
 
<table class="metadata" style="width:400px; font-size:100%; border:1px solid #cccccc; margin: 5px 5px 5px 5px;" cellspacing="10" align="right">
 
<table class="metadata" style="width:400px; font-size:100%; border:1px solid #cccccc; margin: 5px 5px 5px 5px;" cellspacing="10" 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>Information</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:left;">{{{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:left;">{{{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:left; width:40%;">{{{publisher|}}}</td>
 
<td style="text-align:left; width:40%;">{{{publisher|}}}</td>
 
</tr> }}
 
</tr> }}

Revision as of 15:51, 9 April 2019



Use

{{Resource
| title = 
| author1 = 
| author2 = 
| author3 = 
| author4 = 
| year = 
| publisher = 
| photo =
| link =
| journal = 
| pages = 
}}


Sample