Difference between revisions of "Template:Extension"
Jump to navigation
Jump to search
Added missing author paramter, hide optional parameters if not specified.
>HappyDog m (Oopsed up alignment - fixed.) |
>HappyDog (Added missing author paramter, hide optional parameters if not specified.) |
||
Line 4: | Line 4: | ||
|- | |- | ||
!colspan="2" style="background: #0088BB; color: white; padding: 0.5em 0; border-bottom: 1px solid black;"|<span style="font-size:14pt;">{{{name}}}</span> | !colspan="2" style="background: #0088BB; color: white; padding: 0.5em 0; border-bottom: 1px solid black;"|<span style="font-size:14pt;">{{{name}}}</span> | ||
{{#if:{{{image|}}}|<tr><td colspan="2" style="background:white; border-bottom: 1px solid black; padding: 0;">[[Image:{{{image}}}|270px]]</td></tr>}} | {{#if:{{{image|}}}|<tr><td colspan="2" style="background:white; border-bottom: 1px solid black; padding: 0;">[[Image:{{{image}}}|270px]]</td></tr>}}|- valign="top" | ||
|- valign="top" | |'''Description:''' | ||
|''' | |{{{description|}}} | ||
|{{{version|'' | {{#if:{{{author|}}}|<tr valign="top"><td>'''Author:'''</td><td>{{{author}}}</td></tr>}}{{#if:{{{version|}}}|<tr valign="top"><td>'''Version:'''</td><td>{{{version}}}{{#if:{{{update|}}}| ({{{update}}})}}</td></tr>}}{{#if:{{{mediawiki|}}}|<tr valign="top"><td>'''MediaWiki:'''</td><td>{{{mediawiki}}}</td></tr>}} | ||
| | |||
|- valign="top" | |- valign="top" | ||
|'''Download:''' | |'''Download:''' | ||
|{{{download|''no link''}}}{{#if:{{{readme|}}}|<br />{{{readme}}}}} | |{{{download|''no link''}}}{{#if:{{{readme|}}}|<br />{{{readme}}}}} | ||
{{#if:{{{parameters|}}}|<tr valign="top"><td>'''Parameters:'''</td><td>{{{parameters}}}</td></tr>}}{{#if:{{{rights|}}}|<tr valign="top"><td>'''Added rights:'''</td><td>{{{rights}}}</td></tr>}} | {{#if:{{{parameters|}}}|<tr valign="top"><td>'''Parameters:'''</td><td>{{{parameters}}}</td></tr>}}{{#if:{{{rights|}}}|<tr valign="top"><td>'''Added rights:'''</td><td>{{{rights}}}</td></tr>}} | ||
|} | |} |