模板:模板样式:修订间差异
来自「荏苒之境」
无编辑摘要 |
无编辑摘要 |
||
第3行: | 第3行: | ||
| 标题 = 此模板使用的样式:[[{{trim | {{{1|}}}}}]] | | 标题 = 此模板使用的样式:[[{{trim | {{{1|}}}}}]] | ||
}} | }} | ||
{{#ifexist: | {{#ifexist:{{{1|}}} | ||
| {{{1}}} | | {{#tag:syntaxhighlight|{{safesubst:{{{1}}}}}|lang=css}} | ||
| <p class="error">样式不存在!</p> | | <p class="error">样式不存在!</p> | ||
}} | }} |
2025年8月8日 (五) 07:45的版本
此模板使用的样式:模板:模板样式/style.css
.template-style-view {
margin-bottom: 15px;
}
.template-style-view .mw-highlight {
margin: 0;
}
.template-style-view .mw-highlight pre {
margin: 0;
border: 0px;
}
示例代码:
{{模板样式
| 模板:模板样式/style.css
}}