Шаблон:Numbered subpages
Ця сторінка містить неперекладені фрагменти іноземною мовою. |
Template layout ред.
{{Numbered subpages}}
Additionally, you can use the {{25 numbered subpages}} or {{75 numbered subpages}} templates to change the number of links on the subpages.
Usage ред.
Template to show numbered sub-pages arranged ascendingly from 1 to maximum. Max must be defined in Template by repeating parameters used in forLoop template till maximum. Maximum is defined as 25, 50, 75, or 100, depending on the version used.
Example ред.
This is an example of use of the template as it would be found on the "Selected articles" sub-page that is a component of a portal created using the {{box portal skeleton}}. Simply placing the template on the page is all that is needed to show all selected articles stored in sub-pages linked to it, however using the template as part of a fully formed description makes it easier for other editors to modify the page as needed.
__NOTOC__ == Usage == The template used for the creation of these sub-pages is located at {{tl|Selected article}} # Add a new Selected article to the next available subpage. # Update "max=" to new total for its {{tl|Random portal component}} on the main page. {{purgepage}} {{Numbered subpages}} {{purgepage}}
Trivial ред.
passing parameter as maximum is not supported yet. In fact its only way is by using #for (MediaWiki 1.7+);In fact this template would be much easier if used #for but it is a part of MediaWiki 1.7 (not used yet).
Used Templates ред.
See also ред.
Список шаблонів для порталу
- Щоб відобразити «вибраний вміст» на головній сторінці порталу
- {{Transclude random subpage}} — перекладає випадкову підсторінку порталу.
- {{Random portal component}} — перекладає випадкову підсторінку порталу.
- {{Випадкова підсторінка}} — перекладає випадкову підсторінку порталу.
- {{Portal pictures}} — включає слайд-шоу із фотографій, використовуючи односторінкову галерею.
- Для організації «вибраного вмісту» на підсторінках
- {{Numbered subpages}} — виводить автоматичний індекс, перераховуючи нумеровані підсторінки.
- {{Portal subpage}} — виводить блок, що зв'язує та завершує одну підсторінку.
- {{Portal subpage inline}} — виводить елемент неупорядкованого списку, який зв'язує та завершує одну підсторінку.
Шаблони форматування головної сторінки порталу
- {{Box-header}}
- {{Box-header-plain}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Box-footer}}
Шаблони, які налаштовують посилання
- {{Портал}}
- {{Портал1}}
- {{Portal bar}}
- {{Портал в лінію}}
- {{Portals}}
- {{Index box}}
- {{Пов'язані портали}}
- {{Related portals2}}
- {{Вікімедіа для порталів}}
Вибрані шаблони сторінок, що використовуються на підсторінках старих порталів
- {{Скелет порталу}}
- {{Скелет порталу2}}
- {{Selected article}}
- {{Selected biography}}
- {{Selected business}}
- {{Selected DYK}}
- {{Selected ingredient}}
- {{Selected location}}
- {{Selected picture}}
- {{Selected product}}
- {{Selected publication}}
- {{Selected quote}}
- {{Selected recipe}}
- {{Selected X}}
Суміжні шаблони
Документація вище включена з Шаблон:Numbered subpages/документація. (ред. | історія) Дописувачі можуть експериментувати на підсторінках пісочниця (створити | дзеркало) та тести (створити) цього шаблону. Будь ласка, додавайте категорії до підсторінки /документація. Підсторінки цього шаблону. |