قالب:Ltsany


Version at a glance for M:TSP [ Template:Ltsany ]
Version Origin Change Description datestamp and programmer
Ver:D3b Meta +Commons Change default mode to trail site indication, like ltsmeta
Add missing parens when tested on commons, and select better test parameters // Also remove trailing inline comment (lts guts) and fix table title line (wasn't subst'd)
FrankB 07:55, 5 March 2007 (UTC)
from ca.FrankB 07:45, 5 March 2007 (UTC)
Ver: C Meta → Commons → Meta Fixed serious logic flaw, Added this table and initialized version records
Note: Fully tested on [[قالب:CMS:Template talk:Ltsany]], so all links work locally and interwiki.
Includes (fix up ifexist properly per CBDunkerson fix on en.wp/10:31, 28 February 2007)
FrankB 07:25, 5 March 2007 (UTC)
from: ca. 04:27, 5 March 2007 (UTC)
Ver: B Meta→Wikipedia
→Meta
Add lang parameter, ifexist test and default usage FrankB 16:05, 24 February 2007 (UTC)
from: ca. 03:26, 24 February 2007 (UTC)
Ver: A Meta (revise out depreciated Cms for CMS, and create doc page -- Iterim, needs lang handling next) FrankB 19:10, 23 February 2007 (UTC)
Ver: _ Meta Origin--(Create from ltsmeta)--one of several interwiki templates for documentation needs to sisters FrankB 06:20, 19 February 2007 (UTC)


This template documentation is transcluded for all templates which include the common usage page: Template:Ltsany/doc.   [edit common usage page]. Masterpage 

Usage

This {{Ltsany|template name}} shows key links for a template also available on other sister projects (Meta, the commons, Wikipedia, etc. It's used for templates often copied from one sister project to another sister project, or vice versa which are categorized in [[قالب:CMSCategory:Interwiki utility templates|Interwiki utility templates]].
In general it is a means of checking interwiki on the key perameters that may be affected by a change in the template page where used (i.e. '{PAGENAME}' is default), or which is specified by the first argument, if given one.
Overall, Ltsany is a generalization of {{Lts}}/{{Ltsmeta}} and {{Lts/}} all shorter forms of {{Lt}} which stands for 'Links of Template' with some extra parameters and is generally more capable for that reason. This usage also covers the 'filter' or 'front end templates' (typing-aid class templates) which call it when doing their work.
For the English language sister projects these are:
{the set of: ltsmda, ltsmta,  ltswbk,  ltswdy,  ltswqt,  ltswsr,  ltswnw,  ltswpd,  ltswsp,  ltswvy}
which respectively match the sister projects:
{Wikibooks, Wiktionary, Wikimedia, Meta-wiki, Wikiquote, Wikisource, Wikinews, Wikipedia, Wikispecies, and Wikiversity},
where any 'wiki' is ignored, 'Tionary' is assumed as Wiki-Dictionary, and that order is more or less alphabetical given those alterations.
  1. Ltsany is designed to take the named parameter 'SISTER=site pre-fix or name' allowing one to inspect, update, or maintain a template on the other foundation's servers and is a tool of m:MP:TSP.

  2. By default, the logic will access the Wikimedia Foundation site 'Mediawiki Commons' via the register template {{CMS}} — which is defined as 'commons:' on all sister's except for the commons itself, where the value is a null value ({{void}}). The 'SISTER' parameter overrides the default prefix provided by {{CMS}} allowing the necessary full url links to be made to the SISTER.

  3. A second named parameter 'LANG=' may be defined for such foundation projects which Mediawiki software will translate into an url such as 'de.wikipedia', 'fr.wikibooks', 'ja.wiktionary', etcetera.


Other Sister Projects sharing this template or one like it

Metawiki has this template:
Metawiki
[[M:template:|]]


                 

</noinclude>


Wikipedia
Wikipedia has this template: Ltsany


Commons
The sister project Wikimedia Commons has this template: Ltsany


Wikibooks logo
The sister project Wikibooks has this template: Ltsany


Wikiquote
The sister project Wikiquote has this template: Ltsany


Wikisource
The sister project Wikisource has this template: Ltsany


قالب:Wiktionarytmp
Wikinews
The sister project Wikinews has this template: Ltsany


Wikispecies
The sister project Wikispecies has this template: Ltsany


Wikiversity
The sister project Ltsany has this template:
Ltsany






Documentation

W:Template:Lts, M:Template:Lts, etc. on various Sister projects are a smaller variant of {{Lt}} with pleasant output, for use especially also on browsers which don't support &middot;.

Usage

{{Lts|template}} shows links for the specified template.
{{Lts}} shows links for a template wrt the {{PAGENAME}}.

Example

Code Result
{{Lts|Lt}} Template:Lt (تحرير نقاش ارتباطات تاريخ)
{{Lts}} Template:Ltsany (تحرير نقاش ارتباطات تاريخ)


See also

Template:Lts (تحرير نقاش ارتباطات تاريخ) for templates
Template:Lcs (تحرير نقاش ارتباطات تاريخ) for categories
Template:Lps (تحرير نقاش ارتباطات تاريخ) for {{ns:Project}} (= المعرفة)
Template:Ltsmeta (تحرير نقاش ارتباطات تاريخ) for templates copied from Meta
Template:Lts/ (تحرير نقاش ارتباطات تاريخ) for template lists (see below)
Template:Lx (تحرير نقاش ارتباطات تاريخ) boilerplate for the Lx family
Category:Internal link templates for a comparison of this zoo see below
Template:Lps (edit talk links history) on Meta
Template:Lts (edit talk links history) on Meta
Template:Ltsmeta (edit talk links history) on Meta


Comparison

We got a zoo of similar templates, pick what you like. This list is probably incomplete and intentionally omits variants with parameters like {{Tlx}} and redirections like {{Tln}}:

Source Code Result
links talk edit {{lt|x4}} Template:X4 (edit|talk|history|links|watch|logs)
links talk edit {{lts|x4}} Template:X4 (تحرير نقاش ارتباطات تاريخ)
links talk edit {{lts/|x4}} links talk edit
links talk edit {{tetl|x4}} {{ x4 }}
ارتباطات نقاش عرض
links talk edit {{ti|x4}} Template:x4 (talk⧼dot-separator⧽links⧼dot-separator⧽edit)
links talk edit {{tic|x4}} Template:x4 (talk links edit)
links talk edit {{tiw|x4}} Template:x4 (talk, backlinks, edit)
links talk edit {{tl|x4}} {{x4}}
links talk edit {{tls|x4}} {{subst:x4}}
links talk edit {{tlsetl|x4}} {{ subst:x4 }}
 links talk view
links talk edit {{tlt|x4}} {{x4}} (talk)
links talk edit {{ttl|x4}} {{x4}} (t/l)
links talk edit {{twlh|x4}} Template:x4 (links, talk)