Template:Stub-template
[[Category:{{{category}}}| ]]
This template is used on 170,000+ pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template is currently protected from editing. See the protection policy and protection log for more details. Please discuss any changes on the talk page; you may submit an edit request to ask an administrator to make an edit if it is uncontroversial or supported by consensus. You may also request that this page be unprotected. |
This template was created to support the creation and easy maintenance of stubs in the Simple Stub Project.
Usage
{{stub-template | image = <!--required--> | image_size = | image_alt = | category = <!--required--> | subject = <!--required--> | prefix = | suffix = }}
Examples
{{stub-template | category = American actor stubs | image = Us-actor.svg | subject = American actors }}
{{stub-template | category = American actor stubs | image = Us-actor.svg | subject = American actor | prefix = an }}
{{stub-template | category = American actor stubs | image = Us-actor.svg | subject = actor | prefix = an | suffix = from the United States }}
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Stub-template in articles based on its TemplateData.
TemplateData for Stub-template
This is the meta template for other stub templates and should not be used directly.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | The image to use (without the "File:" prefix) | File | required |
Image size | image_size | The size for the image used
| String | optional |
Image caption | image_alt | The caption for the image when someone hovers over it | String | optional |
Prefix | prefix | The text to display before the "subject" parameter | String | optional |
Category | category | The category that the stub template puts them in without the "Category:" prefix | Page name | required |
Subject | subject | The subject for the category of stubs | Page name | required |
Suffix | suffix | The text to display after the "subject" parameter | Page name | optional |