ページ「募集」と「テンプレート:TOC limit/doc」の間の差分

提供:林 康紀研究室
(ページ間の差分)
ナビゲーションに移動 検索に移動
(1版 をインポートしました)
 
(1版 をインポートしました)
 
1行目: 1行目:
私たちは、記憶の謎に興味を持ち一緒に研究してくれる仲間を探しています。
{{Documentation subpage}}
==学部生==
{{Uses TemplateStyles|Template:TOC limit/styles.css}}
 学部生は歓迎ですが、その時々のスタッフの余力も考慮する必要がありますので、ご相談下さい。[[連絡先]]より、林までご連絡ください。
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
{{High-use }}
{{Template display|vector2022}}
This template inserts a Table of Contents that omits subheadings beyond a certain depth. The table obeys the same layout rules as the <nowiki>__TOC__</nowiki> [[WP:MAGIC|magic word]]. Omitted sections still have section edit links in the article body. The main use for this template is situations where you want section edit links for ease of editing but don't want a full table of contents. '''Before using this template, consider whether and why it would be helpful to readers and other editors.'''


==大学院生==
=== Usage ===
 生物系あるいは数理系のバックグラウンドがある事が望まれます。出身学部は問いませんが、これまでの経歴によっては1年程度まず研究生として過ごすことをお薦めすることもあります。


 これらは、現在の大学院生が取り組んでいるテーマです。
{{tlx|TOC limit}} or {{tlx|TOC limit|3}}


* LTPの分子生物学的研究
The template defaults to including second- and third-level headings, e.g. those numbered "1" and "1.1" in the TOC. (Note: {{tlx|TOC limit|1}} does nothing: the first-level heading on a page is, by default, the page title.)
* 記憶固定化の神経回路プロセスの解明
* 海馬セルアセンブリの形成と消長の観察と原理の解明
* 病態モデル動物でのセルアセンブリの異常の観察


===修士課程===
You can specify a different limit by adding a header level:
 4年制の学部を卒業された方は5年制の医科学専攻に応募することが可能です。生物系のバックグラウンドがない方は京都大学大学院生命科学研究科の小論文入試を受けて入学することも可能です。


===博士課程===
{{tlx|TOC limit|4}}
 修士号を持っている方、あるいは6年制の学部(医学、薬学、獣医学など)を卒業された方は、医科学専攻(3年制)あるいは医学専攻(4年制)に応募することが可能です。医科学専攻は編入試験のため、募集数は少なく不確定です。そのため、4年制の医科専攻に応募されることをおすすめします。


==ポストドクトラルフェロー==
4 allows for fourth-level headings, e.g. "1.1.1", but omits any subheadings below that from the TOC.
 現在は募集を行っておりませんが、もしご自身で日本学術振興会などからフェローシップをとることができれば歓迎致します。


==外部リンク==
The template works by hiding the lower levels with CSS. See [[Template:TOC limit/styles.css]].
*[http://www.med.kyoto-u.ac.jp/grad_school/major/ 京都大学大学院医学研究科]
*[https://www.lif.kyoto-u.ac.jp/j/?page_id=267 京都大学生命科学研究科]


[[en:Opportunities]]
=== TOC levels versus wikitext header levels ===
The heading levels in the TOC normally correspond to the header levels in the wikitext, so a "== Level-2 header ==" will normally generate the first-level ("1") TOC headings, a "=== Level-3 header ===" will normally generate the second-level ("1.1") TOC headings, and so on. This correspondence does ''not'' hold if the page contains "= Level-1 headers =" or skips header levels. For example, wikitext like this:
== Level-2 heading (A) ==
=== Level-3 heading (B) ===
== Level-2 heading (C) ==
====== Level-6 heading (D) ======
= Level-1 heading (E) =
== Level-2 heading (F) ==
=== Level-3 heading (G) ===
will generate a TOC like this:
{| class="toc"
|<div style="text-align:center"><b>Contents</b></div>
<ul>
<li class="toclevel-1 tocsection-1"><span class="tocnumber">1</span> <span class="toctext">Level-2 heading (A)</span><ul>
<li class="toclevel-2 tocsection-2"><span class="tocnumber">1.1</span> <span class="toctext">Level-3 heading (B)</span></li>
</ul></li>
<li class="toclevel-1 tocsection-1"><span class="tocnumber">2</span> <span class="toctext">Level-2 heading (C)</span><ul>
<li class="toclevel-2 tocsection-2"><span class="tocnumber">2.1</span> <span class="toctext">Level-6 heading (D)</span></li>
</ul></li>
<li class="toclevel-1 tocsection-1"><span class="tocnumber">3</span> <span class="toctext">Level-1 heading (E)</span><ul>
<li class="toclevel-2 tocsection-2"><span class="tocnumber">3.1</span> <span class="toctext">Level-2 heading (F)</span><ul>
<li class="toclevel-3 tocsection-3"><span class="tocnumber">3.1.1</span> <span class="toctext">Level-3 heading (G)</span></li>
</ul></li>
</ul></li>
</ul>
|}
Using <code><nowiki>{{TOC limit}}</nowiki></code> on this page ''would not'' hide header D, because even though it is a level-6 heading it is shown at the second level in the TOC. And it ''would'' hide header G even though it is a level-3 heading just like header B, because header G is shown at the third level in the TOC while header B is shown at the second level.
 
=== Conflicts ===
This template does not interact well with the {{tl|TOC right}}, {{tl|TOC left}}, {{tl|TOC center}} templates.  To achieve the correct effect, use those with a limit parameter.  For example, {{tlx|TOC&nbsp;right|2=limit=2}} has the effect that {{tlx|TOC&nbsp;right}} and {{tlx|TOC&nbsp;limit|2}} would have—if they worked together.
 
Due to the way the TOC is generated with MobileFrontend (mobile/tablet view), this template does not currently affect how the mobile TOC is displayed.
 
This template does not work with the [[Wikipedia:Vector 2022|Vector 2022]] skin. See the bug report at {{phab|T317818}} for details.
 
== TemplateData ==
<templatedata>
{
"params": {
"1": {
"aliases": [
"limit"
],
"label": "Limit",
"description": "Maximum header depth to be included in table of contents",
"default": "3",
"suggested": true,
"type": "number"
}
},
"description": "Inserts a Table of Contents that omits subheadings beyond a certain depth"
}
</templatedata>
 
==See also==
{{tl|TOC hidden}}
<includeonly>{{Sandbox other||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Wikipedia table of contents templates|{{PAGENAME}}]]
 
}}</includeonly>

2023年4月11日 (火) 22:15時点における最新版

テンプレート:Mbox Lua エラー モジュール:TNT 内、159 行目: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab

This template inserts a Table of Contents that omits subheadings beyond a certain depth. The table obeys the same layout rules as the __TOC__ magic word. Omitted sections still have section edit links in the article body. The main use for this template is situations where you want section edit links for ease of editing but don't want a full table of contents. Before using this template, consider whether and why it would be helpful to readers and other editors.

Usage

{{TOC limit}} or {{TOC limit|3}}

The template defaults to including second- and third-level headings, e.g. those numbered "1" and "1.1" in the TOC. (Note: {{TOC limit|1}} does nothing: the first-level heading on a page is, by default, the page title.)

You can specify a different limit by adding a header level:

{{TOC limit|4}}

4 allows for fourth-level headings, e.g. "1.1.1", but omits any subheadings below that from the TOC.

The template works by hiding the lower levels with CSS. See Template:TOC limit/styles.css.

TOC levels versus wikitext header levels

The heading levels in the TOC normally correspond to the header levels in the wikitext, so a "== Level-2 header ==" will normally generate the first-level ("1") TOC headings, a "=== Level-3 header ===" will normally generate the second-level ("1.1") TOC headings, and so on. This correspondence does not hold if the page contains "= Level-1 headers =" or skips header levels. For example, wikitext like this:

== Level-2 heading (A) ==
=== Level-3 heading (B) ===
== Level-2 heading (C) ==
====== Level-6 heading (D) ======
= Level-1 heading (E) =
== Level-2 heading (F) ==
=== Level-3 heading (G) ===

will generate a TOC like this:

Contents
  • 1 Level-2 heading (A)
    • 1.1 Level-3 heading (B)
  • 2 Level-2 heading (C)
    • 2.1 Level-6 heading (D)
  • 3 Level-1 heading (E)
    • 3.1 Level-2 heading (F)
      • 3.1.1 Level-3 heading (G)

Using {{TOC limit}} on this page would not hide header D, because even though it is a level-6 heading it is shown at the second level in the TOC. And it would hide header G even though it is a level-3 heading just like header B, because header G is shown at the third level in the TOC while header B is shown at the second level.

Conflicts

This template does not interact well with the {{TOC right}}, {{TOC left}}, {{TOC center}} templates. To achieve the correct effect, use those with a limit parameter. For example, {{TOC right|limit=2}} has the effect that {{TOC right}} and {{TOC limit|2}} would have—if they worked together.

Due to the way the TOC is generated with MobileFrontend (mobile/tablet view), this template does not currently affect how the mobile TOC is displayed.

This template does not work with the Vector 2022 skin. See the bug report at T317818 for details.

TemplateData

Inserts a Table of Contents that omits subheadings beyond a certain depth

テンプレート引数

引数説明状態
Limit1 limit

Maximum header depth to be included in table of contents

既定
3
数値推奨

See also

{{TOC hidden}}