Template:TOC row 2dot-1 linked
|- class="__toc_row_m-1 __toc_row_2dot-1 wst-toc-row-2dot-1 " style=""
|colspan=2|
|style="text-align:right; width:2.0em;" | [[/{{{3}}}#{{{4}}}|{{{4}}}]]
Shortcut for a common Table of Contents format, with unconditional linking to the transcluded version from the title, and conditional linking from the page number to the page in the Index and the transcluded version otherwise.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Base page name | 1 | Everything before the FIRST slash in the transcluded page name; this is only used for the title link
| Page name | required |
Page NS number | 2 | The page number in the Page namespace to link to | Number | required |
Displayed title | 3 | This is the title listed in the ToC; it will also form the last segment of the transcluded page title
| String | required |
Displayed page number | 4 | This is the page number listed in the ToC; it will be linked dynamically either to the associated Page or the transcluded version (with an anchor to the particular page)
| Number | required |
Subpages | subpages | Everything between the first and last slashes, including a slash at the end (this needs to be in a separate parameter so it doesn't get included in the displayed title)
| String | optional |