Bản mẫu:Interwikitmp-grp/tài liệu

Văn thư lưu trữ mở Wikisource

 

  • ---- ver: FrankB 01:36, 12 February 2007 (UTC), Misc cleanup, esp. new V=# calls for P3 main template.
  • ----
  • ---- Update fm: P2E 18:03, 27 January 2007 (UTC)
  • ---- Source from cutdown interwikitmp-grp 01-25-2007,
  • ---- This to be included only by project support files.
  • ---- Should eliminate recursion side-effects totally,
  • ---- and simplifies both logic and categorization.
  • ----


Các tiêu bản tương tự tại các dự án liên quan[sửa]
mta Meta-wiki Interwikitmp-grp/tài liệu
wpd Wikipedia Interwikitmp-grp/tài liệu
cms Commons Interwikitmp-grp/tài liệu
wbk Wikibooks Interwikitmp-grp/tài liệu
wsp Wikispecies Interwikitmp-grp/tài liệu
wvy Wikiversity Interwikitmp-grp/tài liệu


Các liên kết dự án chị em sử dụng hệ thống gắn thẻ này (Mảng dưới đây được tạo ra bởi trang này):


Which Interwikitmp-grp is what[sửa]

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


Bản mẫu:Interwikitmp-grp (sửa đổi thảo luận liên kết lịch sử) — 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:
   Bản mẫu:Lcs
.


Bản mẫu:Interwikitmp-grp0 (sửa đổi thảo luận liên kết lịch sử) — 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.


Bản mẫu:Interwikitmp-grp1 (sửa đổi thảo luận liên kết lịch sử) — Use to tag generic and special purpose templates that link externally
      as their primary service function.
Associated Autocategories:
   Bản mẫu:Lcs, Bản mẫu:Lcs and Category:Interwiki utility templates. (These templates for example.)


Bản mẫu:Interwikitmp-grp2 (sửa đổi thảo luận liên kết lịch sử) — 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:
   Bản mẫu:Lcs and Category:Interwiki utility templates
.


Bản mẫu:Interwikitmp-grp3 (sửa đổi thảo luận liên kết lịch sử) — Utility templates that do other tasks besides linking. Some of these are typing or display aids for use within tables, etc.

Associated Autocategories:
   Bản mẫu:Lcs and Category:Interwiki utility templates Bản mẫu:I2Takes 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.)


Bản mẫu:Interwikitmp-grp4 (sửa đổi thảo luận liên kết lịch sử) — 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.)


Bản mẫu:Interwikitmp-grp5 (sửa đổi thảo luận liên kết lịch sử) — 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.)Bản mẫu:I2Note: This does not auto-categorize to 'Interwiki templates on all sisterprojects'.

Bản mẫu:Interwikitmp-grp6 (sửa đổi thảo luận liên kết lịch sử) — 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.) Bản mẫu:I2Note: 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)[sửa]

TABLE II - Exceptions handling... When a name is already used differently in a local sister project
Tag with Bản mẫu:TL— 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 Bản mẫu:Interwikitmp-grp exception (sửa đổi thảo luận liên kết lịch sử) 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 Bản mẫu:TL 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 Bản mẫu:TL, 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 Bản mẫu:Interwikitmp-grp ineligible (sửa đổi thảo luận liên kết lịch sử) to tag the local name exceptions.
Both the above exceptions templates take the 'work around' (Bản mẫu:WD) name for self documentation of the Bản mẫu: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 (preferred) or redirect to it on all sister's capable of having both name variations.