「模板:Template shortcut」:修訂間差異
建立內容為「<div role="note" class="shortcutbox shortcutbox-left plainlist plainlinks noprint" style="<!-- -->{{#switch:{{{clear|}}} |true=clear:{{{float|right}}}; |left|right|both=clear:{{{clear|}}}; |#default=}}<!-- -->float: {{#ifeq:{{{float|}}}|left|left|right}};<!-- -->margin: {{{top|0em}}} {{#ifeq:{{{float|}}}|left|1em 0em 0em|0em 0em 1em}};<!-- -->border: 1px solid var(--border-color-base,#aaa); background: var(--background-color-base,#fff); padding: 0.3em 0.6em…」的新頁面 |
小 文字取代 - "WP:" 取代為 "MP:" |
||
| 第6行: | 第6行: | ||
Adding the shortcut links: | Adding the shortcut links: | ||
--><div style="display: inline-block; border-bottom: 1px solid #aaa; line-height: 1.5em; font-weight: normal; margin-bottom: .2em;">{{#if:{{{redirect|}}} |重定向 |[[ | --><div style="display: inline-block; border-bottom: 1px solid #aaa; line-height: 1.5em; font-weight: normal; margin-bottom: .2em;">{{#if:{{{redirect|}}} |重定向 |[[MP:捷徑|捷徑]]}}</div> {{bulleted list | ||
| {{#if: {{{1|<noinclude>{{PAGENAME}}</noinclude>}}} | {{{{{pre|}}}{{#ifexist:Template:{{{1}}} |[{{fullurl:Template:{{{1}}}|redirect=no}} {{#if:true|{{{1}}}}}] |[[Template:{{{1|<noinclude>{{PAGENAME}}</noinclude>}}}|{{#if:true|{{{1|<noinclude>{{PAGENAME}}</noinclude>}}}}}]]}}}} }}<!-- | | {{#if: {{{1|<noinclude>{{PAGENAME}}</noinclude>}}} | {{{{{pre|}}}{{#ifexist:Template:{{{1}}} |[{{fullurl:Template:{{{1}}}|redirect=no}} {{#if:true|{{{1}}}}}] |[[Template:{{{1|<noinclude>{{PAGENAME}}</noinclude>}}}|{{#if:true|{{{1|<noinclude>{{PAGENAME}}</noinclude>}}}}}]]}}}} }}<!-- | ||