Difference between revisions of "Template:Extensioninfobox"

From Lorekeeper Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
Tag: 2017 source edit
Line 11: Line 11:
 
  | label5 = Github
 
  | label5 = Github
 
  |  data5 = {{{github}}}
 
  |  data5 = {{{github}}}
  |header5 = Contains a Migration
+
  | header5 = {{#if: {{{migration|yes}}} | Contains a Migration }}
  |header6 = Uses a Package
+
  | header6 = {{#if: {{{package|yes}}} | Uses a Package }}
 
}}
 
}}
 
<includeonly>
 
<includeonly>
{{#ifeq:{{{Migration}}}|yes|[[Category:Extensions with migrations|{{PAGENAME}}]]}}  
+
{{#ifeq:{{{migration}}}|yes|[[Category:Extensions with migrations|{{PAGENAME}}]]}}  
{{#ifeq:{{{Package}}}|yes|[[Category:Extensions that use packages|{{PAGENAME}}]]}}  
+
{{#ifeq:{{{package}}}|yes|[[Category:Extensions that use packages|{{PAGENAME}}]]}}  
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>

Revision as of 13:19, 10 June 2020

Extensioninfobox
Description {{{desc}}}
Author(s) {{{auth}}}
Status {{{status}}}
Contains a Migration
Uses a Package


50px Template documentation[view] [edit] [history] [purge]

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.