|
|
Ligne 7 : |
Ligne 7 : |
| |ordermethod={{{tri|title}}} | | |ordermethod={{{tri|title}}} |
| |order={{{ordre|ascending}}} | | |order={{{ordre|ascending}}} |
| |mode=userformat | | |mode=template |
| |listseparators=,,\n, | | |template=Liste/ligne |
| |secseparators=,\n|-\n,\n, | | |include={Liste/ligne}:info |
| |multisecseparators=,\n|-\n,\n, | | |tablerow=|-\n| [[%PAGE%]] || %%info%% || |
| |format=,| [[%PAGE%]] || {{#invoke:PageInfo|getDescription|%PAGE%}} || {{#invoke:PageInfo|getDocumentation|%PAGE%}}\n,
| |
| |noresultsheader=|-\n| colspan="3" style="text-align:center; color:orange;" | ''Aucune page trouvée dans la catégorie "{{{1|Plugin installé}}}"'' | |
| |count={{{limite|500}}} | | |count={{{limite|500}}} |
| | |noresultsfooter=|-\n| colspan="3" style="text-align:center; color:orange;" | ''Aucune page trouvée'' |
| }} | | }} |
| |} | | |} |
| </includeonly><noinclude> | | </includeonly><noinclude> |
| == Documentation ==
| | [Documentation identique] |
| | |
| Ce modèle génère automatiquement un tableau sortable listant toutes les pages d'une catégorie.
| |
| | |
| === Syntaxe ===
| |
| <pre>{{Liste|Nom de la catégorie}}</pre>
| |
| | |
| === Paramètres ===
| |
| {| class="wikitable"
| |
| ! Paramètre !! Description !! Défaut
| |
| |-
| |
| | '''1''' || Nom de la catégorie (sans "Catégorie:") || Plugin installé
| |
| |-
| |
| | '''namespace''' || Espace de noms (0=principal, vide=tous) || (tous)
| |
| |-
| |
| | '''tri''' || Méthode de tri (title, lastedit, firstedit, etc.) || title
| |
| |-
| |
| | '''ordre''' || ascending ou descending || ascending
| |
| |-
| |
| | '''limite''' || Nombre maximum de résultats || 500
| |
| |}
| |
| | |
| === Exemples ===
| |
| <pre>
| |
| {{Liste|Plugin installé}}
| |
| {{Liste|Extension MediaWiki|tri=lastedit|ordre=descending}}
| |
| {{Liste|Tutoriel|namespace=0|limite=50}}
| |
| </pre>
| |
| | |
| === Dépendances ===
| |
| * Extension '''DynamicPageList3''' (DPL3)
| |
| * Module '''[[Module:PageInfo]]'''
| |
| | |
| [[Catégorie:Modèle de liste]]
| |
| </noinclude> | | </noinclude> |
[Documentation identique]