模板:示例模板A:修订间差异
外观
无编辑摘要 |
无编辑摘要 |
||
| 第19行: | 第19行: | ||
<!-- 左侧:Wikitext --> | <!-- 左侧:Wikitext --> | ||
<div class="tech-section" style="flex: 1; min-width: 300px; padding: 20px; margin: 10px; background: #f8f9fa; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.08);"> | <div class="tech-section" style="flex: 1; min-width: 300px; padding: 20px; margin: 10px; background: #f8f9fa; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.08);"> | ||
<h2 style="color: #28a745; border-bottom: 2px solid #28a745; padding-bottom: 10px;">Wikitext | <h2 style="color: #28a745; border-bottom: 2px solid #28a745; padding-bottom: 10px;">Wikitext </h2> | ||
<div style="background: white; padding: 15px; border-radius: 8px; margin: 15px 0;"> | <div style="background: white; padding: 15px; border-radius: 8px; margin: 15px 0;"> | ||
| 第40行: | 第40行: | ||
<!-- 中间:HTML/CSS --> | <!-- 中间:HTML/CSS --> | ||
<div class="tech-section" style="flex: 1; min-width: 300px; padding: 20px; margin: 10px; background: #f8f9fa; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.08);"> | <div class="tech-section" style="flex: 1; min-width: 300px; padding: 20px; margin: 10px; background: #f8f9fa; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.08);"> | ||
<h2 style="color: #dc3545; border-bottom: 2px solid #dc3545; padding-bottom: 10px;">HTML & CSS | <h2 style="color: #dc3545; border-bottom: 2px solid #dc3545; padding-bottom: 10px;">HTML & CSS</h2> | ||
<div style="background: white; padding: 15px; border-radius: 8px; margin: 15px 0;"> | <div style="background: white; padding: 15px; border-radius: 8px; margin: 15px 0;"> | ||
2025年8月21日 (四) 13:57的最新版本
示例模板A - 技术展示
这是一个展示MediaWiki核心技术的演示模板。
使用方法
{{示例模板A}}
{{示例模板A|参数1}}
参数说明
- 参数1
- 任意文本 - 用于演示条件判断和参数使用