「テンプレート:姉妹タブ」の版間の差分
ナビゲーションに移動
検索に移動
(ページの作成:「<div style="display: flex; margin: 18px 0 18px calc(50% - 18px * {{{タブ数|2}}});"><span style="display: block; border: 1px solid {{{色|#008800}}}; border-radius: 36%; text-align: center; vertical-align: middle; width: 36px; height: 36px; {{#ifeq:{{SUBPAGENAME}}|WikiWikiオンラインノベル|background-color: {{{色|#008800}}}; color: #ffffff;|background-color: #ffffff; color: #000000;}} font-size: 24px;">1</span>[…」) |
編集の要約なし |
||
1行目: | 1行目: | ||
<div style="display: flex; margin: 18px 0 18px calc(50% - 18px * {{{タブ数|2}}});">[[Sisters: | <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> |