Template:Wikiquote lang: Difference between revisions
Content deleted Content added
Trappist the monk (talk | contribs) lang function name change; |
m documentation |
||
Line 1: | Line 1: | ||
[[Image:Wikiquote-logo.svg|15px]] {{#if:{{#invoke:lang|is_ietf_tag|{{{1}}}}}|{{#invoke:lang|name_from_tag|{{{1}}}}}}} [[Wikiquote]] has quotations related to: '''[[:{{#if:{{#invoke:lang|is_ietf_tag|{{{1|}}}}}|q:{{{1|<noinclude>en</noinclude>}}}|oldwikiquote}}:{{{2|{{PAGENAME}}}}}|{{{3|{{{2|{{PAGENAME}}}}}}}}]]'''<noinclude> |
[[Image:Wikiquote-logo.svg|15px]] {{#if:{{#invoke:lang|is_ietf_tag|{{{1}}}}}|{{#invoke:lang|name_from_tag|{{{1}}}}}}} [[Wikiquote]] has quotations related to: '''[[:{{#if:{{#invoke:lang|is_ietf_tag|{{{1|}}}}}|q:{{{1|<noinclude>en</noinclude>}}}|oldwikiquote}}:{{{2|{{PAGENAME}}}}}|{{{3|{{{2|{{PAGENAME}}}}}}}}]]'''<noinclude> |
||
{{Documentation|content= |
|||
This template accepts three parameters: |
This template accepts three parameters: |
||
:<nowiki>{{wikiquotelang|1|2|3}}</nowiki> |
:<nowiki>{{wikiquotelang|1|2|3}}</nowiki> |
||
Line 14: | Line 15: | ||
[[Category:Wikiquote link templates]] |
[[Category:Wikiquote link templates]] |
||
</noinclude> |
}}</noinclude> |
Revision as of 00:34, 6 March 2023
Wikiquote has quotations related to: Wikiquote lang
![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
This template accepts three parameters:
- {{wikiquotelang|1|2|3}}
- 1 is the language code for a wikiquote. Leave "1" blank, or assign to anything other than a language prefix, in order to link to the multilingual wikiquote (http://wikiquote.org/)
- 2 is the page to which you're linking. Optional.
- 3 is an optional parameter: the text that may appear instead of 2. Optional.
- If neither 2 or 3 are specified, the pagename will be used.