Template:Ltsany/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Ltsany (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.
Note page has hidden operative code when viewed directly.
Version at a glance for M:TSP [ Template:Ltsmta ]
Version Origin Change Description datestamp and programmer
Ver: B Meta m Fix typo: Put {{template doc page viewed directly}} back on page. FrankB 21:54, 5 March 2007 (UTC)
Ver: A Meta m (add missing meta prefix), Add this version table with {subst:WPTSP version} and subsequently initialize the table FrankB 21:44, 5 March 2007 (UTC)
from: 05:10, 5 March 2007 (UTC)
Ver: _ Meta Origin/Genesis--in six steps: (create by subst {interwiki doc page pattern) for interwiki portable documentation needs to sisters. Add subsequent usage and examples using interwiki portable techniques. FrankB 04:43, 24 February 2007 (UTC))
from: 19:02, 23 February 2007 (UTC)
Similar templates at English sister projects [edit]
mta Meta-wiki Ltsany/doc
wpd Wikipedia Ltsany/doc
cms Commons Ltsany/doc
wbk Wikibooks Ltsany/doc
wsp Wikispecies Ltsany/doc
wvy Wikiversity Ltsany/doc

[edit] Usage

This {{Ltsany/doc|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 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/doc 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.
A 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.