Gamepedia Help Wiki
Gamepedia Help Wiki
(Add horizontal group for the `default`, `ucp` and `gp` parameters)
ExE Boss (talk | contribs)
m (Use Template:Y)
Line 24: Line 24:
 
<label>Default?</label>
 
<label>Default?</label>
 
<default>{{#if: {{yesno| {{{default|}}} }}
 
<default>{{#if: {{yesno| {{{default|}}} }}
| [[File:Green_check.png|x16px|Default extension|link=]]
+
| {{Y|alt=Default extension}}
 
}}</default>
 
}}</default>
 
</data>
 
</data>
Line 30: Line 30:
 
<label>UCP?</label>
 
<label>UCP?</label>
 
<default>{{#if: {{yesno| {{{ucp|}}} }}
 
<default>{{#if: {{yesno| {{{ucp|}}} }}
| [[File:Green_check.png|x16px|Available on UCP|link=]]
+
| {{Y|alt=Available on UCP}}
 
}}</default>
 
}}</default>
 
</data>
 
</data>

Revision as of 19:13, 10 May 2021

This template adds rows to the table "Extensions", which is declared by the template Extensions/CargoDec. View table.

Template-info.png Documentation

{{Extension infobox
| name    = Category Intersection
| version = 1.0.0
| author  = [[w:c:wow:User:foxlit|foxlit]]
| link    = [[mediawikiwiki:Extension:CategoryIntersection|On MediaWiki]]
| req     = [[Extension:Gadgets]]
| desc    = Displays category intersections in the Intersection namespace.
| ucp     = yes
| gp      = yes
}}

{{Extension infobox
| name    = Foo Bar
| version = 1.0.0
| author  = [[User:Example]]
| link    = [[Gamepedia Help Wiki:Placeholder]]
| desc    = Demonstrates true and false values of:
| gp      = no
| ucp     = yes
| default = no
}}

Usage

{{Extension infobox
| name    = 
| version = 
| author  = 
| link    = 
| req     = 
| desc    = 
| default = <0/1>
| ucp     = <0/1>
| gp      = <0/1>
}}

Parameters

name
Name of the extension. Defaults to {{PAGENAME}}.
version
The version of the extension as seen on Special:Version.
author
The author(s) of the extension as seen on Special:Version.
link
The link to the extension on MediaWiki or another external site.
req
The dependencies/requirements of the extension, if any.
desc
The description of the extension as seen on Special:Version.
gp
yes if this is a Gamepedia-maintained extension.
ucp
yes if this is available on UCP.
default
yes if this is a default extension.

TemplateData

No description.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

Name of the extension.

Default
{{PAGENAME}}
Stringsuggested
Versionversion

The version of the extension as seen on "Special:Version".

Stringsuggested
Authorauthor

The author(s) of the extension as seen on "Special:Version".

Contentsuggested
Linklink

The link to the extension on MediaWiki or another external site.

Contentsuggested
Requirementsreq

The dependencies/requirements of the extension, if any.

Contentoptional
Descriptiondesc

The description of the extension as seen on "Special:Version".

Contentsuggested
Default?default

Whether this extension is enabled by default.

Default
¬
Booleansuggested
UCP?ucp

Whether this extension is available on UCP.

Default
¬
Booleansuggested
GP?gp

Whether this is a Gamepedia-maintained extension.

Default
¬
Booleansuggested


The above documentation is transcluded from Template:Extension infobox/doc.[edit | history | purge]