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

提供:WikiWiki
ナビゲーションに移動 検索に移動
編集の要約なし
編集の要約なし
 
1行目: 1行目:
<div style="display: flex; margin: 18px 0 18px calc(50% - 18px * {{{タブ数|2}}});">
<div style="display: flex; margin: 18px 0 18px calc(50% - 18px * {{{タブ数|2}}});">
{{#if:{{#ifexpr:{{SUBPAGENAME}}-{{SUBPAGENAME}}||}}|[[Sisters:{{FULLPAGENAME}}|<span style="display: block; border: 1px solid {{{色|#008800}}}; border-radius: 36%; text-align: center; vertical-align: middle; width: 36px; height: 36px; background-color: {{{色|#008800}}}; color: #ffffff; font-size: 24px;">'''1'''</span>]][[Sisters:{{FULLPAGENAME}}/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:{{FULLPAGENAME}}/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:{{FULLPAGENAME}}/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>|[[Sisters:{{BASEPAGENAME}}|<span style="display: block; border: 1px solid {{{色|#008800}}}; border-radius: 36%; text-align: center; vertical-align: middle; width: 36px; height: 36px; 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>}}
{{#if:{{#ifexpr:{{SUBPAGENAME}}-{{SUBPAGENAME}}||}}|[[{{FULLPAGENAME}}|<span style="display: block; border: 1px solid {{{色|#008800}}}; border-radius: 36%; text-align: center; vertical-align: middle; width: 36px; height: 36px; background-color: {{{色|#008800}}}; color: #ffffff; font-size: 24px;">'''1'''</span>]][[{{FULLPAGENAME}}/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|[[{{FULLPAGENAME}}/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|[[{{FULLPAGENAME}}/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>|[[Sisters:{{BASEPAGENAME}}|<span style="display: block; border: 1px solid {{{色|#008800}}}; border-radius: 36%; text-align: center; vertical-align: middle; width: 36px; height: 36px; 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>}}

4年11月23日 (ゐ) 18:18時点における最新版