Template:InfoboxProductLine: Difference between revisions
m Again fix focs |
Remove picture until determining if external images are enabled. Remove multiple checks to avoid empty header, add nowrap to website |
||
Line 1: | Line 1: | ||
<div style="background: #eee;border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 0.5em; width: 400px;"> | <div style="background: #eee;border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 0.5em; width: 400px;"> | ||
<div style="font-size: 2em; text-align: center; border-bottom: 1px solid #ccc;">{{{Title|{{PAGENAME}}}}}</div> | <div style="font-size: 2em; text-align: center; border-bottom: 1px solid #ccc;">{{{Title|{{PAGENAME}}}}}</div> | ||
<table style="width:100%;"> | |||
<table style="width:100%;">{{#if:{{{Release Year|}}}{{{Product Type|}}}{{{In Production|}}}{{{Official Website|}}}|<tr> | {{#if:{{{Release Year|}}}{{{Product Type|}}}{{{In Production|}}}{{{Official Website|}}}|<tr> | ||
<th colspan=2 style="text-align: left; border-bottom: 1px solid #ccc; font-size:125%; padding-top: 1.5em;">Basic Information</th> | <th colspan=2 style="text-align: left; border-bottom: 1px solid #ccc; font-size:125%; padding-top: 1.5em;">Basic Information</th> | ||
</tr>}} | </tr>}} | ||
Line 16: | Line 16: | ||
</tr>}}{{#if:{{{Official Website|}}}|<tr> | </tr>}}{{#if:{{{Official Website|}}}|<tr> | ||
<th>{{nowrap|Official Website}}</th> | <th>{{nowrap|Official Website}}</th> | ||
<td>{{{Official Website}}}</td> | <td>{{nowrap|{{{Official Website}}}}}</td> | ||
</tr>}} | </tr>}} | ||
</table> | </table> | ||
Line 26: | Line 26: | ||
<pre><nowiki>{{InfoboxProductLine | <pre><nowiki>{{InfoboxProductLine | ||
| Title = | | Title = | ||
| Release Year = | | Release Year = | ||
| Product Type = | | Product Type = | ||
Line 41: | Line 40: | ||
"type": "string", | "type": "string", | ||
"description": "Name of Product Line" | "description": "Name of Product Line" | ||
}, | }, | ||
"Release Year": { | "Release Year": { |