편집 요약 없음 |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
If you have a very long (or intricately numbered) wiki page, you can use this extension to automatically insert section numbers (for example: 3.4 or 1.2.2.4) into the page using {{#secnum:n|section_title_goes_here}}. | |||
For example, you can write see section {{#secnum:n|Boring Heading}} for a map of this and it will be replaced with "see section 4.7 for a map of this". | |||
You can also use {{#secnum:Y|title_goes_here}} to add an auto incrementing variable to the end of the section number. Useful in creating numbered lists, like: | |||
* {{#secnum:Y|title #8}} It contains some more items. | |||
* {{#secnum:Y|title #8}} It contains some more items. | |||
* {{#secnum:Y|title #8}} It contains some more items. | |||
* {{#secnum:Y|title #8}} It contains some more items. | |||
* {{#secnum:Y|title #8}} It contains some more items. | * {{#secnum:Y|title #8}} It contains some more items. | ||
* {{#secnum:Y|title #8}} It contains some more items. | * {{#secnum:Y|title #8}} It contains some more items. |
2024년 11월 10일 (일) 23:17 판
If you have a very long (or intricately numbered) wiki page, you can use this extension to automatically insert section numbers (for example: 3.4 or 1.2.2.4) into the page using {{#secnum:n|section_title_goes_here}}.
For example, you can write see section {{#secnum:n|Boring Heading}} for a map of this and it will be replaced with "see section 4.7 for a map of this".
You can also use {{#secnum:Y|title_goes_here}} to add an auto incrementing variable to the end of the section number. Useful in creating numbered lists, like:
- {{#secnum:Y|title #8}} It contains some more items.
- {{#secnum:Y|title #8}} It contains some more items.
- {{#secnum:Y|title #8}} It contains some more items.
- {{#secnum:Y|title #8}} It contains some more items.
- {{#secnum:Y|title #8}} It contains some more items.
- {{#secnum:Y|title #8}} It contains some more items.
— basic comment form, sufficient for most things.
<comments allow="Derfel,Jack Phoenix,Misza" /> — only allows the users Derfel, Jack Phoenix and Misza to submit comments. <comments voting="Plus" /> — prevents users from rating comments negatively (thumb down), allowing only positive (thumb up) votes.