Lil174留言 | 贡献
无编辑摘要
Lil174留言 | 贡献
无编辑摘要
 
(未显示同一用户的224个中间版本)
第1行: 第1行:
<noinclude><span class="d2-red">注意:</span> 在原版的符文之语里面只有<迪勒瑞姆>官方进行过两次翻译有新旧名所以会采用 <span class="d2-gray">灰色</span> 进行标注</noinclude>
Create a horizontal layout with flexible boxes:
<div style="display: flex; gap: 10px; margin: 10px 0;">
  <div style="flex: 1; padding: 10px; background: #f0f0f0; border-radius: 5px;">Box 1</div>
  <div style="flex: 1; padding: 10px; background: #f0f0f0; border-radius: 5px;">Box 2</div>
</div>


<noinclude>
Items wrap on smaller screens and have a minimum width:
__TOC__
<div style="display: flex; flex-wrap: wrap; gap: 15px; justify-content: center;">
</noinclude>
  <div style="flex: 1 1 250px; padding: 15px; background: #e3f2fd;">Item 1</div>
  <div style="flex: 1 1 250px; padding: 15px; background: #e3f2fd;">Item 2</div>
  <div style="flex: 1 1 250px; padding: 15px; background: #e3f2fd;">Item 3</div>
</div>


== 原版符文之语 ==
Use flex-direction: column for vertical alignment:
<div style="display: flex; flex-direction: column; gap: 8px; max-width: 300px;">
  <div style="padding: 8px; background: #ffebee;">Row 1</div>
  <div style="padding: 8px; background: #ffebee;">Row 2</div>
</div>


{| class="wikitable" style="text-align: left;
Center-align items vertically and horizontally:
! 文件名 !! 行数 !! 键值 !! 英文名 !! <span class="d2-white">原版繁 !! <span class="d2-red">修正简 !! D2R繁 !! <span class="d2-teal">D2R简 !! <span class="d2-yellow">菠萝简 !! <span class="d2-blue">其他翻译 !! 公式 || 链接
<div style="display: flex; justify-content: center; align-items: center; height: 200px; border: 1px dashed #ccc;">
|-
  <div>Centered Content</div>
| expansionstring || 508 || Runeword1 || Ancients' Pledge || <span class="d2-white">古代人的契約 || <span class="d2-red">古代人的契约 || 先祖之契 || <span class="d2-teal">先祖之誓 || <span class="d2-yellow">古代人的誓言 || <span class="d2-blue">古代人的契约 || Ral(8) • Ort(9) • Tal(7) || [[Ancient's Pledge|查属性]]
</div>
|-
| expansionstring || 511 || Runeword4 || Beast || <span class="d2-white">野獸 || <span class="d2-red">野兽 || 野獸 || <span class="d2-teal">野兽 || <span class="d2-yellow">野兽 || <span class="d2-blue">野兽 || Ber(30) • Tir(3) • Um(22) • Mal(23) • Lum(17) || [[Beast|查属性]]
|-
| expansionstring || 513 || Runeword6 || Black || <span class="d2-white">黑色 || <span class="d2-red">黑色 || 黑錘 || <span class="d2-teal">黑色 || <span class="d2-yellow">黑色 || <span class="d2-blue">黑色 || Thul(10) • Io(16) • Nef(4) || [[Black|查属性]]
|-
| expansionstring || 515 || Runeword8 || Bone || <span class="d2-white">白骨 || <span class="d2-red">白骨 || 骸骨 || <span class="d2-teal">白骨 || <span class="d2-yellow">白骨 || <span class="d2-blue">白骨 || Sol(12) • Um(22) • Um(22) || [[Bone|查属性]]
|-
| expansionstring || 516 || Runeword9 || Bramble || <span class="d2-white">野薔薇 || <span class="d2-red">野蔷薇 || 刺藤 || <span class="d2-teal">荆棘 || <span class="d2-yellow">荆棘 || <span class="d2-blue">野蔷薇 || Ral(8) • Ohm(27) • Sur(29) • Eth(5) || [[Bramble|查属性]]
|}


== PD2 & D2R 符文之语 ==
Create a reusable template (e.g., Template:FlexContainer):
<includeonly>
<div style="display: flex; gap: {{{gap|10px}}}; flex-wrap: {{{wrap|nowrap}}}; margin: {{{margin|10px 0}}};">
  {{{1}}}
</div>
</includeonly>
 
Usage in a page:
{{FlexContainer|wrap=wrap|gap=20px|
  <div style="flex: 1;">A</div>
  <div style="flex: 1;">B</div>
}}
MediaWiki Appliance - Powered by TurnKey Linux