「テンプレート:姉妹タブ」の版間の差分

編集の要約なし
編集の要約なし
編集の要約なし
1行目: 1行目:
<div style="display: flex; margin: 18px 0 18px calc(50% - 18px * {{{タブ数|2}}});">[[Sisters:{{BASEPAGENAME}}|<span style="display: block; border: 1px solid {{{色|#008800}}}; border-radius: 36%; text-align: center; vertical-align: middle; width: 36px; height: 36px; {{#ifeq:{{SUBPAGENAME}}|{{BASEPAGENAME}}|background-color: {{{色|#008800}}}; color: #ffffff;|background-color: #ffffff; color: #000000;}} font-size: 24px;">1</span>]][[Sisters:{{BASEPAGENAME}}/2|<span style="display: block; border: 1px solid {{{色|#008800}}}; border-radius: 36%; text-align: center; vertical-align: middle; width: 36px; height: 36px; {{#ifeq:{{SUBPAGENAME}}|2|background-color: {{{色|#008800}}}; color: #ffffff;|background-color: #ffffff; color: #000000;}} font-size: 24px;">2</span>]]{{#ifexpr:{{{タブ数|2}}}>2|[[Sisters:{{BASEPAGENAME}}/3|<span style="display: block; border: 1px solid {{{色|#008800}}}; border-radius: 36%; text-align: center; vertical-align: middle; width: 36px; height: 36px; {{#ifeq:{{SUBPAGENAME}}|3|background-color: {{{色|#008800}}}; color: #ffffff;|background-color: #ffffff; color: #000000;}} font-size: 24px;">3</span>]]{{#ifexpr:{{{タブ数|2}}}>3|[[Sisters:{{BASEPAGENAME}}/4|<span style="display: block; border: 1px solid {{{色|#008800}}}; border-radius: 36%; text-align: center; vertical-align: middle; width: 36px; height: 36px; {{#ifeq:{{SUBPAGENAME}}|4|background-color: {{{色|#008800}}}; color: #ffffff;|background-color: #ffffff; color: #000000;}} font-size: 24px;">4</span>]]|}}|}}</div>
<div style="display: flex; margin: 18px 0 18px calc(50% - 18px * {{{タブ数|2}}});">[[Sisters:{{BASEPAGENAME}}|<span style="display: block; border: 1px solid {{{色|#008800}}}; border-radius: 36%; text-align: center; vertical-align: middle; width: 36px; height: 36px; {{#if:{{#ifexpr:{{SUBPAGENAME}}-{{SUBPAGENAME}}||}}|background-color: {{{色|#008800}}}; color: #ffffff;|background-color: #ffffff; color: {{{#色|#008800}}};}} font-size: 24px;">'''1'''</span>]][[Sisters:{{BASEPAGENAME}}/2|<span style="display: block; border: 1px solid {{{色|#008800}}}; border-radius: 36%; text-align: center; vertical-align: middle; width: 36px; height: 36px; {{#ifeq:{{SUBPAGENAME}}|2|background-color: {{{色|#008800}}}; color: #ffffff;|background-color: #ffffff; color: {{{#色|#008800}}};}} font-size: 24px;">'''2'''</span>]]{{#ifexpr:{{{タブ数|2}}}>2|[[Sisters:{{BASEPAGENAME}}/3|<span style="display: block; border: 1px solid {{{色|#008800}}}; border-radius: 36%; text-align: center; vertical-align: middle; width: 36px; height: 36px; {{#ifeq:{{SUBPAGENAME}}|3|background-color: {{{色|#008800}}}; color: #ffffff;|background-color: #ffffff; color: {{{#色|#008800}}};}} font-size: 24px;">'''3'''</span>]]{{#ifexpr:{{{タブ数|2}}}>3|[[Sisters:{{BASEPAGENAME}}/4|<span style="display: block; border: 1px solid {{{色|#008800}}}; border-radius: 36%; text-align: center; vertical-align: middle; width: 36px; height: 36px; {{#ifeq:{{SUBPAGENAME}}|4|background-color: {{{色|#008800}}}; color: #ffffff;|background-color: #ffffff; color: {{{#色|#008800}}};}} font-size: 24px;">'''4'''</span>]]|}}|}}</div>
3,314

回編集