Template:Ambox
From Hack/Mine Wiki
(Difference between revisions)
(5U6SIf I truly appreciate this post.Much thanks again. Will read on...) |
m (Reverted edits by 37.233.27.142 (talk) to last revision by Frizzil) |
||
| (3 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{#ifeq:{{{subst}}}|SUBST | |
| + | |{{#if:{{{name|}}} | ||
| + | |{{Error|Template {{tlx|{{{name}}}}} has been incorrectly substituted.}} | ||
| + | }}[[Category:Pages with incorrectly substituted templates]] | ||
| + | }}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}} | ||
| + | |type = {{{type|}}} | ||
| + | |image = {{{image|}}} | ||
| + | |smallimage = {{#if:{{{smallimage|}}}|{{{smallimage}}}|{{{image|}}}}} | ||
| + | |imageright = {{{imageright|}}} | ||
| + | |smallimageright = {{#if:{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}} | ||
| + | |class = ambox-{{#switch:{{{type|}}} | ||
| + | |speedy = speedy | ||
| + | |delete = delete | ||
| + | |warning = warning | ||
| + | |content = content | ||
| + | |style = style | ||
| + | |move = move | ||
| + | |protection = protection | ||
| + | |notice|#default = notice | ||
| + | }} {{{class|}}} | ||
| + | |style = {{{style|}}} | ||
| + | |textstyle = {{{textstyle|}}} | ||
| + | |smalltext = {{{smalltext|}}} | ||
| + | |talk = {{#switch:{{{talk|¬}}} | ||
| + | |¬ = <!-- No talk link used --> | ||
| + | | = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|#}} | ||
| + | |#default = {{{talk}}} | ||
| + | }} | ||
| + | |issue = {{#switch:{{{sect|¬}}} | ||
| + | |¬ = <!-- No section parameter used --> | ||
| + | | = This article | ||
| + | |This {{{sect}}} | ||
| + | }} {{{issue<includeonly>|</includeonly>}}} {{{text|}}} | ||
| + | |fix = {{{fix<includeonly>|</includeonly>}}} | ||
| + | |date = {{#switch:{{{date|¬}}} | ||
| + | |¬ = <!-- No date used --> | ||
| + | | = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
| + | |#default = {{{date}}} | ||
| + | }} | ||
| + | |info = {{{info|}}} | ||
| + | }}{{Category handler | ||
| + | |nocat={{{nocat|<noinclude>true</noinclude>}}} | ||
| + | |main={{Ambox/category | ||
| + | |cat={{{cat|{{{category|}}}}}} | ||
| + | |all={{{all|}}} | ||
| + | |date={{{date|}}} | ||
| + | }}{{Ambox/category | ||
| + | |cat={{{cat2|{{{category2|}}}}}} | ||
| + | |all={{{all2|}}} | ||
| + | |date={{{date|}}} | ||
| + | }}{{Ambox/category | ||
| + | |cat={{{cat3|{{{category3|}}}}}} | ||
| + | |all={{{all3|}}} | ||
| + | |date={{{date|}}} | ||
| + | }} | ||
| + | |template={{#switch:Template:{{{name|}}} | ||
| + | |{{FULLPAGENAME}} = [[Category:Article message templates]]{{#ifexpr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}} | ||
| + | |[[Category:Article message templates with missing parameters|{{#expr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}}}}]] | ||
| + | }}{{#if:{{{category|}}}{{{category2|}}}{{{category3|}}} | ||
| + | |[[Category:Article message templates with missing parameters|C]] | ||
| + | }} | ||
| + | |Template: = {{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|[[Category:Article message templates with missing parameters]]}} | ||
| + | }} | ||
| + | }}<noinclude> | ||
| + | {{Documentation}} | ||
| + | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
| + | </noinclude> | ||
Latest revision as of 17:22, 4 September 2014
| {{{issue}}} |
This is the {{Ambox}} or Article message box meta-template.
[edit] Type preview
| type=speedy |
| type=delete |
| type=warning |
| type=style. |
| type=notice |
| type=move |
| type=protection |
[edit] See also
| 50px Message box templates | {{ambox}} • {{asbox}} • {{cmbox}} • {{dmbox}} • {{fmbox}} • {{imbox}} • {{ombox}} • {{tmbox}} |
|---|
Other pages:
- w:Template:Mbox
- w:Wikipedia:Ambox CSS classes – Describes how to use the ambox CSS classes directly in wikitables and HTML tables.
- w:Wikipedia:Article message boxes – The style guideline for creating article message boxes.
- w:Wikipedia talk:Article message boxes – For discussion about these matters.
| GYxhE8 Really enjoyed this blog.Thanks Again. Awesome. | English |
|---|
| 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 and interwikis to the /doc subpage. Subpages of this template. |