Template:Wikipedia link: Difference between revisions

From ChewWiki
Jump to navigation Jump to search
wikipedia link template
Tag: 2017 source edit
 
m remove newlines
Tag: 2017 source edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[wikipedia:{{{1}}}|{{{2|{{{1}}}}}}]]
[[wikipedia:{{{1}}}|{{{2|{{{1}}}}}}]]<noinclude>
 
{{Documentation}}
<noinclude>
Makes a Wikipedia link to the specified page.
 
== Examples ==
 
* <code><nowiki>{{Wikipedia link|Corey Seager}}</nowiki></code> becomes {{Wikipedia link|Corey Seager}}
* <code><nowiki>{{Wikipedia link|Java (programming language)|Java}}</nowiki></code> becomes {{Wikipedia link|Java (programming language)|Java}}
 
=== Template Data ===
<templatedata>
{
"params": {
"1": {
"label": "Wikipedia Article",
"description": "The Wikipedia article to mention.",
"type": "string",
"required": true
},
"2": {
"label": "Literal Text",
"description": "The text to actually display in the article. Default: Wikipedia article name.",
"type": "string",
"suggested": true
}
}
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 22:32, 19 September 2024

[[wikipedia:{{{1}}}|{{{1}}}]]