User:Mathglot/sandbox/Templates/This article/doc: Difference between revisions

Content deleted Content added
Original.
 
Update for positional param 1 (alias 'text').
Line 5:
== Usage ==
{{tlc|this article}}{{br}}
{{tlc|this article|cap{{=}}y}}{{br}}
{{tlc|this article|this Wikipedia page}}
 
== Parameters ==
There isare onetwo optional parameterparameters:
* {{para|cap}} – if present, emits a capital 'T' on the word ''This''
* {{para|1}} – alters the wording to whatever you specify (alias: {{para|text}}; default: "this article")
 
== Examples ==
* {{tlc|this article|code=y|_show_result=y}}
* {{tlc|this article|cap{{=}}y|code=y|_show_result=y}}
* {{tlc|this article|this Wikipedia page|code=y|_show_result=y}}
 
== Notes ==
This template tags the words "this article" (or whatever you specify in param 1) as an inline [[WP:SELFREF|self reference]] when the article is viewed at Wikipedia. Anywhere else, the words "the Wikipedia article" are emitted.
 
<includeonly>{{Sandbox other||