Andoza:Transclude DYK/doc
Ushbu sahifa Transclude DYK andozasining hujjat sahifasidir. Bu yerda andozaning asosiy sahifasidan joy olmagan foydalanish qoidalari, turkumlar va boshqa foydali maʼlumotlar joylashtiriladi. |
Bu andoza quyidagi Luadan foydalanadi: |
Transclude DYK transcludes randomly selected "Did You Know?" entries from a data page.
Usage
tahrir{{Transclude DYK | 1= | count= }}
The template requires one parameter: the name of the page containing the DYK entries. Include a namespace where necessary. There are no other positional parameters, but there is one optional named parameter:
- The number of entries to transclude, such as
count=5
; the default is 10.
User:JL-Bot/Project content provides a useful way to maintain the data page in a format suitable for Transclude DYK.
See also
tahrir{{Transclude selected recent additions}} performs a similar function and may be more appropriate in some cases.
TemplateData
tahrirTransclude DYK uchun TemplateData
Transclude DYK transcludes randomly selected "Did You Know?" entries
Parametr | Tavsif | Turi | Status | |
---|---|---|---|---|
1 | 1 | The name of the page containing DYK entries
| String | required |
Count | count | The number of entries to be selected
| Son | ixtiyoriy |