Difference between revisions of "Template:Extension"

368 bytes added ,  10:29, 4 November 2018
the parameter "rights" should begin on its own line, too
>Seb35
(parameter "parameters" should be on its own line so that bullet lists are correctly interpreted)
>Shirayuki
(the parameter "rights" should begin on its own line, too)
Line 165: Line 165:
<tr>
<tr>
<td style="vertical-align: top">{{ll|Template:Extension#namespace|'''<translate><!--T:26--> Namespace</translate>'''}}</td>
<td style="vertical-align: top">{{ll|Template:Extension#namespace|'''<translate><!--T:26--> Namespace</translate>'''}}</td>
<td>
<td><!-- the parameter "namespace" should begin on its own line so that bullet lists are correctly recognised by MediaWiki -->
{{{namespace|}}}</td>
{{{namespace|}}}</td>
</tr>
</tr>
Line 202: Line 202:
<th style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em">{{ll|Template:Extension#rights|'''<translate><!--T:29--> Added rights</translate>'''}}</th>
<th style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em">{{ll|Template:Extension#rights|'''<translate><!--T:29--> Added rights</translate>'''}}</th>
</tr><tr>
</tr><tr>
<td>{{{rights}}}
<td><!-- the parameter "rights" should begin on its own line so that bullet lists are correctly recognised by MediaWiki -->
{{{rights}}}
{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{{rights|}}}|[[Category:Extensions which add rights{{#translation:}}]]|}} }}</td>
{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{{rights|}}}|[[Category:Extensions which add rights{{#translation:}}]]|}} }}</td>
</tr>
</tr>
Line 286: Line 287:
{{#if:{{{compatibility|}}}|
{{#if:{{{compatibility|}}}|
<tr>
<tr>
<td colspan="2">
<td colspan="2"><!-- the parameter "compatibility" should begin on its own line so that bullet lists are correctly recognised by MediaWiki -->
{{{compatibility}}}</td>
{{{compatibility}}}</td>
</tr>
</tr>
Anonymous user