Welcome to the TTSCpedia (beta)! This wiki is the successor to the FANDOM/Wikia version! You may create an account on the new wiki during the Public Beta stage and begin editing. Please see the to-do list here. Any content from the FANDOM/Wikia wiki will not be transferred automatically, such as pages, and accounts. That must be done manually by the end user, being you. |
Limited Feature Set Many TTSCpedia features are currently semi-broken due to regressions introduced with the MediaWiki upgrade. We hope to be fully operational again soon. The MonoBook skin has temporarily been set as the default skin due to Cali not being fully ported to the new version of MediaWiki. |
Difference between revisions of "Template:Ambox"
m |
FairPlay137 (talk | contribs) m |
||
Line 31: | Line 31: | ||
"label": "Image", | "label": "Image", | ||
"description": "Specifies an image to use instead of the default", | "description": "Specifies an image to use instead of the default", | ||
− | "type": "unknown" | + | "type": "unknown", |
+ | "suggested": true | ||
}, | }, | ||
"sect": { | "sect": { | ||
Line 74: | Line 75: | ||
}, | }, | ||
"smallimageright": { | "smallimageright": { | ||
− | "label": "Image (small + right)" | + | "label": "Image (small + right)", |
+ | "description": "Use this when the \"Small?\" parameter is \"right\"" | ||
}, | }, | ||
"class": { | "class": { | ||
Line 92: | Line 94: | ||
}, | }, | ||
"smalltext": { | "smalltext": { | ||
− | "label": "Text (small)" | + | "label": "Text (small)", |
+ | "description": "Use this when the \"Small?\" parameter is not \"no\"" | ||
}, | }, | ||
"cat2": { | "cat2": { |
Revision as of 01:46, 22 February 2019
This is the {{Ambox}} or Article message box meta-template.
type
The type parameter defines the colour of the left bar, and the image that is used by default. The type is chosen not on aesthetics but is based on the type of issue that the template describes. The seven available types and their default images are shown below.
type=speedy – Speedy deletion issues, such as {{speedy}}. |
type=delete – Deletion issues, such as {{delete}}. |
type=content – Content issues. |
type=style – Style issues, such as {{cleanup}}. |
type=notice – Article notices, such as {{in use}}. |
type=protection – Protection notices, such as {{pp-vandalism}} and {{pp-protected}}. |
If no type parameter is given the template defaults to |type=notice
.
See also
This article may need to be rewritten entirely, as mbox templates. |
Other pages:
- Template:Mbox
- Wikipedia:Wikipedia:Ambox CSS classes – Describes how to use the ambox CSS classes directly in wikitables and HTML tables.
- Wikipedia:Wikipedia:Article message boxes – The style guideline for creating article message boxes.
- Wikipedia:Wikipedia talk:Article message boxes – For discussion about these matters.
The above documentation is transcluded from Template:Ambox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
A message box meant for article pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Template name | name | Specifies the name of the template
| Unknown | optional |
Small? (no/left/right) | small | Specifies whether to use the small format or not
| Unknown | suggested |
Type of issue | type | Specifies the default color and icon of this message box. Possible values are "speedy", "delete", "content", "style", "notice", "move", and "protection".
| Unknown | suggested |
Image | image | Specifies an image to use instead of the default | Unknown | suggested |
Image (small) | smallimage | Use this when the "Small?" parameter is "left" | Unknown | optional |
Image (right) | imageright | no description | Unknown | optional |
Image (small + right) | smallimageright | Use this when the "Small?" parameter is "right" | Unknown | optional |
Text | text | Specifies custom text to use instead of the "Issue" and "Fix" parameters. | Unknown | suggested |
Text (small) | smalltext | Use this when the "Small?" parameter is not "no" | Unknown | optional |
Custom CSS classes | class | no description | Unknown | optional |
CSS custom style | style | no description | Unknown | optional |
CSS custom text style | textstyle | no description | Unknown | optional |
Plain links? (yes/no) | plainlinks | By default, in message boxes, external links have their arrow icon disabled by default. If this is set to "no", arrows will appear next to external links. | Unknown | optional |
"This section..." | sect | no description | Unknown | optional |
Issue | issue | This parameter is used to describe the issue with the article. | Unknown | optional |
Fix | fix | Specifies some text which describes what should be done to improve the article. | Unknown | optional |
Talk page link | talk | no description | Unknown | optional |
Date | date | no description | Unknown | optional |
Misc. Info | info | no description | Unknown | optional |
Removal notice? (yes/no) | removalnotice | If "yes", a notice will be displayed after the date and the info text | Unknown | optional |
Monthly cleanup category 1 | cat | Defines a monthly cleanup category. | Unknown | optional |
Monthly cleanup category 2 | cat2 | no description | Unknown | optional |
Monthly cleanup category 3 | cat3 | no description | Unknown | optional |
Category for All 1 | all | Defines a category into which all articles should be placed. | Unknown | optional |
Category for All 2 | all2 | no description | Unknown | optional |
Category for All 3 | all3 | no description | Unknown | optional |
Subst | subst | Allows the meta-template to detect whether the template has been incorrectly substituted, and give an appropriate warning.
| Unknown | optional |