模板:Notice:修订间差异
小 已更改“Template:Notice”的保护等级:高風險模板:使用於介面訊息([编辑=仅管理员](无限期)[移动=仅管理员](无限期)) |
小 add |alt={{{imagealt|}}} |
||
| 第1行: | 第1行: | ||
{{Mbox | {{Mbox | ||
| name = Notice | | name = Notice | ||
| style = {{{style|}}} | | demospace = {{{demospace|}}} | ||
| | | style = {{#if:{{{style|}}} |{{#if:{{{small|}}}||width:80%;}} {{{style}}} }} | ||
| subst = <includeonly>{{subst:substcheck}}</includeonly> | | subst = <includeonly>{{subst:substcheck}}</includeonly> | ||
| | | 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 | | 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的版本
| {{{1}}} |
文件:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]