This is the documentation page for S. It contains usage information, categories, and other content not part of the original template page. | ||
---|---|---|
Main | Documentation | Usage |
This template can replace anchored links, such as section links, with the most common link label formats that eliminate the number sign (#) from the link label.
Specifying a page name along with an anchor name will cause the number sign to be replaced by the section symbol (§) in the link label. This is most often used when linking to a different page.
Specifying an anchor name without a page name will eliminate the number sign from the link label. If there is no number sign present in the input, it is assumed the input is a section name. This will create a link to an anchor on the same page.
This template can also be used without input to simply transclude the section symbol on its own.
Syntax[]
- Symbol Only
{{s}}
- Current Page Section
{{s|target section}}
- Other Page Section
{{s|target page#target section}}
Examples[]
- Symbol Only
{{s}} yields: §
- Current Page Section
{{s|Syntax}} yields: Syntax
{{s|#Template Data}} yields: Template Data
- Other Page Section
{{s|Xiao#Talents}} yields: Xiao § Talents
{{s|Qiqi/Lore#Trivia}} yields: Qiqi/Lore § Trivia
Template Data[]
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Target section | 1 | If the target section is on a different page: This parameter must be identical to what precedes the pipe in a piped link. If the target section is on the same page: This parameter can either be just the section name or the section name preceded by a number sign.
| String | suggested |