Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>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:'''
|'''Version:'''
|{{{description|}}}
|{{{version|''unknown''}}}{{#if:{{{update|}}}|&#160;({{{update}}})}}
{{#if:{{{author|}}}|<tr valign="top"><td>'''Author:'''</td><td>{{{author}}}</td></tr>}}{{#if:{{{version|}}}|<tr valign="top"><td>'''Version:'''</td><td>{{{version}}}{{#if:{{{update|}}}|&#160;({{{update}}})}}</td></tr>}}{{#if:{{{mediawiki|}}}|<tr valign="top"><td>'''MediaWiki:'''</td><td>{{{mediawiki}}}</td></tr>}}
|- valign="top"
|'''MediaWiki:'''
|{{{mediawiki|''unknown''}}}
|- valign="top"
|- valign="top"
|'''Download:'''
|'''Download:'''
|{{{download|''no link''}}}{{#if:{{{readme|}}}|<br />{{{readme}}}}}
|{{{download|''no link''}}}{{#if:{{{readme|}}}|<br />{{{readme}}}}}
|- valign="top"
|'''Description:'''
|{{{description|}}}
{{#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>}}
|}
|}

Revision as of 16:31, 27 November 2006

{{{name}}}
Description:
Download: no link
Parameters
name name of the extension
author auhor of the extension
image screenshot (of base 270px)
version last version
update date of the last update
mediawiki required version of MediaWiki
download link to the download : SVN or other
readme link to the readme file : README or other
description short description
parameters available parameters for LocalSettings.php
rights rights added by the extension
{{Extension
|name=
|author=
|image=
|version=
|update=
|mediawiki=
|download=
|readme=
|description=
|parameters=
|rights=
}}