Template:Wp/doc
From TrainzOnline
< Template:Wp(Difference between revisions)
(tidy up, purge) |
|||
Line 10: | Line 10: | ||
|{{Wp|Service Pack|}} | |{{Wp|Service Pack|}} | ||
|- | |- | ||
− | | <nowiki>{{Wp|Service | + | | <nowiki>{{Wp|Service pack|}}</nowiki> |
− | |{{Wp|Service | + | |{{Wp|Service pack|}} |
|- | |- | ||
| <nowiki>{{Wp|Graphical user interface|GUI}}</nowiki> | | <nowiki>{{Wp|Graphical user interface|GUI}}</nowiki> |
Revision as of 23:26, 28 June 2013
- usage
This {{{{#if:1| }}Wp{{#if:1| | 1 }}{{#if:2| | 2 }}{{#if:| | {{{4}}} }}{{#if:| | {{{5}}} }}{{#if:| | ... }}{{#if:1| }}}} template links to the English Wikipedia page give as the first parameter {{{1}}}, and pretty-ups the link to the article's page by an alternative text name or phrase if and when given a second parameter {{{2}}}, else displays the full name given as the output phrase or word.
- Examples
Calling syntax | resulting link appears as: |
{{Wp|Trainz}} | [[Wikipedia:Service Pack|]] |
{{Wp|Service pack|}} | [[Wikipedia:Service pack|]] |
{{Wp|Graphical user interface|GUI}} | GUI |