Modèle: Tree catégorie

De Guide MFC
Aller à : navigation, rechercher
(Added NOLINK parameter)
(NOLINK also for cats with content)
Ligne 1 : Ligne 1 :
 
<div style="padding-left:{{#expr: {{{NIVEAU}}} * 20}}px;">{{#tree:
 
<div style="padding-left:{{#expr: {{{NIVEAU}}} * 20}}px;">{{#tree:
{{#dpl:category={{{NOM}}}|notcategory=Navigation exclusion|format=,\n**,[[%PAGE%]],|ordermethod=titlewithoutnamespace|resultsheader=* [[:Catégorie:{{{NOM}}}|{{{NOM}}}]] (%PAGES% pages)|oneresultheader=* [[:Catégorie:{{{NOM}}}|{{{NOM}}}]] (%PAGES% page)|noresultsheader=* [[Image:Folder sml yel.gif]] {{#if: {{{NOLINK|}}}|{{{NOM}}}|[[:Catégorie:{{{NOM}}}|{{{NOM}}}]] }}|hitemattr= class="topmenuli" style="color: red;"}}
+
{{#dpl:category={{{NOM}}}|notcategory=Navigation exclusion|format=,\n**,[[%PAGE%]],|ordermethod=titlewithoutnamespace|resultsheader=* {{#if: {{{NOLINK|}}}|{{{NOM}}}|[[:Catégorie:{{{NOM}}}|{{{NOM}}}]] }} (%PAGES% page(s))|oneresultheader=* {{#if: {{{NOLINK|}}}|{{{NOM}}}|[[:Catégorie:{{{NOM}}}|{{{NOM}}}]] }} (%PAGES% page)|noresultsheader=* [[Image:Folder sml yel.gif]] {{#if: {{{NOLINK|}}}|{{{NOM}}}|[[:Catégorie:{{{NOM}}}|{{{NOM}}}]] }}|hitemattr= class="topmenuli" style="color: red;"}}
 
}}
 
}}
 
</div>
 
</div>

Version du 12 avril 2008 à 00:27

<div style="padding-left:Erreur d’expression : caractère de ponctuation « { » non reconnu.px;">{{#tree: {{#dpl:category={{{NOM}}}|notcategory=Navigation exclusion|format=,\n**,%PAGE%,|ordermethod=titlewithoutnamespace|resultsheader=* [[:Catégorie:{{{NOM}}}|{{{NOM}}}]] (%PAGES% page(s))|oneresultheader=* [[:Catégorie:{{{NOM}}}|{{{NOM}}}]] (%PAGES% page)|noresultsheader=* Folder sml yel.gif [[:Catégorie:{{{NOM}}}|{{{NOM}}}]]|hitemattr= class="topmenuli" style="color: red;"}} }}