Template:Wikipedia/doc
From CruisersWiki
(Difference between revisions)
m |
(this part doesn't work) |
||
Line 41: | Line 41: | ||
{{wikipedia|Vathy, Samos|Vathy| some text at the end}} | {{wikipedia|Vathy, Samos|Vathy| some text at the end}} | ||
- | + | <!-- | |
Another variation: | Another variation: | ||
Line 48: | Line 48: | ||
gives: | gives: | ||
- | {{wikipedia|||}} | + | {{wikipedia||| }} |
take a note that there is no trailing text in this case. | take a note that there is no trailing text in this case. | ||
+ | --> |
Revision as of 17:45, 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: