Difference between revisions of "Template:Ambox"
From TTWiki
Jump to navigationJump to searchLine 2: | Line 2: | ||
Wiki Ambox code adaptation |
Wiki Ambox code adaptation |
||
⚫ | |||
− | --><noinclude>{{Other_languages |
||
− | |en=Template:Ambox |
||
− | |ca=Template:Metacaixa d'avís |
||
− | |cs= |
||
− | |de=Template:Ambox |
||
− | |el= |
||
− | |es=Template:Metaplantilla de avisos |
||
− | |fi= |
||
− | |fr=Template:Fenêtre de message |
||
− | |hr= |
||
− | |hu= |
||
− | |it= |
||
− | |lb= |
||
− | |nl= |
||
− | |no= |
||
− | |pl= |
||
− | |pt=Template:Ambox |
||
− | |ru= |
||
− | |sk= |
||
− | |sl= |
||
− | |sr= |
||
− | |tr= |
||
− | |vi= |
||
− | |zh= |
||
− | |language_page=en |
||
⚫ | |||
| delete =#b22222; |
| delete =#b22222; |
||
| content =#f28500; |
| content =#f28500; |
Revision as of 19:02, 22 March 2015
Usage
Simple usage example:
{{ambox | text = Some text.}}
OR:
{{ambox | type = content | text = Warning - Some text. }}
Available List of parameters
{{ambox | type = delete / content / style / notice / move / protected | image = Picture.Png / Picture.Png|alt=Picture (if the parameter does not present, default type icon will be supplied) | text = Text for a big box, for the top of articles. | style = Different table style. (preferably should not be used) | text-style = same as the above for text.
Article message box types
The following examples use different type parameters but use no image parameters thus they use the default images for each type.
type=delete – Deletion issues, such as Template:S.
type=content – Content issues, such as Template:S.
type=style – Style issues, such as Template:S.
type=notice – Article notices, such as Template:S.
type=move – Merge, split and transwiki proposals, such as Template:S.
type=protected – Protection notices, such as Template:S.
Other images
The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These example use the image parameter to specify an image other than the default images.
{{ambox | type = notice | image = OpenttdManual.png | text = Something Something Something }}
Something Something Something