편집 요약 없음 |
편집 요약 없음 |
||
7번째 줄: | 7번째 줄: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== 둘 === | === 둘 === | ||
👉 | |||
==== 셋 ==== | ==== 셋 ==== | ||
===== 넷 ===== | ===== 넷 ===== |
2025년 5월 14일 (수) 01:14 판
__NUMBEREDHEADINGS__
하나
<?php // some php code
둘
👉
셋
넷
하나
둘
셋
넷
하나
하나
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.