Template:Wikipedia link: Difference between revisions
Jump to navigation
Jump to search
(Created page with "[https://{{{3|en}}}.wikipedia.org/wiki/{{{1|Minecraft}}} {{#switch:{{{2}}}|={{{1}}}| #default={{{2|{{{1|Minecraft}}}}}}}}] <noinclude> This template allows users to quickly create a hyperlink to [https://www.wikipedia.org/wiki/ Wikipedia]. It can be abbreviated as '''<nowiki>{{wipa link}}</nowiki>''' ==Usage== <code><nowiki>{{Wikipedia link|1|2|3}}</nowiki></code> or <code><nowiki>{{wipa link|1|2|3}}</nowiki></code> {| class="wikitable sortable fandom-table" |+ !Templa...") |
m (New abbreviations) |
||
Line 3: | Line 3: | ||
This template allows users to quickly create a hyperlink to [https://www.wikipedia.org/wiki/ Wikipedia]. | This template allows users to quickly create a hyperlink to [https://www.wikipedia.org/wiki/ Wikipedia]. | ||
It can be abbreviated as '''<nowiki>{{wipa link}}</nowiki>''' | It can be abbreviated as '''<nowiki>{{wipa link}}</nowiki>''' or '''<nowiki>{{pedia link}}</nowiki>''' | ||
==Usage== | ==Usage== | ||
<code><nowiki>{{Wikipedia link|1|2|3}}</nowiki></code> or <code><nowiki>{{wipa link|1|2|3}}</nowiki></code> | <code><nowiki>{{Wikipedia link|1|2|3}}</nowiki></code> or <code><nowiki>{{wipa link|1|2|3}}</nowiki></code> or <code><nowiki>{{pedia link|1|2|3}}</nowiki></code> | ||
{| class="wikitable sortable fandom-table" | {| class="wikitable sortable fandom-table" | ||
|+ | |+ | ||
Line 26: | Line 26: | ||
|} | |} | ||
==Example 1 - Use parameter 1 only== | ==Example 1 - Use parameter 1 only== | ||
<code><nowiki>{{ | <code><nowiki>{{pedia link|cat}}</nowiki></code> | ||
===Effect=== | ===Effect=== | ||
{{ | {{pedia link|cat}} | ||
==Example 2 - Use parameter 2== | ==Example 2 - Use parameter 2== | ||
<code><nowiki>{{ | <code><nowiki>{{pedia link|cat|Cilck here}}</nowiki></code> | ||
===Effect=== | ===Effect=== | ||
{{ | {{pedia link|cat|Cilck here}} | ||
==Example 3 - Use parameter 3 but not parameter 2== | ==Example 3 - Use parameter 3 but not parameter 2== | ||
<code><nowiki>{{wipa link|猫||zh}}</nowiki></code> | <code><nowiki>{{wipa link|猫||zh}}</nowiki></code> |
Revision as of 08:18, 29 December 2022
This template allows users to quickly create a hyperlink to Wikipedia.
It can be abbreviated as {{wipa link}} or {{pedia link}}
Usage
{{Wikipedia link|1|2|3}}
or {{wipa link|1|2|3}}
or {{pedia link|1|2|3}}
Templates | Description | Default |
---|---|---|
1 | Required. Page name in Wikipedia | Minecraft |
2 | Optional. Displayed text. If nothing is filled in, it is the same as 1. | |
3 | Optional, specify the Wikipedia in a specific language, and the default is en. The content filled in must be the abbreviation of the language name in the this table, otherwise it is invalid. |
en |
Example 1 - Use parameter 1 only
{{pedia link|cat}}
Effect
Example 2 - Use parameter 2
{{pedia link|cat|Cilck here}}
Effect
Example 3 - Use parameter 3 but not parameter 2
{{wipa link|猫||zh}}
Effect
Example 4 - Use all parameters
{{wipa link|古明地こいし|Komeiji Koishi's Japanese Wikipedia page|ja}}
Effect
Komeiji Koishi's Japanese Wikipedia page