Template:Wikipedia
From CruisersWiki
(Difference between revisions)
(5 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | <includeonly> | + | <includeonly>[http://en.{{{wiki|wikipedia}}}.org/wiki/{{PAGENAMEE:{{?|test={{{1|}}}|{{{1}}}|{{PAGENAME}}}}}} {{?|test={{{2|}}}|{{{2}}}|{{PAGENAME}}}}]{{?|test={{{3|}}}|| at the {{?|test={{{wiki|}}}|{{ucfirst:{{{wiki}}}}}|Wikipedia}}}}</includeonly><noinclude> |
{{doc}} | {{doc}} | ||
[[Category:Templates|Wikipedia]] | [[Category:Templates|Wikipedia]] | ||
</noinclude> | </noinclude> |
Latest revision as of 10:58, 24 February 2016
A link to a Wikipedia page.
{{wikipedia|wikipedia page name|link text|suppress " at the Wikipedia"}}</nowiki>
- Parameters
- 1 - wikipedia page name
- 2 - text of the link
- 3 - notail - suppress " at the Wikipedia" at the end
all parameters are optional.
The most common use:
{{wikipedia}}
will produce:
PAGENAME at the Wikipedia
where PAGENAME is the name of the page and the link points to: http://en.wikipedia.org/wiki/PAGENAME
With 1 parameter:
{{wikipedia|Vathy, Samos}}
will produce:
PAGENAME at the Wikipedia
where the link points to: http://en.wikipedia.org/wiki/Vathy,_Samos
With 2 parameters:
{{wikipedia|Vathy, Samos|Vathy}}
will produce:
Vathy at the Wikipedia
(the link points to: http://en.wikipedia.org/wiki/Vathy,_Samos)
With 3 parameters:
{{wikipedia|Vathy, Samos|Vathy|notail}}
will produce: