« Modèle:Lx/doc » : différence entre les versions

De Adadov.net wiki
Page créée avec « {{Documentation subpage}} <!-- Les catégories se placent au bas de cette page. --> <nowiki>{{Lx|Tag|Name|Namespace|Label}}</nowiki> produit {{Lx|Tag|Name|Namespace|Label}... »
 
Ligne 8 : Ligne 8 :
{{AlTable
{{AlTable
|cols=2|fullwidth=yes|class=wikitable|row1header=yes
|cols=2|fullwidth=yes|class=wikitable|row1header=yes
|col1width=15%|col1align=center


| Paramètre | Effet
| Paramètre
| <code>noedit</code>
| Effet
| adding '''noedit=yes''' will disable and hide the "edit" link.


| <code>notalk</code>
| <code>noedit&#61;yes</code>
| adding '''notalk=yes''' will disable and hide the customizable link. ''(This link is usually customized as a "talk" link in templates that transclude this template.)''
| Désactive et masque le lien "edit"


| <code>nohistory</code>
| <code>notalk&#61;yes</code>
| adding '''nohistory=yes''' will disable and hide the "history" link.
| adding '''notalk&#61;yes''' will disable and hide the customizable link. ''(This link is usually customized as a "talk" link in templates that transclude this template.)''


| <code>nolinks</code>
| <code>nohistory&#61;yes</code>
| adding '''nolinks=yes''' will disable and hide the "links" link.
| adding '''nohistory&#61;yes''' will disable and hide the "history" link.


| <code>nowatch</code>
| <code>nolinks&#61;yes</code>
| adding '''nowatch=yes''' will disable and hide the "watch" link.
| adding '''nolinks&#61;yes''' will disable and hide the "links" link.


| <code>nologs</code>
| <code>nowatch&#61;yes</code>
| adding '''nologs=yes''' will disable and hide the "logs" link. ''(At this time, using this parameter unfortunately doesn't hide the "|" that appears before the "logs" link; however, there will probably never be a case where the "logs" link should not appear.)''
| adding '''nowatch&#61;yes''' will disable and hide the "watch" link.
 
| <code>nologs&#61;yes</code>
| adding '''nologs&#61;yes''' will disable and hide the "logs" link. ''(At this time, using this parameter unfortunately doesn't hide the "&#124;" that appears before the "logs" link; however, there will probably never be a case where the "logs" link should not appear.)''
}}
}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
<!-- Categories go here and interwikis go in Wikidata. -->

Version du 6 février 2015 à 00:57

{{Lx|Tag|Name|Namespace|Label}} produit TagName (edit | Label | history | links | watch | logs)

Ce modèle est un metamodèle pour la famille Template:Ln. Ce modèle ne doit normalement pas être utilisé directement. Son but est de s'assurer que tous les modèles-ln ont la même apparence.

Paramètres Optionnels

Paramètre Effet
noedit=yes Désactive et masque le lien "edit"
notalk=yes adding notalk=yes will disable and hide the customizable link. (This link is usually customized as a "talk" link in templates that transclude this template.)
nohistory=yes adding nohistory=yes will disable and hide the "history" link.
nolinks=yes adding nolinks=yes will disable and hide the "links" link.
nowatch=yes adding nowatch=yes will disable and hide the "watch" link.
nologs=yes adding nologs=yes will disable and hide the "logs" link. (At this time, using this parameter unfortunately doesn't hide the "|" that appears before the "logs" link; however, there will probably never be a case where the "logs" link should not appear.)