Template:Distinguish/doc: Difference between revisions
From The Goon Show Depository
en>Geekdiva m (→When to use: Made capitalization match article title in a reference to the article itself, not within body text. This matches the other links throughout and earlier versions as well.) |
m (1 revision imported) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | |||
<!-- | {{TemplateData header|editlinks=1|docpage=Distinguish/doc}} | ||
{{ | |||
= | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": { | |||
"en": "Adds warning \"Not to be confused\" on the reader's page, with a short list of related pages.", | |||
"fr": "Ajoute un avertissement \"A ne pas confondre avec\" sur la page du lecteur, avec une liste courte de pages associées." | |||
}, | |||
"format": "inline", | |||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": " | "label": "Page 1", | ||
"description": " | "description": { | ||
"type": "wiki-page-name" | "en": "Full name of related page", | ||
"fr": "Nom complet de la page relative à laquelle vous voulez faire référence." | |||
}, | |||
"example": { | |||
"fr": "Article_old Article/doc Special:MyLanguage/Articles" | |||
}, | |||
"required": true, | |||
"type": "wiki-page-name" | |||
}, | }, | ||
"2": { | "2": { | ||
"label": " | "label": "Page 2", | ||
"description": " | "description": { | ||
"en": "Full name of related page", | |||
"fr": "Nom complet de la page relative à laquelle vous voulez faire référence." | |||
}, | |||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"3": { | "3": { | ||
"label": " | "label": "Page 3", | ||
"description": " | "description": { | ||
"en": "Full name of related page", | |||
"fr": "Nom complet de la page relative à laquelle vous voulez faire référence." | |||
}, | |||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"4": { | "4": { | ||
"label": " | "label": "Page 4", | ||
"description": " | "description": { | ||
"en": "Full name of related page", | |||
"fr": "Nom complet de la page relative à laquelle vous voulez faire référence." | |||
}, | |||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"l1": { | |||
"aliases": [ | |||
"label 1" | |||
], | |||
"label": "Label 1", | |||
"description": { | |||
"en": "Custom label for the link, instead of the page name.", | |||
"fr": "Texte alternatif affiché pour remplacer le nom de la page relative. " | |||
}, | |||
"example": { | |||
"fr": "Archives Documentation Actualités" | |||
}, | |||
"default": { | |||
"en": "Page name", | |||
"fr": "Copie de Nom de page" | |||
}, | |||
"type": "line" | |||
}, | |||
"l2": { | |||
"aliases": [ | |||
"label 2" | |||
], | |||
"label": "Label 2", | |||
"description": { | |||
"en": "Custom label for the link, instead of the page name.", | |||
"fr": "Texte alternatif affiché pour remplacer le nom de la page relative. " | |||
}, | |||
"default": { | |||
"en": "Page name", | |||
"fr": "Copie de Nom de page" | |||
}, | |||
"type": "line" | |||
}, | |||
"l3": { | |||
"aliases": [ | |||
"label 3" | |||
], | |||
"label": "Label 3", | |||
"description": { | |||
"en": "Custom label for the link, instead of the page name.", | |||
"fr": "Texte alternatif affiché pour remplacer le nom de la page relative. " | |||
}, | |||
"default": { | |||
"en": "Page name", | |||
"fr": "Copie de Nom de page" | |||
}, | |||
"type": "line" | |||
}, | |||
"l4": { | |||
"aliases": [ | |||
"label 4" | |||
], | |||
"label": "Label 4", | |||
"description": { | |||
"en": "Custom label for the link, instead of the page name.", | |||
"fr": "Texte alternatif affiché pour remplacer le nom de la page relative. " | |||
}, | |||
"default": { | |||
"en": "Page name", | |||
"fr": "Copie de Nom de page" | |||
}, | |||
"type": "line" | |||
} | |||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"1", | "1", | ||
"l1", | |||
"2", | "2", | ||
"l2", | |||
"3", | "3", | ||
"l3", | |||
"4", | "4", | ||
"l4" | |||
] | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
<includeonly>{{Sandbox other|| | |||
<!-- Categories below this line; interwikis at Wikidata --> | |||
[[Category:Hatnote templates{{#translation:}}]] | |||
<includeonly>{{ | |||
<!-- | |||
[[Category: | |||
}}</includeonly> | }}</includeonly> |
Revision as of 08:43, 20 July 2022
This is a documentation subpage for Template:Distinguish It may contain usage information, categories and other content that is not part of the original template page. |
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Distinguish in articles based on its TemplateData.
TemplateData for Distinguish
Adds warning "Not to be confused" on the reader's page, with a short list of related pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page 1 | 1 | Full name of related page | Page name | required |
Label 1 | l1 label 1 | Custom label for the link, instead of the page name.
| Line | optional |
Page 2 | 2 | Full name of related page | Page name | optional |
Label 2 | l2 label 2 | Custom label for the link, instead of the page name.
| Line | optional |
Page 3 | 3 | Full name of related page | Page name | optional |
Label 3 | l3 label 3 | Custom label for the link, instead of the page name.
| Line | optional |
Page 4 | 4 | Full name of related page | Page name | optional |
Label 4 | l4 label 4 | Custom label for the link, instead of the page name.
| Line | optional |