Jump to content

Template:Lts ਪੰਜਾਬੀ/Doc

From Wikiversity
main discussion & Queries: template talk:Lts


Similar templates at English sister projects [edit]
wpd Wikipedia Lts ਪੰਜਾਬੀ/Doc
cms Commons Lts ਪੰਜਾਬੀ/Doc
wbk Wikibooks Lts ਪੰਜਾਬੀ/Doc
wsp Wikispecies Lts ਪੰਜਾਬੀ/Doc
wvy Wikiversity Lts ਪੰਜਾਬੀ/Doc

}}</noinclude>

This template documentation is adapted and transcluded from Template:Interwikitmp-grpD [edit].

IWTG/doc

[edit]

 

:This Interwikitmp-grp ਪੰਜਾਬੀ (family of) templates documentation is transcluded from w:Template:Interwikitmp-grp ਪੰਜਾਬੀ/doc [edit local page].

ਸਧਾਰਣ ਵਰਤੋਂ

[edit]
This is usage for the nine+ 'interwiki template linking' and the various (8) Interwikitmp-grp ਪੰਜਾਬੀX 'auto-categorization' and template tagging and linking utilities.
  1. Each individual sister template ends with the suffix 'tmp' and start with the menemonic name of the sister, sometimes in abbreviated or CamelCase text form. (e.g. WikiPtmp, WikiNews, WikiSpecies are all CamelBack, whilst WikiPtmp is also an abbreviation.
  2. Each of the Interwikitmp-grp ਪੰਜਾਬੀX templates differ mainly in the categorization they perform and slight differences in usage text they present (Interwikitmp-grp ਪੰਜਾਬੀD, where 'D' is for documentation).
  3. Each number suffixed version differs in the mix of categories which they autotag for uniform categorization across the English language sister projects. This aids people by having common tools in common places that perform the same common way.
  4. Foreign language adaptations of this system are encouraged, but beyond the scope of this project. Copy the pages, and translate the usage, and you should be in good shape.


Which Interwikitmp-grp ਪੰਜਾਬੀ is what

[edit]
This template documentation is transcluded from Template:Interwikitmp-grps see also [edit].
TABLE I — Iterwikitmp-grp## applications guide

Interwikitmp-grp Page Suffix ##'s Designatinations versus key associated autocategorizations


Template:Interwikitmp-grp (edit talk links history) — Common template that does the display for most of the other templates below, AND the one to use to tag vanilla utilities with when in doubt.

Associated Autocategories:
   Category:Interwiki utility templates (edit talk links history)
.


Template:Interwikitmp-grp0 (edit talk links history) — This template is used to tag all the other templates that make up this interconnection system—those used to tag templates with interwiki scope. These are currently also tagged under Category:Interwiki utility templates pipesorted by '!' (exclaimation point). [depreciated method]
  • note: The various individual template tagging templates Metatmp, commontmp, ..., Wikiversitytmp also autocategorze in this manner.

Associated Autocategory:
   Category:Interwiki template-links-tagging templates.


Template:Interwikitmp-grp1 (edit talk links history) — Use to tag generic and special purpose templates that link externally
      as their primary service function.
Associated Autocategories:
   Category:Interwiki link templates (edit talk links history), Category:Interwiki templates on all sisterprojects (edit talk links history) and Category:Interwiki utility templates. (These templates for example.)


Template:Interwikitmp-grp2 (edit talk links history) — Utility templates which create internal links used for analysis, discussion and tracking other system elements (Categories, Templates, User pages, et. al.) by service function on the local (some are inter-sister) project site. (Lts, TL, Tlx, Cl, Cc, Lcs, CAT, etc.)


Associated Autocategories:
   Category:Internal link templates (edit talk links history) and Category:Interwiki utility templates
.


Template:Interwikitmp-grp3 (edit talk links history) — Utility templates that do other tasks besides linking. Some of these are typing or display aids for use within tables, etc.

Associated Autocategories:
   Category:Miscellaneous templates (edit talk links history) and Category:Interwiki utility templates

Takes a perameter 'cat=alternate name' to override default 'Miscellaneous' with whatever is passed. (normally a sub-category of Miscellaneous. A blank perameter 'cat=|' inhibits that category altogether.)


Template:Interwikitmp-grp4 (edit talk links history) — Combined '-1' and '-3' tagging of Miscellaneous class utility templates that also link externally.
Associated Autocategories:
   Additive by Interwikitmp-grp## suffixes per above key groups.

   Category:Interwiki link templates and Category:Miscellaneous templates
   Takes a perameter 'cat=alternate name' to override default 'Miscellaneous' with whatever is passed. (normally a sub-category of Miscellaneous. A blank perameter 'cat=|' inhibits that category altogether.)


Template:Interwikitmp-grp5 (edit talk links history) — Combined '-2' and '-3' Interwikitmp-grp## suffixes,
for tagging of 'Miscellaneous class' utility templates that also link internally.


Associated Autocategories:
   Additive by Interwikitmp-grp## suffixes per above key groups.

   Category:Internal link templates and Category:Miscellaneous templates
   Takes a perameter 'cat=alternate name' to override default 'Miscellaneous' with whatever is passed. (normally a sub-category of Miscellaneous. A blank perameter 'cat=|' inhibits that category altogether.)

Note: This does not auto-categorize to 'Interwiki templates on all sisterprojects'.

Template:Interwikitmp-grp6 (edit talk links history) — Combined '-1' + '-2' + '-3' Interwikitmp-grp## suffixes, however rare in that possess linking both locally and interwiki; usually various category tagging templates (a series) with the commons, Wikipedia, or Metawiki back-linked articles fit this group.


Associated Autocategories:

Additive by Interwikitmp-grp## suffixes per above key groups.
  • (Such templates have both 'interwiki' and 'internal' (intra-wiki) links and map to both major link's categories.

Category:Interwiki link templates + Interwiki link templates + Category:Miscellaneous templates

  • However, tagging for Category:Miscellaneous templates should be local to enable maximum flexibility of the overall system. Such category tagging templates are NOT Miscellaneous.)

    Note: This does not auto-categorize to 'Interwiki templates on all sisterprojects'.
Interwikitmp-grp7 (provisional—not used)
Associated Autocategories: none, use not allocated.
Interwikitmp-grp8 (provisional—not used)
Associated Autocategories: none, use not allocated.
Interwikitmp-grp9 (provisional—not used)
Associated Autocategories: none, use not allocated.
Interwikitmp-grp10 (provisional—not used)
Associated Autocategories: none, use not allocated.

Exceptions table (Revised concept)

[edit]
TABLE II - Exceptions handling... When a name is already used differently in a local sister project
Tag with {{Interwikitmp-grp exception}}— denotes and tags a This name in use conflict Exception— Thus this name is not available on all sister's for the same function as used for something else on another sister project.


:Autocategory: Category:Interwiki name difference other sister project

Procedure:

  1. It should not need said, but check to see how widely a 'deviant template' is used. If its use is slight, it may be easiest to 'cure the deviation' by substiuting another template name on the given sister project.
  2. Tag the generic (or 'common template', the one to be the most widespread as a name on most sister projects before porting it) with Template:Interwikitmp-grp exception (edit talk links history) which compliments the below template and autocategorizes, plus asserts a status message box.
  3. Consider whether the incompatible template makes a good utility for export to other sister projects
         (Some may exist as minor or essentially identical variations of other universal template names. If so, don't alias such. One is enough!)
  4. Other tagging in the 'common template' must be manual inserting the array in {{Interwikitmp-grp}} and changing the appropriate arguments for the chosen aliased name in the sister(s) linking template with the name collision.
  5. Tag with the common category/(ies) extant in {{Interwikitmp-grp}}, or other such case as fits best to the groupings delineated in TABLE I above.
  6. Procede as below on that sister which has the template deviation, and any others with incompatible templates.
On the flip-side:
In general
Use Template:Interwikitmp-grp ineligible (edit talk links history) to tag the local name exceptions.
Both the above exceptions templates take the 'work around' (Template:WD) name for self documentation of the Template:WD. That name should be provided the master template copy being aliased on the sister(s) with the name conflict in their normal template set.

Associated Autocategory:

Category:Interwiki templates varying on other sister projects, provided by the correct tagging.
The replacement template 'alias' (providing name-to-function mapping) must be universally available on all sister's, and tagged normally and copied to same with the appropriate Interwikitmp-grp##. If the Sister(s) with a template name conflict have that name as a useful general purpose utility or tool template, that name should also be aliased and distributed.
Examples of name remapping':
  1. e.g Tl-->TL, Cat-->CAT, etc., Using a case-of-name alternative.
  2. e.g. 'S'/'s' --> '{{SP}}', 'W'/'w' ---> '{{W2}}', etc., all examples of Suffix alternatives
  3. e.g. '{{C}}'/'c' --> '{{W2c}}', (the commons), a special case to maintain similar syntax with 'W2' for Wikipedia, and 'Wd' for Wiktionary (Wiki-Dictionary) and 'Wb' for Wikibooks, etc., all part of a family of user friendly utility templates that pipetrick and display nicely, yet allow an edit change of a one or two letter(s) to redirect the mnemonic link name to another sister project.
Any universal name 'alias' should either duplicate the original source template (prefered) or redirect to it on all sister's capable of having both name variations.

Interwikitmp-grp ਪੰਜਾਬੀ ਵਰਤੋਂ

[edit]

Template:Interwikitmp-grpNN usage

ੀਹ ਵੀ ਦੇਖੋ

[edit]

Template:Interwikitmp-grps see also </noinclude>

ਡਾਕੂਮੈਂਟੇਸ਼ਨ

[edit]

W:Template:Lts, M:Template:Lts, etc. on various sister projects is a smaller variant of Lt with pleasant output, for use especially also on browsers which don't support ·.

ਵਰਤੋਂ

[edit]

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

ਉਦਾਹਰਨ

[edit]
Code Result
{{Lts|Lt}} Template:Lt (edit talk links history)
{{Lts}} Template:Lts ਪੰਜਾਬੀ/Doc (edit talk links history)

ਇਹ ਵੀ ਦੇਖੋ

[edit]
Template:Lts (edit talk links history) for templates
Template:Lcs (edit talk links history) for categories
Template:Lps (edit talk links history) for {{ns:Project}} (= Wikiversity)
Template:Ltsmeta (edit talk links history) for templates copied from Meta
Template:Lts/ (edit talk links history) for template lists (see below)
Template:Lx (edit talk links history) boilerplate for the Lx family
Category:Internal link templates for a comparison of this zoo see below
Template:Ltsmeta
Template:Ltsmeta
Template:Ltsmeta

Comparison

[edit]

We got a zoo of similar templates, pick what you like. This list is probably incomplete and intentionally omits variants with parameters like {{Tlx|A|B|...|C}} and redirections like {{Tln}}[Template:Lt] :

On en.Wikipedia templates X0,..., X9
are sandbox templates for experimentation, that must occur in template space.
Templates such as that would generally include templates like these below that need to refer to template space. Normally, X0, X1, X2,... would be sub-templates of an esoteric template under development, and these are tools to deal with such situations from a test bed or discussion page.
   
Source Code Result
Template:Lts/ {{lt|W2}} Template:Lt
Template:Lts/ {{lts|W2}} Template:W2 (edit talk links history)
Template:Lts/ {{lts/|W2}} Template:Lts/
Template:Lts/ {{tetl|W2}} Template:Tetl
Template:Lts/ {{ti|W2}} Template:Ti
Template:Lts/ {{tic|W2}} Template:Tic
Template:Lts/ {{tiw|W2}} w:template:W2 ( talk edit history links )
Template:Lts/ {{tl|W2}} {{W2}}
Template:Lts/ {{tls|W2}} Template:Tls
Template:Lts/ {{tlsetl|W2}} Template:Tlsetl
Template:Lts/ {{tlt|W2}} Template:Tlt
Template:Lts/ {{ttl|W2}} Template:Ttl
Template:Lts/ {{twlh|W2}} Template:Twlh