Teamplaid:User-multi/link
Coltas
This template allows you to generate a single link using a link code from Teamplaid:User-multi. It is intended for use in link templates using unusual formatting that can't easily be converted to use {{User-multi}}. The link is output without any enclosing tags, so links using external link formatting will appear with the external link icon. You can avoid this by enclosing the link with <span class="plainlinks"></span> in your template.
Usage
[deasaich]- Basic usage
{{User-multi/single|<!-- link code -->|user={{{1|}}}}}
- All parameters
{{<includeonly>safesubst:</includeonly>User-multi/single
| user = {{{1|{{{User|{{{user|}}}}}}}}}
| project = {{{2|{{{Project|{{{project|}}}}}}}}}
| lang = {{{3|{{{Lang|{{{lang|}}}}}}}}}
| 1 = <!-- link code -->
| demo = {{{demo|}}}
}}
Link codes
[deasaich]The following link codes are available:
| Còd | Ro-shealladh |
|---|---|
| u | Example |
| t | deasbaireachd |
| c | mùthaidhean |
| api | API |
| bl | loga casg |
| bls | casg |
| bu | cleachdaiche bacadh |
| ca | àrd-uachdaranachd |
| coibot | COIBot |
| ct | iomlan |
| dc | sguabaidhean |
| del | sguabaidhean às |
| e | post-d |
| efl | criathrag mi-bhuilean |
| es | geàrr-chunntasan deasachaidhean |
| ggl | |
| http | http |
| l | logaichean |
| lu | liosta cleachdaichean |
| m | gluasadan |
| msg | message |
| pr | dìonan |
| rbl | RBLs |
| rdns | RDNS |
| ren | ath-ainmean |
| rfa | RfA |
| rl | ceadan |
| sbx | sandbox |
| sfs | StopForumSpam |
| sul | mùthaidhean-cruinne |
| sul2 | global contribs |
| tl | logaichean targaid |
| uc | user creation |
| up | luchdaidhean suas |
| whois | WHOIS |
| wlh | links to user page |
Parameters
[deasaich]- User or user: the username. An error is returned if this is omitted.
- Project or project: the interwiki prefix for the project you wish to link to. Please see Interwiki linking for a list of valid codes. For backwards compatibility, a language code can also be entered in this field.
- Lang or lang: the language code for the project you wish to link to. See List of Wikipedias for a complete list of language codes used by Wikimedia sites.
- demo: if this parameter is set to
yes, the template will not output any categories.
Examples
[deasaich]{{User-multi/link|t|user=Example}}→ deasbaireachd{{User-multi/link|ct|user=Example}}→ iomlan{{User-multi/link|dc|user=Example}}→ sguabaidhean{{User-multi/link|c|user=Example|project=b}}→ mùthaidhean{{User-multi/link|tl|user=Example|project=v|lang=fr}}→ logaichean targaid
| The above documentation is transcluded from Teamplaid:User-multi/link/documentation. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /documentation subpage. Subpages of this template. |