Jump to content

User:Cinister/lts/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

A small template to display the List Template (Short) (edit doc links hist)

Syntax: {{lts|*doc=yes|*{{{1}}}}}

*doc=yes

Adds doc links if this argument is included

*{{{1}}}

Refers all links to this page instead of the current page the template is called from.

* This parameter is [Optional].


Examples
This Gives this
{{User:Cinister/lts}}

(edit links hist)

{{User:Cinister/lts|User:Cinister}}

(edit links hist)

{{User:Cinister/lts|doc=yes}}

*(edit doc links hist)

{{User:Cinister/lts|doc=yes|User:Cinister}}

*(edit doc links hist)

[[User:Cinister]]{{User:Cinister/lts|doc=yes|User:Cinister/lts}}

**User:Cinister/lts(edit doc/edit links hist)

* When the document doesnt exist this will instead lead to a link to create/edit it (as all Wiki links do).
** When the document page exists the doc=yes option will add the /edit part since doc will lead to the actual document.

See also

[edit]