模板:Notice:修订间差异

来自悠日計画 維基百科 ~ Yuuni Wiki
已更改“Template:Notice”的保护等级:高風險模板:使用於介面訊息([编辑=仅管理员](无限期)[移动=仅管理员](无限期))
 
add |alt={{{imagealt|}}}
第1行: 第1行:
{{Mbox
{{Mbox
| name      = Notice
| name      = Notice
| style      = {{{style|}}}
| demospace  = {{{demospace|}}}
| textstyle  = {{{textstyle|}}}
| style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||width:80%;}} {{{style}}} }}
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
| demospace  = {{{demospace|}}}
| type      = notice
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|40px|Notice]]}}
| image      = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice|alt={{{imagealt|}}}]]}}
| small      = {{{small|}}}
| small      = {{{small|}}}
| smallimage = {{#if:{{{image|}}}|[[File:{{{image}}}|30px|Notice]]}}
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice|alt={{{imagealt|}}}]]}}
| imageright = {{#if:{{{imageright|}}}|{{{imageright|}}}|{{#if:{{{shortcut|{{{shortcut1|}}}}}}|{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}} }} }} }}
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
| text      = {{#if:{{{header|{{{heading|}}}}}}|<div style="text-align: center">'''{{{header|{{{heading}}}}}}'''</div>}}{{{text|{{{1}}}}}}
| textstyle  = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
 
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

2022年1月19日 (三) 02:48的版本