Template:Wikipedia link: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (try fix bug) |
||
Line 1: | Line 1: | ||
[https://{{{3|en}}}.wikipedia.org/wiki/{{{1|Minecraft}}} {{#switch:{{{2}}}|={{{1}}}| #default={{{2|{{{1|Minecraft}}}}}}}}] | [https://{{{3|en}}}.wikipedia.org/wiki/{{{1|Minecraft}}} {{#switch:{{{2}}}|={{{1|Minecraft}}}| #default={{{2|{{{1|Minecraft}}}}}}}}]<noinclude><br> | ||
<noinclude> | |||
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]. | ||
Line 40: | Line 39: | ||
<code><nowiki>{{wipa link|古明地こいし|Komeiji Koishi's Japanese Wikipedia page|ja}}</nowiki></code> | <code><nowiki>{{wipa link|古明地こいし|Komeiji Koishi's Japanese Wikipedia page|ja}}</nowiki></code> | ||
=== Effect === | === Effect === | ||
{{wipa link|古明地こいし|Komeiji Koishi's Japanese Wikipedia page|ja}} | {{wipa link|古明地こいし|Komeiji Koishi's Japanese Wikipedia page|ja}}</noinclude> | ||
</noinclude> |
Latest revision as of 16:36, 29 December 2022
Minecraft
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}}