Template:Wp/doc: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Fabartus (talk | contribs)
No edit summary
Fabartus (talk | contribs)
No edit summary
Line 1: Line 1:
<div style="border:2px solid blue; width:90%; Align:left; background:azure;">
<div style="border:2px solid blue; width:90%; Align:left; background:azure;">
;usage:
;usage:
This template links to the English Wikipedia page give as the first parameter '''<nowiki>{{{1}}}</nowiki>''', and pretty-ups the link to the article's page by an ''alternative text name or phrase'' if and when given a second parameter '''<nowiki>{{{2}}}</nowiki>''', else displays the full name given as the output phrase or word.
This {{Tlx|Wp|1|2}} template links to the English Wikipedia page give as the first parameter '''<nowiki>{{{1}}}</nowiki>''', and pretty-ups the link to the article's page by an ''alternative text name or phrase'' if and when given a second parameter '''<nowiki>{{{2}}}</nowiki>''', else displays the full name given as the output phrase or word.


;Examples:
;Examples:

Revision as of 10:18, 13 June 2013

usage

This {{ Wp | 1 | 2 }} 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