|
|
| (2 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| {{#ifeq:{{{subst}}}|SUBST
| | <table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}} |
| |{{#if:{{{name|}}}
| | | serious = ambox-serious |
| |{{Error|Template {{tlx|{{{name}}}}} has been incorrectly substituted.}}
| | | content = ambox-content |
| }}[[Category:Pages with incorrectly substituted templates]]
| | | style = ambox-style |
| }}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}
| | | merge = ambox-merge |
| |type = {{{type|}}}
| | | notice = ambox-notice |
| |image = {{{image|}}}
| | | #default = ambox-notice |
| |smallimage = {{#if:{{{smallimage|}}}|{{{smallimage}}}|{{{image|}}}}}
| | }}"> |
| |imageright = {{{imageright|}}}
| | <tr> |
| |smallimageright = {{#if:{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}}
| | <td class="ambox-image"> |
| |class = ambox-{{#switch:{{{type|}}}
| | {{#ifeq:{{{image}}}|none |
| |speedy = speedy | | | <!-- no image cell; empty cell necessary for text cell to have 100% width --> |
| |delete = delete
| | | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}} |
| |content = content | | | serious = [[Image:Stop.png|40px]] |
| |style = style | | | content = [[Image:Important.png|40px]] |
| |move = move | | | style = [[Image:Broom.png|40px]] |
| |protection = protection | | | merge = [[Image:Merge-split.png|40px]] |
| |notice|#default = notice | | | notice = [[Image:Info.png|40px]] |
| }} {{{class|}}}
| | | blank = [[Image:No image.png]] |
| |style = {{{style|}}}
| | | #default = {{{image|[[Image:Info.png|40px]]}}} |
| |textstyle = {{{textstyle|}}}
| | }}</div> |
| |smalltext = {{{smalltext|}}}
| | }}</td> |
| |talk = {{#switch:{{{talk|¬}}}
| | <td class="ambox-text">{{{text}}}</td> |
| |¬ = <!-- No talk link used -->
| | <td class="ambox-image">{{#if:{{{imageright|}}}|<div style="width:52px;">{{{imageright}}}</div>}}</td> |
| | = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|#}}
| | </tr> |
| |#default = {{{talk}}} | | </table><noinclude> |
| }}
| | {{template doc}} |
| |issue = {{#switch:{{{sect|¬}}}
| | <!-- Add categories and inter-wikis to the /doc subpage, not here! --> |
| |¬ = <!-- 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> | | </noinclude> |