|
|
(2 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | {{#ifeq:{{{subst}}}|SUBST
| + | <div style="width: 80%; margin: 0 auto; padding: 7px; border-collapse: collapse; background: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #1e90ff; {{#switch:{{{type|}}} |
− | |{{#if:{{{name|}}}
| + | | #default = border-left: 10px solid #80B4DD; |
− | |{{Error|Template {{tlx|{{{name}}}}} has been incorrectly substituted.}}
| + | }}" class="plainlinks"> |
− | }}[[Category:Pages with incorrectly substituted templates]]
| + | {{#ifeq:{{{image}}}|none |
− | }}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}
| + | | <!-- no image cell; empty cell necessary for text cell to have 100% width --> |
− | |type = {{{type|}}}
| + | | <div style="float: left; margin: 7px; margin-right: 10px;"> {{#switch:{{{image|{{{type|}}}}}} |
− | |image = {{{image|}}}
| + | | #default = {{{image|[[Image:Ambox_default.png|40px]]}}} |
− | |smallimage = {{#if:{{{smallimage|}}}|{{{smallimage}}}|{{{image|}}}}}
| + | }}</div> |
− | |imageright = {{{imageright|}}}
| + | }} |
− | |smallimageright = {{#if:{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}}
| + | <p style="font-weight: bold;">{{{title}}}</p> |
− | |class = ambox-{{#switch:{{{type|}}}
| + | <p>{{{text}}}</p> |
− | |speedy = speedy | + | </div> |
− | |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> | |