「テンプレート:Pathnav」の版間の差分

ナビゲーションに移動 検索に移動
(Chakuwiki がページ「テンプレート:Pathnav」を「テンプレート:pathnav」に移動しました: $wgCapitalLinksの設定変更)
編集の要約なし
タグ: 改変
 
(3人の利用者による、間の19版が非表示)
1行目: 1行目:
<includeonly>[[{{{1}}}]]{{
<includeonly><div role="navigation" class="pathnav" style="width: fit-content; margin: 0.5em 0; padding: 0.25em 0.5em; border-style: solid; border-color: #c8ccd1; border-width: 1px 0; border-image: linear-gradient(to right, #c8ccd1, transparent) 1; background: linear-gradient(to right, #f8f9fa, transparent);"><span style="white-space: nowrap;">{{
#if:{{{2|}}}|&nbsp;{{#ifexist:{{{2}}}|[[:{{{2}}}|{{{2}}}]]|{{{2}}}}}}}{{
#if:{{{1|}}}|{{#ifexist:{{{1}}}|[[:{{{1}}}|{{{1}}}]]|{{{1}}}}}|[[メインページ|{{SITENAME}}]]}}</span>{{
#if:{{{3|}}}|&nbsp;{{#ifexist:{{{3}}}|[[:{{{3}}}|{{{3}}}]]|{{{3}}}}}}}{{
#if:{{{2|}}}|&#x20;&gt; <span style="white-space: nowrap;">{{#ifexist:{{{2}}}|[[:{{{2}}}|{{{2}}}]]|{{{2}}}}}</span>}}{{
#if:{{{4|}}}|&nbsp;{{#ifexist:{{{4}}}|[[:{{{4}}}|{{{4}}}]]|{{{4}}}}}}}{{
#if:{{{3|}}}|&#x20;&gt; <span style="white-space: nowrap;">{{#ifexist:{{{3}}}|[[:{{{3}}}|{{{3}}}]]|{{{3}}}}}</span>}}{{
#if:{{{5|}}}|&nbsp;{{#ifexist:{{{5}}}|[[:{{{5}}}|{{{5}}}]]|{{{5}}}}}}}{{
#if:{{{4|}}}|&#x20;&gt; <span style="white-space: nowrap;">{{#ifexist:{{{4}}}|[[:{{{4}}}|{{{4}}}]]|{{{4}}}}}</span>}}{{
#if:{{{6|}}}|&nbsp;{{#ifexist:{{{6}}}|[[:{{{6}}}|{{{6}}}]]|{{{6}}}}}}}{{
#if:{{{5|}}}|&#x20;&gt; <span style="white-space: nowrap;">{{#ifexist:{{{5}}}|[[:{{{5}}}|{{{5}}}]]|{{{5}}}}}</span>}}{{
#if:{{{7|}}}|&nbsp;{{#ifexist:{{{7}}}|[[:{{{7}}}|{{{7}}}]]|{{{7}}}}}}}{{
#if:{{{6|}}}|&#x20;&gt; <span style="white-space: nowrap;">{{#ifexist:{{{6}}}|[[:{{{6}}}|{{{6}}}]]|{{{6}}}}}</span>}}{{
#if:{{{8|}}}|&nbsp;{{#ifexist:{{{8}}}|[[:{{{8}}}|{{{8}}}]]|{{{8}}}}}}}{{
#if:{{{7|}}}|&#x20;&gt; <span style="white-space: nowrap;">{{#ifexist:{{{7}}}|[[:{{{7}}}|{{{7}}}]]|{{{7}}}}}</span>}}{{
#if:{{{9|}}}|&nbsp;{{#ifexist:{{{9}}}|[[:{{{9}}}|{{{9}}}]]|{{{9}}}}}}}&nbsp;> '''{{{name|{{PAGENAME}}}}}'''
#if:{{{8|}}}|&#x20;&gt; <span style="white-space: nowrap;">{{#ifexist:{{{8}}}|[[:{{{8}}}|{{{8}}}]]|{{{8}}}}}</span>}}{{
</includeonly><noinclude>
#if:{{{9|}}}|&#x20;&gt; <span style="white-space: nowrap;">{{#ifexist:{{{9}}}|[[:{{{9}}}|{{{9}}}]]|{{{9}}}}}</span>}} &gt; <span aria-current="page" style="white-space: nowrap; font-weight: bolder;">{{{name|{{SUBPAGENAME}}}}}</span></div></includeonly><noinclude>
<code><nowiki>{{Pathnav|ページ名1|ページ名2| … |ページ名9|name=(ページの略名)}}</nowiki></code>
*より広い範囲を扱うページから狭い範囲を扱うものへたどっていくことを示すリンク集を作るテンプレートです。
*使い方は[[テンプレート・トーク:Pathnav]]を参照してください。
*当サイトには、このテンプレートを一部テーマに特化させたものがあります(リンクの仕方に一部制約あり)。
 
*使い方は「[[{{TALKPAGENAME}}]]」を参照してください。
{{Wikipedia/Ja}}
{{wikipedia/Ja}}
[[Category:汎用テンプレート|Pathnav]]
[[カテゴリ:汎用テンプレート]]
</noinclude>
</noinclude>

2023年4月8日 (土) 20:52時点における最新版

  • より広い範囲を扱うページから狭い範囲を扱うものへたどっていくことを示すリンク集を作るテンプレートです。
  • 当サイトには、このテンプレートを一部テーマに特化させたものがあります(リンクの仕方に一部制約あり)。
  • 使い方は「テンプレート・トーク:Pathnav」を参照してください。

このページは Wikipedia日本語版由来のコンテンツを利用しています。もとの記事はテンプレート:Pathnavにあります。執筆者のリストは履歴をご覧ください。