Difference between revisions of "Template:Extension"
Add 'help' row and parameter.
>Shirayuki m (wrong markup :() |
>Samwilson (Add 'help' row and parameter.) |
||
Line 236: | Line 236: | ||
-->{{#if:{{{readme|}}}|<br />{{{readme}}}<!-- -->}}<!-- | -->{{#if:{{{readme|}}}|<br />{{{readme}}}<!-- -->}}<!-- | ||
-->{{#if:{{{changelog|}}}|<br />{{{changelog}}}<!-- -->}}</td> | -->{{#if:{{{changelog|}}}|<br />{{{changelog}}}<!-- -->}}</td> | ||
</tr> | |||
<tr> | |||
<td>'''{{ll|Template:Extension#help|2=Help}}'''</td> | |||
<td>{{#if: {{{help|}}} | {{{help}}} | {{#ifexist: Help:{{FULLPAGENAME}} | [[Help:{{FULLPAGENAME}}]] | [[Help:{{FULLPAGENAME}}|Create]] }} }}</td> | |||
</tr> | </tr> | ||
{{#if:{{{example|}}}| | {{#if:{{{example|}}}| | ||
Line 433: | Line 437: | ||
|readme = | |readme = | ||
|changelog = | |changelog = | ||
|help = | |||
|example = | |example = | ||
|namespace = | |namespace = | ||
Line 472: | Line 477: | ||
|readme = {{{readme}}} | |readme = {{{readme}}} | ||
|changelog = {{{changelog}}} | |changelog = {{{changelog}}} | ||
|help = {{{help}}} | |||
|example = {{{example}}} | |example = {{{example}}} | ||
|namespace = {{{namespace}}} | |namespace = {{{namespace}}} | ||
Line 682: | Line 688: | ||
<tr> | <tr> | ||
<td>{{visible anchor|namespace}}</td><td><translate><!--T:199--> [[<tvar name=1>Special:MyLanguage/Manual:Namespace</tvar>|namespace]] in which this extension is used</translate></td> | <td>{{visible anchor|namespace}}</td><td><translate><!--T:199--> [[<tvar name=1>Special:MyLanguage/Manual:Namespace</tvar>|namespace]] in which this extension is used</translate></td> | ||
</tr> | |||
<tr> | |||
<td>{{visible anchor|help}}</td><td><translate> Link to user-help for the extension. If not provided, will look for <code>Help:Extension:''ExtensionName''</code>. If provided, full wikitext link should be given (because you may want to link to e.g. an external page).</translate></td> | |||
</tr> | </tr> | ||
<tr> | <tr> |