Template:Wikipedia link: Difference between revisions
Jump to navigation
Jump to search
m (New abbreviations) |
mNo edit summary |
||
Line 5: | Line 5: | ||
It can be abbreviated as '''<nowiki>{{wipa link}}</nowiki>''' or '''<nowiki>{{pedia 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> or <code><nowiki>{{pedia 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 25: | Line 25: | ||
|en | |en | ||
|} | |} | ||
==Example 1 - Use parameter 1 only== | == Example 1 - Use parameter 1 only == | ||
<code><nowiki>{{pedia link|cat}}</nowiki></code> | <code><nowiki>{{pedia link|cat}}</nowiki></code> | ||
===Effect=== | === Effect === | ||
{{pedia link|cat}} | {{pedia link|cat}} | ||
==Example 2 - Use parameter 2== | == Example 2 - Use parameter 2 == | ||
<code><nowiki>{{pedia link|cat|Cilck here}}</nowiki></code> | <code><nowiki>{{pedia link|cat|Cilck here}}</nowiki></code> | ||
===Effect=== | === Effect === | ||
{{pedia link|cat|Cilck here}} | {{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> | ||
===Effect=== | === Effect === | ||
{{wipa link|猫||zh}} | {{wipa link|猫||zh}} | ||
==Example 4 - Use all parameters== | == Example 4 - Use all parameters == | ||
<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> |
Revision as of 10:08, 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