Difference between revisions of "Template:Extensioninfobox"
Jump to navigation
Jump to search
m (Forgot extra exception for LK versions) |
m (Making the status easier) |
||
| Line 26: | Line 26: | ||
{{#ifeq:{{{modified-main}}}|yes|[[Category:Extensions in modified-main|{{PAGENAME}}]]}} | {{#ifeq:{{{modified-main}}}|yes|[[Category:Extensions in modified-main|{{PAGENAME}}]]}} | ||
{{#ifeq:{{{dev300}}}|yes|[[Category:Extensions in 3.0.0 dev|{{PAGENAME}}]]}} | {{#ifeq:{{{dev300}}}|yes|[[Category:Extensions in 3.0.0 dev|{{PAGENAME}}]]}} | ||
| + | |||
| + | {{#switch: {{{{{lc: {{{status}}} }}|testing|stable}}} | ||
| + | | [[Category:Extensions in Testing Status|{{PAGENAME}}]] | ||
| + | | [[Category:Extensions in Stable Status|{{PAGENAME}}]] | ||
| + | | [[Category:Extensions with Unknown Status|{{PAGENAME}}]]}} | ||
| + | }} | ||
| + | |||
{{#ifeq:{{{auth}}}|Unknown Author|[[Category:Extensions with Unknown Author|{{PAGENAME}}]]}} | {{#ifeq:{{{auth}}}|Unknown Author|[[Category:Extensions with Unknown Author|{{PAGENAME}}]]}} | ||
{{#ifeq:{{{auth}}}|Author(s)|[[Category:Extensions with Unknown Author|{{PAGENAME}}]]}} | {{#ifeq:{{{auth}}}|Author(s)|[[Category:Extensions with Unknown Author|{{PAGENAME}}]]}} | ||
| − | + | ||
| − | |||
{{#ifeq:{{{github}}}|N/A|[[Category:Extensions without Github|{{PAGENAME}}]]}} | {{#ifeq:{{{github}}}|N/A|[[Category:Extensions without Github|{{PAGENAME}}]]}} | ||
{{#ifeq:{{{LKVer}}}|Unspecified|[[Category:Extensions with Unspecified LK version|{{PAGENAME}}]]}} | {{#ifeq:{{{LKVer}}}|Unspecified|[[Category:Extensions with Unspecified LK version|{{PAGENAME}}]]}} | ||
Revision as of 08:27, 5 May 2024
| Description | TBD |
|---|---|
| Author(s) | Unknown Author |
| Status | Unknown Status |
| Github | N/A |
| LK Version | Unspecified |
Provides an at-a-glance summary of an extension.
Usage
{{Extensioninfobox|title=|desc=|auth=|status=|github={{Github|user=|branch=}}|LKVer=|migration=|package=}}
Parameters
| Parameter | Required? | Default | Description |
|---|---|---|---|
| title | semi | Page title | The title for the infobox. Defaults to the page title, which isn't nice looking due to it including the Extensions: prefix. |
| desc | yes | A short description of the extension. | |
| auth | yes | The extension's author(s). | |
| status | yes | The extension's approximate status, such as WIP, testing, stable, that sort of thing. | |
| github | yes | Template:Github | Link to the github branch the extension is located at. This makes use of the Github template; see that page for information. As configured here, it expects your github username and the name of the branch the extension is at. The template will sort out the rest. |
| LKVer | semi | Unspecified | What version of Lorekeeper the extension is built upon. |
| migration | no | Whether or not the extension contains and requires a migration. If so, enter yes for this parameter.
| |
| package | no | Whether or not the extension makes use of a package. If so, enter yes for this parameter.
| |
| modified-main | no | Whether or not the extension is included in the modified-main branch. If so, enter yes for this parameter.
| |
| dev300 | no | Whether or not the extension is included in the 3.0.0 develop branch. If so, enter yes for this parameter.
|
| The above documentation is transcluded from Template:Extensioninfobox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |