Şablon:Numbered subpages
![]() | Bu şablon Lua istifadə edir:
|
İstifadə qaydası
[vikimətni redaktə et]Bütün parametrlər
{{Numbered subpages |max= |min= |missing= |headertemplate= }}
{{Numbered subpages}}
Əlavə olaraq, altsəhifələrdə olan keçidlərin sayını dəyişdirmək üçün |max=
parametrindən də istifadə edə bilərsiniz. Məsələn:
{{Numbered subpages|max=25}}
Mövcud olmayan bir altsəhifə olduqda dövranı məhv etmək üçün aşağıda veriləndən istifadə edin:
{{Numbered subpages|missing=stop}}
Mövcud olmayan altsəhifələri ötürmək üçün aşağıda veriləndən istifadə edin:
{{Numbered subpages|missing=skip}}
Transklüziya olmuş mövcud olmayan altsəhifələr yerinə keçidlər üçün aşağıda veriləndən istifadə edin:
{{Numbered subpages|missing=link}}
To use a preset palette template for the Box Header aşağıda veriləndən istifadə edin:
{{Numbered subpages|headertemplate=(Template location for the box header)}}
Usage
[vikimətni redaktə et]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
[vikimətni redaktə et]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}}