Template:Stub-template
[[Category:{category}| ]]
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 |