Template:Wp/doc: Difference between revisions

-
(-)
Line 12: Line 12:
The syntax for the template is:
The syntax for the template is:


{{tlc|wp |''article name'' |''custom link text'' |sect=''article section/subheader'' |lang=''language code'' }}
{{tlc|wp |''article name'' |''custom link text'' |''language code'' }}


===Optional parameters===
===Optional parameters===
Line 20: Line 20:


;<big>Notes</big>
;<big>Notes</big>
* The article name has to be written exactly as it is on the Wikipedia page; i.e. with diacritics and not translated (e.g. for the Swedish Wikipedia article on the Swedish judicial system's courts of appeal, "{{wp|Hovrätt|lang=sv}}", you have to write <tt>Hovrätt</tt>, and not <tt>Hovratt</tt>, <tt>Hovraett</tt>, or <tt>Court of appeal</tt>). If you want the link to show something other than the article's name, use the ''custom link text'' parameter.
* The article name has to be written exactly as it is on the Wikipedia page; i.e. with diacritics and not translated (e.g. for the Swedish Wikipedia article on the Swedish judicial system's courts of appeal, "{{wp|Hovrätt||sv}}", you have to write <tt>Hovrätt</tt>, and not <tt>Hovratt</tt>, <tt>Hovraett</tt>, or <tt>Court of appeal</tt>). If you want the link to show something other than the article's name, use the ''custom link text'' parameter.


;<big>Usage</big>
;<big>Usage</big>
3,860

edits