Template:Wikipedia/doc
From CruisersWiki
(Difference between revisions)
(Created page with "A link to Wikipedia page. The most common use: <nowiki>{{</nowiki>wikipedia}} will produce: [http://en.wikipedia.org/wiki/PAGENAME PAGENAME] at the Wikipedia where PAGENAME...") |
m |
||
Line 1: | Line 1: | ||
- | A link to Wikipedia page. | + | A link to a Wikipedia page. |
The most common use: | The most common use: |
Revision as of 15:40, 20 February 2016
A link to a Wikipedia page.
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| some text at the end}}
will produce:
Another variation:
{{wikipedia|||}}
gives:
Wikipedia/doc at the Wikipedia
take a note that there is no trailing text in this case.