Template:Infobox Abilitie ja: Difference between revisions
Neko Knight (talk | contribs) (luaできないので古来の方法で書き。lua作れる人いたら神) |
Neko Knight (talk | contribs) No edit summary |
||
Line 17: | Line 17: | ||
{{#if:{{{対象|}}}| | {{#if:{{{対象|}}}| | ||
<div class="ei-data" style="border: none; box-sizing: border-box; display: flex; flex-direction: row; grid-column-gap: 9px; overflow: hidden;"> | <div class="ei-data" style="border: none; box-sizing: border-box; display: flex; flex-direction: row; grid-column-gap: 9px; overflow: hidden;"> | ||
<h3 class="ei-data-label" style="margin: unset; padding: unset; text-align: center; flex-basis: 100px; align-self: center;">対象</h3> | <h3 class="ei-data-label" style="margin: unset; padding: unset; border: unset; background: unset; color:#372d2d; text-align: center; flex-basis: 100px; align-self: center;">対象</h3> | ||
<div class="ei-data-value" style="text-align: left; align-self: center;">{{{対象}}}</div> | <div class="ei-data-value" style="text-align: left; align-self: center;">{{{対象}}}</div> | ||
</div> | </div> | ||
Line 24: | Line 24: | ||
-->{{#if:{{{成功率|}}}| | -->{{#if:{{{成功率|}}}| | ||
<div class="ei-data" style="border: none; box-sizing: border-box; display: flex; flex-direction: row; grid-column-gap: 9px; overflow: hidden;"> | <div class="ei-data" style="border: none; box-sizing: border-box; display: flex; flex-direction: row; grid-column-gap: 9px; overflow: hidden;"> | ||
<h3 class="ei-data-label" style="margin: unset; padding: unset; text-align: center; flex-basis: 100px; align-self: center;">成功率</h3> | <h3 class="ei-data-label" style="margin: unset; padding: unset; border: unset; background: unset; color:#372d2d; text-align: center; flex-basis: 100px; align-self: center;">成功率</h3> | ||
<div class="ei-data-value" style="text-align: left; align-self: center;">{{{成功率}}}</div> | <div class="ei-data-value" style="text-align: left; align-self: center;">{{{成功率}}}</div> | ||
</div> | </div> | ||
Line 31: | Line 31: | ||
-->{{#if:{{{関連能力|}}}| | -->{{#if:{{{関連能力|}}}| | ||
<div class="ei-data" style="border: none; box-sizing: border-box; display: flex; flex-direction: row; grid-column-gap: 9px; overflow: hidden;"> | <div class="ei-data" style="border: none; box-sizing: border-box; display: flex; flex-direction: row; grid-column-gap: 9px; overflow: hidden;"> | ||
<h3 class="ei-data-label" style="margin: unset; padding: unset; text-align: center; flex-basis: 100px; align-self: center;">関連能力</h3> | <h3 class="ei-data-label" style="margin: unset; padding: unset; border: unset; background: unset; color:#372d2d; text-align: center; flex-basis: 100px; align-self: center;">関連能力</h3> | ||
<div class="ei-data-value" style="text-align: left; align-self: center;"><span class="Icon">[[File:Elin_Icon_UI_<!-- | <div class="ei-data-value" style="text-align: left; align-self: center;"><span class="Icon">[[File:Elin_Icon_UI_<!-- | ||
-->{{#switch:{{{関連能力|}}}<!-- | -->{{#switch:{{{関連能力|}}}<!-- | ||
Line 53: | Line 53: | ||
-->{{#if:{{{カテゴリ|}}}| | -->{{#if:{{{カテゴリ|}}}| | ||
<div class="ei-data" style="border: none; box-sizing: border-box; display: flex; flex-direction: row; grid-column-gap: 9px; overflow: hidden;"> | <div class="ei-data" style="border: none; box-sizing: border-box; display: flex; flex-direction: row; grid-column-gap: 9px; overflow: hidden;"> | ||
<h3 class="ei-data-label" style="margin: unset; padding: unset; text-align: center; flex-basis: 100px; align-self: center;">カテゴリ</h3> | <h3 class="ei-data-label" style="margin: unset; padding: unset; border: unset; background: unset; color:#372d2d; text-align: center; flex-basis: 100px; align-self: center;">カテゴリ</h3> | ||
<div class="ei-data-value" style="text-align: left; align-self: center;"> | <div class="ei-data-value" style="text-align: left; align-self: center;"> | ||
<ul class="ei-list-ul" style="margin: 0; line-height: 1; padding: 0.2rem 0.25rem;"> | <ul class="ei-list-ul" style="margin: 0; line-height: 1; padding: 0.2rem 0.25rem;"> | ||
Line 66: | Line 66: | ||
-->{{#if:{{{消費|}}}| | -->{{#if:{{{消費|}}}| | ||
<div class="ei-data" style="border: none; box-sizing: border-box; display: flex; flex-direction: row; grid-column-gap: 9px; overflow: hidden;"> | <div class="ei-data" style="border: none; box-sizing: border-box; display: flex; flex-direction: row; grid-column-gap: 9px; overflow: hidden;"> | ||
<h3 class="ei-data-label" style="margin: unset; padding: unset; text-align: center; flex-basis: 100px; align-self: center;">消費</h3> | <h3 class="ei-data-label" style="margin: unset; padding: unset; border: unset; background: unset; color:#372d2d; text-align: center; flex-basis: 100px; align-self: center;">消費</h3> | ||
<div class="ei-data-value" style="text-align: left; align-self: center;"> | <div class="ei-data-value" style="text-align: left; align-self: center;"> | ||
<span class="ei-cost">{{{消費値}}}<!-- | <span class="ei-cost">{{{消費値}}}<!-- |
Revision as of 15:03, 7 January 2025
タグの説明
{{Infobox Abilitie ja |タイトル=@ |画像=Elin_Icon_Ability_@.png |説明=@ |効果= |対象=自身,対象,隣接,パーティ,生物 |成功率=ある場合 ✔ ある とか |関連能力=意志 |カテゴリ=アビリティ,呪文 |カテゴリ2= |消費=HP,MP,スタミナ,ストック |消費値=数値か文章 }}
サンプル
{{Infobox Abilitie ja |タイトル=休憩 |画像=Elin_Icon_Ability_Meditate.png |説明=目を閉じてリラックスする。体力やマナの回復が強化されるが、眠い時や疲れているときは眠ってしまうこともある。 |効果=それはグローバルマップで使用できる。 |対象=自身 |関連能力=意志 |カテゴリ=アビリティ }}
サンプル2
{{Infobox Abilitie ja |タイトル=夢蟲 |画像=Elin_Icon_Ability_Dream Larva.png |説明=対象の所持品にふしだらな夢を見せる蟲を忍び込ませる。 |対象=生物 |関連能力=魅力 |カテゴリ=アビリティ |消費=スタミナ |消費値=45 }}
The above documentation is transcluded from Template:Infobox Abilitie ja/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |