Template:Stub-template

[[Category:{{{category}}}| ]]
50px Template documentation[view] [edit] [history] [purge]

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 documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Stub-template

<templatedata> { "params": { "image": { "label": "Image", "description": "The image to use (without the \"File:\" prefix)", "type": "wiki-file-name", "required": true }, "image_size": { "label": "Image size", "description": "The size for the image used", "type": "string", "default": "30px" }, "image_alt": { "label": "Image caption", "description": "The caption for the image when someone hovers over it", "type": "string" }, "prefix": { "label": "Prefix", "description": "The text to display before the \"subject\" parameter", "type": "string" }, "category": { "label": "Category", "description": "The category that the stub template puts them in without the \"Category:\" prefix", "type": "wiki-page-name", "required": true }, "subject": { "label": "Subject", "description": "The subject for the category of stubs", "type": "wiki-page-name", "required": true }, "suffix": { "label": "Suffix", "description": "The text to display after the \"subject\" parameter", "type": "wiki-page-name" } }, "description": "This is the meta template for other stub templates and should not be used directly." } </templatedata>