Difference between revisions of "Template:param"
m (Moving Category to Docs subpage) |
(+link Other Languages) |
||
Line 1: | Line 1: | ||
− | <onlyinclude>;<code>{{#if: {{{4|}}} |[[{{{1|LongType}}}|{{{4|DisplayedLongType}}}]] |[[{{{1|LongType}}}]]}} {{{2|param}}}</code>: {{{3|Some description goes here.}}}</onlyinclude> | + | <onlyinclude>;<code>{{#if: {{{4|}}} |[[{{{1|LongType}}}|{{{4|DisplayedLongType}}}]] |[[{{{1|LongType}}}]]}} {{{2|param}}}</code>: {{{3|Some description goes here.}}}</onlyinclude><noinclude> |
{{documentation}} | {{documentation}} | ||
+ | [[Category:Templates]] | ||
+ | == Other Languages == | ||
+ | {{i18n|Template:param}} | ||
+ | </noinclude> |
Latest revision as of 14:44, 13 November 2019
LongType param
- Some description goes here.
[edit] [ ] Template documentation
This template is used to explain the arguments and returns of a function. Usually preceded by a usage example of said function.
Contents
Usage
{{param|Page name|argument or return name|description|optional display page name}}
Parameters
- 1
- The name of the page describing the type of the argument/return. This will be a link to that page.
- 2
- The name of the argument/return, as used in the preceding function usage example.
- 3
- A description of the argument/return.
- 4
- With this optionally change the text to be displayed in the link.
- This is useful for translations, when the page name would be, for example, Source (Português), we can display it as Source.
Examples
{{param|AlignMode|align|Text Alignment}}
AlignMode align
- Text Alignment
{{param|AlignMode_(Português)|alinhamento|Alinhamento do texto|ModoDeAlinhar}}
ModoDeAlinhar alinhamento
- Alinhamento do texto
The above documentation is transcluded from Template:param/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info