Jump to content

Template:Interwikitmp-grp: Difference between revisions

From IdeaWazaWiki
wikademia>Fabartus
Imp from en.wp (iterim update--newer one coming) + fixups
wikademia>Wikademia
m 6 revisions
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>&nbsp;
<noinclude>{{WPTSP}}&nbsp;<!-----
'''Ver: Pass 2Fc''' --
---- Begin block comment to retain old change record until Pass 3 is proven in tests on Wikipedia.
books 06:44, 28 January 2007 (UTC)
----> '''Ver: 3a Pass 4_c''' Wikibooks ← Commons ← Commons (2x, a+b)<!--
species, 07:15, 28 January 2007 (UTC)
----
versity, 07:43, 28 January 2007 (UTC)
--->
[[User:FrankB|Fra]]<font color="green">[[User talk:Fabartus|nkB]]</font> 07:48, 28 January 2007 (UTC)
 
'''Interwikitmp-grp''' with a facelift per TfD suggestions...
==Table 2==
 
<tt>
  Implicit scope is at least revolutionary, denote as Pass-2F genesis, 04:30 (utc), 26 January 2007 (UTC)
;IWG_links quick usage:
Major changes in technique and appearance.  
* '1'=='E'dit / '2'=='L'inks / '3'=='H'istory / '4'=='SISTER'(prefix) [add colons too!]
* '5'=='PAGENAME override / T=toggle namespace, undefined--category space, defined Template space.</tt>
Eliminates need for array of XXXXtmp templates which is beneficial in and of itself.
* {{lts|IWG links}} -- {{Tlx|IWG links|<nowiki>T=1| | | | </nowiki>}}
</noinclude><!---
</noinclude><includeonly>[[category:Interwiki utility templates | {{{1|{{PAGENAME}}}}}]] <!--- This kept here, depreciated below for system templates. This cat tracks tagged 'tools templates', but no longer tracks the systems templates. </includeonly>
----- ------------------------------------------------------------------
<table style="clear: right; float:right; border: 1px solid black; padding: 5px; margin: 5px;">
-----                                                              -----
<!-- Keep in this same regular consistant order  --->
----- Begin dynamically sized tagging table with links and options -----
----- ------------------------------------------------------------ -----
----><table style=" clear: right; float:right; <!---
----- ------------> border: 1px solid black; padding: 5px; margin:5px;"><!---
-----
------------------------------------------------------------------------
----->
   <tr>
   <tr>
     <th colspan="4">Similar templates at English sister projects</th>
     <th colspan="4"><small>Similar templates at English sister projects <small>[<span class="plainlinks">[{{fullurl:Template:Interwikitmp-grp|action=edit}} edit]</span>]</small></small></th><!----
-----------------------------------------------------------------
-----
-----------------------------------------------------------------
-----
----->
   </tr>
   </tr>
{{#if: {{{mta}}} |
{{#if: {{{mta|}}}{{{meta|}}} | <!--- Meta-wiki or Meta --->
   <tr>
   <tr>
     <td>[[Image:Wikimedia-logo.svg|25x25px]]</td>
     <td>[[Image:Wikimedia-logo.svg|25x25px]]</td>
     <td> mta </td>  
     <td> mta </td>  
     <td>Meta-wiki</td>
     <td>Meta-wiki</td>
     <td>[[M:Template:{{{meta|{{PAGENAME}}}}}|{{{meta|{{PAGENAME}}}}}]]</td>
     <td>[[M:Template:{{{mta|{{{meta|{{{2|{{PAGENAME}} }}} }}} }}}<!---
----- ------------->|{{{mta|{{{meta|{{{2|{{PAGENAME}} }}} }}} }}}]]<!---
--></td>
   </tr>
   </tr>
}}
}}<!--------------------------------------------------------------------
{{#if: {{{wpd}}} |
-----
------------------------------------------------------------------------
-----
----->
{{#if: {{{wpd}}}{{{wp|}}} | <!--- en.Wikipedia ---->
   <tr>
   <tr>
     <td>[[Image:Wikipedia-logo.png|25x25px]]</td>
     <td>[[Image:Wikipedia-logo.png|25x25px]]</td>
     <td> wpd </td>  
     <td> wpd </td>  
     <td>Wikipedia</td>
     <td>Wikipedia</td>
     <td>[[w:Template:{{{wp|{{PAGENAME}}}}}|{{{wp|{{PAGENAME}}}}}]]</td>
     <td>[[w:Template:{{{wpd|{{{wp|{{{2|{{PAGENAME}} }}} }}} }}}<!---
----- ------------->|{{{wpd|{{{wp|{{{2|{{PAGENAME}} }}} }}} }}}]]</td>
   </tr>
   </tr>
}}
}}<!--------------------------------------------------------------------
{{#if: {{{cms}}} |
-----
------------------------------------------------------------------------
-----
----->
{{#if: {{{cms}}}{{{com|}}} | <!--- Mediawiki Commons, aka The Commons --->
   <tr>
   <tr>
     <td>[[Image:Commons-logo.svg|25x25px]]</td>
     <td>[[Image:Commons-logo.svg|25x25px]]</td>
     <td> cms </td>  
     <td> cms </td>  
     <td>Commons</td>
     <td>Commons</td>
{{#ifeq: {{SITENAME}}|Wikimedia Commons | <td>[[Template: {{{cms|{{PAGENAME}}}}}|{{{cms|{{PAGENAME}}}}}]] </td>  
{{#ifeq: {{SITENAME}}|Wikimedia Commons <!---
|   <td>[[commons:Template:{{{cms|{{PAGENAME}}}}}|{{{cms|{{PAGENAME}}}}}]] </td>
--->| <td>[[       Template: {{{cms|{{{com|{{{2|{{PAGENAME}} }}} }}} }}} |<!---
}}       <!--- Need for Wbk Wikt, Wvy, Wsp? as well. --->
-----> {{{cms|{{{com|{{{2|{{PAGENAME}} }}} }}} }}}]] </td> <!---
|{{{commons|{{PAGENAME}}}}}]]</td>
-----  -------------------------------------------------------------------------
  </tr>
--->| <td>[[commons:Template: {{{cms|{{{com|{{{2|{{PAGENAME}} }}} }}} }}} |<!---
}}
-----> {{{cms|{{{com|{{{2|{{PAGENAME}} }}} }}} }}}]] </td> <!---
{{#if: {{{wbk}}} |
--->}}
</tr>
}}<!--------------------------------------------------------------------
-----
------------------------------------------------------------------------
-----
----->
{{#if: {{{wbk}}}{{{wb|}}} | <!--- Wikibooks ---->
   <tr>
   <tr>
     <td>[[Image:Wikibooks-logo.svg|25x25px]]</td>
     <td>[[Image:Wikibooks-logo.svg|25x25px]]</td>
     <td> wbk </td>  
     <td> wbk </td>  
     <td>Wikibooks</td>
     <td>Wikibooks</td>
     {{#ifeq: {{SITENAME}}|Wikibooks | <td>[[Template: {{{wbk|{{PAGENAME}}}}}|{{{wbk|{{PAGENAME}}}}}]] </td>  
     {{#ifeq: {{SITENAME}}|Wikibooks <!---
|   <td>[[b:Template:{{{wbk|{{PAGENAME}}}}}|{{{wbk|{{PAGENAME}}}}}]] </td>  
--->| <td>[[ Template: {{{wbk|{{{wb|{{{2|{{PAGENAME}} }}} }}} }}}<!---
}}   </tr>
----> |{{{wbk|{{{wb|{{{2|{{PAGENAME}} }}} }}} }}}]] </td><!---
}}
--->| <td>[[b:Template: {{{wbk|{{{wb|{{{2|{{PAGENAME}} }}} }}} }}}<!---
{{#if: {{{wqt}}} |
----> |{{{wbk|{{{wb|{{{2|{{PAGENAME}} }}} }}} }}}]] </td> <!---
--->}}
</tr>
}}<!--------------------------------------------------------------------
-----
------------------------------------------------------------------------
-----
----->
{{#if: {{{wqt|}}}{{{wq|}}}{{{WQT|}}}{{{ALL|}}} | <!--- Wikiquote ---->
   <tr>
   <tr>
     <td>[[Image:Wikiquote-logo.svg|25x25px]]</td>
     <td>[[Image:Wikiquote-logo.svg|25x25px]]</td>
     <td> wqt </td>  
     <td> wqt </td>  
     <td>Wikiquote</td>
     <td>Wikiquote</td>
    <td>[[q:Template:{{{wq|{{PAGENAME}}}}}|{{{wq|{{PAGENAME}}}}}]]</td>
{{#ifeq:{{SITENAME}}|Wikiquote| <td>[[Template:{{{wqt|{{{wq|{{{2|{{PAGENAME}} }}} }}} }}}|{{{wqt|{{{wq|{{{2|{{PAGENAME}} }}} }}} }}}]] </td>
|    <td>[[q:Template:{{{wqt|{{{wq|{{{2|{{PAGENAME}} }}} }}} }}}|{{{wqt|{{{wq|{{{2|{{PAGENAME}} }}} }}} }}}]] </td> }}
   </tr>
   </tr>
}}
}}<!--------------------------------------------------------------------
{{#if: {{{wsr}}} |
-----
------------------------------------------------------------------------
-----
----->
{{#if: {{{wsr|}}}{{{ws|}}}{{{WSR|}}}{{{ALL|}}} | <!--- Wikisource  ---->
   <tr>
   <tr>
     <td>[[Image:Wikisource-logo.svg|25x25px]]</td>
     <td>[[Image:Wikisource-logo.svg|25x25px]]</td>
     <td> wsr </td>  
     <td> wsr </td>  
     <td>Wikisource</td>
     <td>Wikisource</td>
    <td>[[s:Template:{{{ws|{{PAGENAME}}}}}|{{{ws|{{PAGENAME}}}}}]]</td>
{{#ifeq:{{SITENAME}}|Wikisource|    <td>[[Template:{{{wsr|{{{2|{{PAGENAME}} }}}}}}|{{{wsr|{{{ws|{{{2|{{PAGENAME}} }}} }}} }}}]] </td>
|    <td>[[s:Template:{{{wsr|{{{ws|{{{2|{{PAGENAME}} }}} }}} }}}|{{{wsr|{{{ws|{{{2|{{PAGENAME}} }}} }}} }}}]] </td> }}
   </tr>
   </tr>
}}
}}<!--------------------------------------------------------------------
{{#if: {{{wdy|}}} |
-----
------------------------------------------------------------------------
-----
----->
{{#if: {{{WDY|{{{ALL|}}} }}}| <!--- Wiktionary ---->
<!-- Normal FALSE... If either set (overriding inhibition), WDY to something, enables the sister, Hence can define ALL, test the sister link, and decide what should be set --->
{{#if: {{{wdy|{{{ALL|}}} }}} |
   <tr>
   <tr>
     <td>[[Image:Wiktionary-logo-en.png|25x25px]]</td>
     <td>[[Image:Wiktionary-logo-en.png|25x25px]]</td>
     <td> wdy </td>  
     <td> wdy </td>  
     <td>Wiktionary</td>
     <td>Wiktionary</td> <!--- Wiktionary defaults are lowercase first unless explicitly given,
     <td>[[wikt:Template:{{{wd|{{PAGENAME}}}}}|{{{wd|{{PAGENAME}}}}}]]</td>
--->
     <td>[[wikt:Template:{{{wdy|{{{2|{{ lcfirst:{{PAGENAME}}}}}}}}}}|{{{wdy|{{{2|{{lcfirst:{{PAGENAME}}}}}}}}}}]]</td>
   </tr>
   </tr>
}}
}}
{{#if: {{{wnw|}}} |
}}<!--------------------------------------------------------------------
-----
------------------------------------------------------------------------
-----
----->
{{#if: {{{WNW|{{{ALL|}}} }}}{{{wn|}}}{{{wnw|}}}|<!-- Normal FALSE... If either set (overriding inhibition), WDY to something, enables the sister, Hence can define ALL, test the sister link, and decide what should be set --->
{{#if: {{{wnw|{{{wn|{{{ALL|}}} }}} }}} |
   <tr>
   <tr>
     <td>[[Image:Wikinews-logo.svg|25x25px]]</td>
     <td>[[Image:Wikinews-logo.svg|25x25px]]</td>
     <td> wnw </td>  
     <td> wnw </td>  
     <td>Wikinews</td>
     <td>Wikinews</td>
     <td>[[n:Template:{{{wn|{{PAGENAME}}}}}|{{{wn|{{PAGENAME}}}}}]]</td>
     <td>[[n:Template:{{{wnw|{{{wn|{{{2|{{PAGENAME}} }}} }}} }}}|{{{wnw|{{{wn|{{{2|{{PAGENAME}} }}} }}} }}}]]</td>
<!--- INDIV Tracking Category would go HERE ---->
   </tr>
   </tr>
}}
}}
{{#if: {{{wsp}}} |  <!-- Wikispecies --->
}}<!--------------------------------------------------------------------
-----
------------------------------------------------------------------------
-----
----->
{{#if: {{{wsp}}}{{{species|}}} |  <!-- Wikispecies --->
   <tr>  
   <tr>  
     <td>[[Image:Wikispecies-logo.svg|25x25px]]</td>
     <td>[[Image:Wikispecies-logo.svg|25x25px]]</td>
     <td> wsp </td>  
     <td> wsp </td>  
     <td>Wikispecies</td>
     <td>Wikispecies</td>
{{#ifeq:{{SITENAME}}|Wikispecies|    <td>[[Template:{{{wsp|{{PAGENAME}}}}}|{{{wsp|{{PAGENAME}}}}}]] </td>  
{{#ifeq:{{SITENAME}}|Wikispecies|    <td>[[Template:{{{wsp|{{{species|{{{2|{{PAGENAME}} }}} }}} }}}<!---
|    <td>[[Species:Template:{{{wsp|{{PAGENAME}}}}}|{{{wsp|{{PAGENAME}}}}}]] </td> }}
----> |{{{wsp|{{{species|{{{2|{{PAGENAME}} }}} }}} }}}]] </td>  
|    <td>[[wikispecies:Template:{{{wsp|{{{species|{{{2|{{PAGENAME}} }}} }}} }}}<!---
----> |{{{wsp|{{{species|{{{2|{{PAGENAME}} }}} }}} }}}]] </td> }}
   </tr>
   </tr>
}}
}}<!--------------------------------------------------------------------
-----
------------------------------------------------------------------------
-----
----->
{{#if: {{{wvy}}} | <!-- Wikiversity  --->
{{#if: {{{wvy}}} | <!-- Wikiversity  --->
   <tr>
   <tr>
Line 100: Line 168:
     <td> wvy </td>  
     <td> wvy </td>  
     <td>Wikiversity</td>
     <td>Wikiversity</td>
{{#ifeq:{{SITENAME}}|Wikiversity|    <td>[[Template:{{{wvy|{{PAGENAME}}}}}|{{{wvy|{{PAGENAME}}}}}]] </td>
{{#ifeq:{{SITENAME}}|Wikiversity
|    <td>[[v:Template:{{{wvy|{{PAGENAME}}}}}|{{{wvy|{{PAGENAME}}}}}]] </td> }}
|    <td>[[ Template:{{{wvy|{{{wv|{{{2|{{PAGENAME}} }}} }}} }}}<!---
----> |{{{wvy|{{{wv|{{{2|{{PAGENAME}} }}} }}} }}}]] </td>
|    <td>[[v:Template:{{{wvy|{{{wv|{{{2|{{PAGENAME}} }}} }}} }}}<!---
----> |{{{wvy|{{{wv|{{{2|{{PAGENAME}} }}} }}} }}}]] </td> }}
   </tr>
   </tr>
}}
}}<!--------------------------------------------------------------------
{{#if: {{{mwi|}}} |
-----
------------------------------------------------------------------------
-----
----->
{{#if: {{{mdw|{{{ALL|}}} }}}{{{mw|}}}| <!-- Normal FALSE... If either set (overriding inhibition), WDY to something, enables the sister, Hence can define ALL, test the sister link, and decide what should be set --->
   <tr>
   <tr>
     <td>[[Image:Mediawiki.png|25x25px]]</td>
     <td>[[Image:Mediawiki.png|25x25px]]</td>
     <td> mwi </td>  
     <td> mdw </td>  
     <td>Mediawiki</td>
     <td>Mediawiki</td>
     <td>[[mw:Template:{{{mw|{{PAGENAME}}}}}|{{{mw|{{PAGENAME}}}}}]]</td>
     <td>[[mw:Template:{{{mdw|{{{mw|{{{2|{{PAGENAME}} }}} }}} }}}|{{{mdw|{{{mw|{{{2|{{PAGENAME}} }}} }}} }}}]]</td>
   </tr>
   </tr>
}}
}}<!--------------------------------------------------------------------
 
----- Former tail-end note
------------------------------------------------------------------------
-----
----- xxx >
   <tr>
   <tr>
<th colspan="4"> This project under construction ...<br> Pardon our appearance whist we remodel,<br> pull the engine, and change the tires. </th>
<th colspan="4"> This project now less under construction ...<br> Pardon our appearance whilst we remodel,<br> pull the engine, and change the tires. </th>
   </tr>
   </tr><!--
   </table><noinclude>
---->
[[Category:Interwiki template-links-tagging templates|{{PAGENAME}}]]
   </table><noinclude><!------------------------------------- -----
<!-- The below line confirmed in self-declaration 27Jan2007  ---->
-----                                                        -----
{{#ifeq: {{{inhib}}}|yes |<!--- do nothing --->|[[Category:Interwiki utility templates|!{{PAGENAME}}]]}}
------- Auto-Categorization moved below usage --- 7 Feb 2007 -----
<!-- [[Category:Interwiki link templates|!{{PAGENAME}}]] ?depreciated??? 27 Jan 2007 per plan --->
-----><!---------------------------------------------------- -----
-----
----->==Table 3==


==Usage==
==Usage==
This template can be used when more than one English language sister projects has a similar template. If the templates have different names on different projects you can use parameters to specify those names:
This template can be used when more than one English language sister projects has a similar template. If the templates have different names on different projects you can use parameters to specify those names:


===Switch and override pagename parameters===
*'''mta'''=template name at Meta-wiki
*'''mta'''=template name at Meta-wiki
*'''wpd'''=template name at English Wikipedia
*'''wpd'''=template name at English Wikipedia
Line 135: Line 216:
*'''wsp'''=template name at English Wikispecies
*'''wsp'''=template name at English Wikispecies
*'''wvr'''=template name at English Wikiversity
*'''wvr'''=template name at English Wikiversity
*'''mdw'''=template name at Media-wiki <!--- (unlikely link?)
meta=template name at Meta-wiki
wp=template name at English Wikipedia
com=template name at Commons
wb=template name at English Wikibooks
wq=template name at English Wikiquote
ws=template name at English Wikisource
wt=template name at English Wikitionary
wn=template name at English Wikinews
species=template name at English Wikispecies
wv=template name at English Wikiversity
mdw=template name at Media-wiki
--->
::(In some of the discussion below, any one of the above is represented by 'xxx'.)<br>
Passing an empty parameter will cause the item to be omitted from the list. Some sister-projects only have marginal inclusion in, or need for this template sharing. These default to 'off' in the normal display (Wiktionary, Media-wiki, Wikinews currently).
;Flip parameters
Those which are off, but do use the template being tagged, may be included in the list by defining an all capital letters version of the above all lower case parameters. (Example: '|WDY=y' will include Wiktionary under the same default template name by the template code: <code>'<nowiki>{{{wdy|{{{2|{{PAGENAME}} }}} }}} }}}</nowiki> </code>, thus typing in a long name when a normally suppressed template auto-link IS desired, is not necessary. Using XXX=1 to turn off a link, such as when a Sister project TfD decides to not allow the template locally, would be redundant with 'xxx=', add complexity, and is subject to confusion. So the Capital letter flip parameters are available only those sister projects which normally suppress a template.
<!--- this doesn't need to be here!
Since the suppression is set in the SITE (Sister project) copy of the interwikitmp-grp template, suppression coding in the other sister's templates (all of which are updated at once for consistency) --->
<pre>
<pre>
Passing an empty parameter will cause the item to be omitted from the list.
Example:
Example:


{{Template:Interwikitmp-grp
{{Template:Interwikitmp-grp|mta=|wqt=|wnw=foo|WDY=on|MDW=1|!Goo|{{PAGENAME}}
|meta=
|wq=
|wn=foo
}}
}}
</pre>
This produces a box with the Meta and Wikiquote rows ommitted, and the "Template:foo" linked to in the Wikinews row (meaning an ''alternative name'' of the functionally similar template&mdash;presentation may be different, but it does the same task), and link to the normal name on Wiktionary and Media-wiki. 'Goo' is the auto-category(ies) pipe-trick and normally defaults to <nowiki>{{PAGENAME}}</nowiki>, the last arguement is a redundant </nowiki>{{{2}}}</nowiki> argument, for not given that, it is also defaulted. However, <nowiki>|{{{1}}}|{{{2}}}</nowiki> comes into it's own should the local version be the one with a different name. Defining Arg-2 as the normal name, and the local mnemonic shows the local name deviation, and links to the more predominant names on the other sisters... assuming they're enabled.
An interesting experiment: See the different uses the templates {{tl|w}}, {{tl|c}}, {{tl|cat}} and {{tl|tl}} are put to on each English sister project. ''The shorter the name, the more likely a naming collision will occur with a different use of the tool template!''


This produces a box with the Meta and Wikiquote rows ommitted, and the "Template:foo" linked to in the Wikinews row.
===Other parameters===
# inhib=''anything'' &mdash; Inhib suppresses auto-categorization to [[:Category:Interwiki utility templates]] (Normally lists tools or other Utility templates).<br/><br />{{I2}}In use, '''inhib''' is for templates that are part of one interwiki linking system, or the other (two other tagging systems that tie categories together which came first, albeit unofficially as experimental implementations began in the summer of 2006), and lastly, for the site independent templates which are used to generate uniform messages and documentation for such templates, many of these being formating typing aids (i, i0, i2, i5, and indent) powerful category or template links generating tools (lc, lts), or site independent link templates (w2, w2c, Mw, wd). {{I2}}
# General Auto-categorization applies pipe-tricked category sorting using <code>'<nowiki>{{{xxx|{{{1|{{PAGENAME}} }}} }}} }}}</nowiki> </code>, which allows the lowercase override name 'xxx', the general sorting name {{{1}}}, or the overall default, the [[M:Help:Magic word|Magic word]] <code>'<nowiki>{{PAGENAME}}</nowiki> </code>.{{I2}}
# General parameter '''<code> <nowiki>{{{2}}}</nowiki>is coded to be a generic override for a locally differently named template using '<nowiki>{{{xxx|{{{2|{{PAGENAME}} }}} }}} }}}</nowiki> </code>. {{I5}}Example: Assume Wikitionary uses <!---Subst of {{Tl2}}follows----><tt><nowiki>{{</nowiki>[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}: tl|tl]]<nowiki>}}</nowiki></tt><!---Subst of {{Tl2}} ends----><!---
-----
----> for something involving lexicographical meaning (as it does), so assuming the '''local template name''' used instead is 'TL' (all uppercase). A proper back link would then be given as <nowiki>{{interwikitmp-grp|wdy=TL|{{PAGENAME}}|tl}} where {{{1}}}=={{PAGENAME}} (''the category pipetrick''), {{{2}}}=='tl'</nowiki>.<br /><br />
# V=<i>letter 'D' or numbers: {0, 1, 2,..., 6}}</i> &mdash; from Version P3 will provide auto-categorization same as the suffixed versions of 'interwikitmp-grp##' listed in [[template:interwikitmp-grp/doc]]. (Not currently in place!) // <b>[[User:Fabartus|Fra]]</b><font color="green">[[User talk:Fabartus|nkB]]</font> 07:19, 8 February 2007 (UTC){{I2}}
# ALL=''anything'' &mdash; turns on all links forming elements including those normally shut down. This can use to poll sister projects for template presence, or to distribute the template, despite ''normal non-participation'' by that sister in the template sharing project.{{I2}}
# cat=''bare name''... value supplants [[Category:Miscellaneous templates]] for V=3, 4, 5, and V=6 auto-categorization modes. The replacement category is generally a sub-category of Miscellaneous, such as typing-aid templates or uncategorized templates. 'cat=' may be defined false (not uncommon in V=6 calls where template is a category tagging template linking both internally and externally but used on category pages. Example: [[W:Template:Commonscat1A]], {{W2c|Template:Wikipediacat1A}}, [[Template:WikiPtmp]] (or any 'XXXXtmp' templates listed below) and etcetera.){{I2}}{{#if: {{{cats|}}}|'''PARAMETER ERROR: Parameter 'cats=' depreciated in favor of 'CATS=' or 'cat=' as noted above. {{I2}}}}
# ALL2=  or ALLCATS= ''anything'' &mdash; is an edit-check mode parameter. It is the same as specifying all variations of 'V=' parameter, and turns on ALL autocategorization. (It should not be used on any page in a permanent save, but is for preview mode testing.){{I2}}
# CATS=<small><nowiki>[[Category:non-standard category1|pipetrick1]][[[[Category:non-standard category2|pipetrick2]]...[[Category:non-standard categoryNN|pipetrickNN]]</nowiki></small>{{I5}}Used primarily in administrative templates where the category structure has been duplicated locally for compatibility.{{i0}}
##Cat1=, Cat2=, Cat3=, ..., Cat5=<nowiki>[[Category:catname|pipe-trick]]</nowiki>, for keeping things neat on separate lines... especially useful when using different pipe-tricked forms.{{I2}}
# SYS=''defined'', or V=0, it asserts [[:Category:Interwiki template-links-tagging templates]] regardless of the 'V=#' parameter's other affects on auto-categorization.
# ??? - Stay tuned.


</pre>
==Individual tags== <!--- This label is being used as section link in categories needing list below. Please leave alone --->
==Individual tags== <!--- This label is being used as section link in categories needing list below. Please leave alone --->
[[Category:Interwiki templates on all sisterprojects|{{PAGENAME}} ]]<!---
;Templates to use when only some small number of sister projects has a similar template:
;Templates to use when only some small number of sister projects has a similar template:
:# [[template:Metatmp ]]
:# [[template:Metatmp ]]
:# [[template:commonstmp ]]
:# [[template:commonstmp ]]
:# [[template:WikiBookstmp ]]
:# [[template:WikiBookstmp ]]
:# [[template:Wiktionarytmp ]]
:# [[template:Wikiquote ]]
:# [[template:Wikiquote ]]
:# [[template:WikiNewstmp ]]
:# [[template:Wikisourcetmp ]]
:# [[template:Wikisourcetmp ]]
:# [[template:Wiktionarytmp ]]
:# [[template:WikiNewstmp ]]
:# [[template:WikiSpeciestmp ]]
:# [[template:WikiSpeciestmp ]]
:# [[template:WikiVersitytmp ]]
:# [[template:WikiVersitytmp ]]


;Interwiki task management templates (for misc. Maintenance)
<!--- --------------------------------------------- -----
*-2. {{Lts|Interwikitmp-grpD}} {{SP|5}}&mdash;Mastercopy: [[W:template:Interwikitmp-grpD|en.Wp ]] {{I5}}  
----- THE BELOW SECTION DEFINES THE AUTO CATEGORIES -----
*-1. {{Lts|Interwikitmp-grp }} {{SP|5}}&mdash;Mastercopy: [[W:template:Interwikitmp-grp |en.Wp ]] {{I5}}  
----- --------------------------------------------- -----
* 0. {{Lts|Interwikitmp-grp0}} {{SP|5}}&mdash;Mastercopy: [[W:template:Interwikitmp-grp0|en.Wp ]] {{I5}}  
----> {{#if: {{{ALLCATS|}}} {{{ALL2|}}} |<!-- This is a test 'when applying' mode, not auto-categorization
* 1. {{Lts|Interwikitmp-grp1}} {{SP|5}}&mdash;Mastercopy: [[W:template:Interwikitmp-grp1|en.Wp ]] {{I5}}  
---->
* 2. {{Lts|Interwikitmp-grp2}} {{SP|5}}&mdash;Mastercopy: [[W:template:Interwikitmp-grp2|en.Wp ]] {{I5}}  
# [[:Category:Interwiki templates on all sisterprojects ]]<br />
* 3. {{Lts|Interwikitmp-grp3}} {{SP|5}}&mdash;Mastercopy: [[W:template:Interwikitmp-grp3|en.Wp ]] {{I5}}  
# [[:Category:template namespace templates ]]<br />
* 4. {{Lts|Interwikitmp-grp4}} {{SP|5}}&mdash;Mastercopy: [[W:template:Interwikitmp-grp4|en.Wp ]] {{I5}}  
# [[:Category:redirects from other template ]]<br />
* 5. {{Lts|Interwikitmp-grp5}} {{SP|5}}&mdash;Mastercopy: [[W:template:Interwikitmp-grp5|en.Wp ]] {{I5}}  
# [[:Category:template documentation ]]<br />
* 6. {{Lts|Interwikitmp-grp6}} {{SP|5}}&mdash;Mastercopy: [[W:template:Interwikitmp-grp6|en.Wp ]] {{I5}}  
# [[:Category:Interwiki template-links-tagging templates ]]<br />
;Auxilliaries
# [[:Category:Internal link templates ]]<br />
*# {{Lts|Interwikitmp-grps see also}} {{SP|5}}&mdash;Mastercopy: [[W:template:Interwikitmp-grps see also|en.Wp  ]]  
# [[:Category:Interwiki link templates ]]<br />
*# {{Lts|Interwikitmp-grp ineligible}} {{SP|5}}&mdash;Mastercopy: [[W:template:Interwikitmp-grp ineligible|en.Wp  ]]
# [[:Category:Miscellaneous templates ]]<br />
*# somethings missing...  
{{#if: {{{cat|}}}|# [[:Category:{{{cat}}} ]]<br />}}
*# {{Lts|Interwikitmp-grp usage}} {{SP|5}}&mdash;Mastercopy: [[W:template:Interwikitmp-grp usage]]
# [[:Category:templates used in categories ]]<br />
</noinclude>
# [[:Category:Exported templates used only on {{{only|sitename}}} ]]<br />
# [[:Category:templates different on {{{diff|{{{D|sitename}}} }}} ]]<br />
 
}} <!--- <<<=== endif:Category defined test mode ALLCATS/ALL2 ----
-----
---->{{#ifeq: {{{inhib|}}}|{{#if:{{{cat|}}}|<!--- do nothing --->|[[Category:{{{cat}}} | {{{1|{{PAGENAME}} }}} ]]}} | [[Category:Interwiki utility templates | {{{1|{{PAGENAME}} }}} ]]}}<!---
-----
---->{{#if: {{{ALL|}}} |[[Category:Interwiki templates on all sisterprojects | {{{1|{{PAGENAME}} }}} ]] <!--- These are very rare, context is participating sister's not literally all sister projects --->
}}<!---
-----
---->{{#if: {{{CAT|}}} | [[Category:templates used in categories | {{{1|{{PAGENAME}} }}} ]]
}}<!---
-----
---->{{#if: {{{TMP|}}} | [[Category:template namespace templates | {{{1|{{PAGENAME}} }}} ]]
}}<!---
-----
---->{{#if: {{{SYS|}}} | [[Category:Interwiki template-links-tagging templates | {{{1|{{PAGENAME}} }}} ]]<!-- These are the templates that are part of the tagging system, or necessary for it's minimal set (thus includes typing-aids for documentation of templates too).---->[[Category:template namespace templates | {{{1|{{PAGENAME}} }}} ]]  
}}<!---
-----
---->{{#if: {{{V|}}} |
{{#ifeq: {{{V|}}}| R | [[Category:redirects from other template | {{{1|{{PAGENAME}} }}} ]]
}}<!--- <<<=== endif:V==R ----
---->{{#ifeq: {{{V|}}}| D | [[Category:template documentation | {{{1|{{PAGENAME}} }}} ]]
}}<!--- <<<=== endif:V==D ----
-----
---->{{#ifeq: {{{V|}}}| 0 | {{#if:{{{SYS|}}}|<!-- then skip, already defined --->|[[Category:Interwiki template-links-tagging templates | {{{1|{{PAGENAME}} }}} ]]}}
}}<!--- <<<=== endif:V==0 ----
-----
---->{{#ifeq: {{{V|}}}| 1 | [[Category:Internal link templates | {{{1|{{PAGENAME}} }}} ]]  
}}<!--- <<<=== endif:V==1 ----
-----
---->{{#ifeq: {{{V|}}}| 2 | [[Category:Interwiki link templates | {{{1|{{PAGENAME}} }}} ]]
}}<!--- <<<=== endif:V==2 ----
-----
---->{{#ifeq: {{{V|}}}| 3 |
  {{#if: {{{cat|}}}| [[Category:{{{cat}}} | {{{1|{{PAGENAME}} }}} ]]
  | [[Category:Miscellaneous templates | {{{1|{{PAGENAME}} }}} ]]
  }}
}}<!--- <<<=== endif:V==3 ----
---->
{{#ifeq: {{{V|}}}| 4 |
  [[Category:Internal link templates | {{{1|{{PAGENAME}} }}} ]]
  {{#if: {{{cat|}}}| [[Category:{{{cat}}} | {{{1|{{PAGENAME}} }}} ]]
  | [[Category:Miscellaneous templates | {{{1|{{PAGENAME}} }}} ]]
  }}
}}<!--- <<<=== endif:V==4 ----
---->
{{#ifeq: {{{V|}}}| 5 |
  [[Category:Interwiki link templates | {{{1|{{PAGENAME}} }}} ]]
  {{#if: {{{cat|}}}| [[Category:{{{cat}}} | {{{1|{{PAGENAME}} }}} ]]
  | [[Category:Miscellaneous templates | {{{1|{{PAGENAME}} }}} ]]
  }}
}}<!--- <<<=== endif:V==5 ----
---->
{{#ifeq: {{{V|}}}| 6 |
  [[Category:Interwiki link templates | {{{1|{{PAGENAME}} }}} ]]
  [[Category:Internal link templates  | {{{1|{{PAGENAME}} }}} ]]
  {{#if: {{{cat|}}}| [[Category:{{{cat}}} | {{{1|{{PAGENAME}} }}} ]]
  | {{#if: {{{MISC|}}}|[[Category:Miscellaneous templates | {{{1|{{PAGENAME}} }}} ]]}}
  }}
}}<!--- <<<=== endif:V==6 ----
---->
|<!--- else: V undefined, so do nothing, but check cat= ---->
  {{#if: {{{cat|}}}| [[Category:{{{cat}}} | {{{1|{{PAGENAME}} }}} ]]
  |{{#if: {{{CAT|}}}| [[Category:templates used in categories | {{{1|{{PAGENAME}} }}} ]]}}
  }}
}}<!--- <<<=== endif:V==anything ----
---->
{{#if: {{{UNCAT|}}}| [[Category:Uncategorized templates | {{{1|{{PAGENAME}} }}} ]]  
}}<!--- <<<=== endif:inhib ----
---->
{{#if: {{{only|}}}|
  {{#ifeq:{{{only}}}|COMMONS
  | [[Category:Exported templates used only on Mediawiki commons | {{{1|{{PAGENAME}} }}} ]]
  | [[Category:Exported templates used only on {{{only}}} | {{{1|{{PAGENAME}} }}} ]]
  }}
}}<!--- <<<=== endif:only ----
-----
---->
{{#if: {{{D|}}}{{{diff|}}} |
[[Category:templates different on {{{diff|{{{D|sitename}}} }}} | {{{1|{{PAGENAME}} }}} ]]
[[Category:Interwiki templates varying on other sister projects|{{{1|{{PAGENAME}} }}} ]]
}}<!--- <<<=== endif:diff(erent that site) ----
---->
 
;Key categories versus parameters:'Sister parameters' are those semi-mnemonic three letter codes noted on the template. Several depreciated equivalents are also legal substitutes: meta wikt<br /><br />'''Toggle Parameters:'''<br />Defining one of the three letter mnemonic's expressed as all uppercase toggles the logic for the cell displaying that sister project from'' 'on to off' ''(This template is not used on that sister, the most common need), or from'' 'off to on' ''(A sister which has little need for templates has this particular one).
 
<pre>
Example:
{{interwikitmp-grp|WDY=1|WPD=1|...}}
</pre>
:This example would express a template shared in common from the two sites Wiktionary and whereever, but for which Wikipedia (which normally has most everything) does NOT have said template. Wikitionary is toggled from normally<code> off to on</code>, Wikipedia from normally<code> on to Off. </code>
 
:Lower case Mnemonic codes work dissimilarly in that defining such an parameter triggers difference tracking auto-categorization, but is indeed the same <u>in effect</u> for non-participating sister projects, for whom it is uncommon to share a template.
==Categories by parameter affecting (table)==
 
;This table is currently untrue. :''''''Auto-categorization' by this template is currently disabled.''''' <B>[[User:Fabartus|Fra]]</B><font color="green">[[User talk:Fabartus|nkB]]</font> 04:33, 8 July 2008 (UTC)
 
{| Style="background-color: #f5f5f5; border:1px blue solid; padding:0.5em; font size:3;width:96%; margin:0 2em 1em 2em; " <!---- http://en.wikipedia.org/wiki/Web_colors#HTML_color_names
---- PaleGoldenrod EE E8 AA
---- Azure F0 FF FF
---- WhiteSmoke F5 F5 F5
---->
! Categories in the system
! style="width:25%"| Params in play
|-  bgcolor="azure"
|colspan="2" line-height="25%"|
----
|-  bgcolor="azure"
 
| {{lcs|Interwiki template-links-tagging templates }}<br>Templates that are needed by tagging system.<br>Cat includes XXXXtmp individual tagging templates.
| SYS (asserts)<br> and V=0
 
|- bgcolor="PaleGoldenrod"
|colspan="2" line-height="25%"|
----
|- bgcolor="PaleGoldenrod"
 
| {{lcs|Interwiki utility templates }} <br>Principal tagging and'' 'Tracking category' ''where this tagging utility auto-categorizes (lists) tagged templates.<br>Can only turn off by inhibiting it's expression setting "|inhib='something'.
| inhib (suppresses)


<!-- ITEMS that affect both the local template and the calling template BELOW THIS LINE ---->
|- bgcolor="WhiteSmoke"
|colspan="2" line-height="25%"|
----
----
<noinclude>
|- bgcolor="WhiteSmoke"
{{Template:Interwikitmp-grp/doc}}{{Lts|Interwikitmp-grpNN usage}}
 
<!---  
| {{lcs|Interwiki templates on all sisterprojects}}<br>Rare occurence. Scope refers to paricipating Sister Projects, not literally all.
{{Interwikitmp-grp/doc}}{{Interwikitmp-grpNN usage}} --->
| ALL2 (asserts)
 
|- bgcolor="azure"
|colspan="2" line-height="25%"|
----
----
;quicklinks
|- bgcolor="azure"
*# {{Lts|Interwikitmp-grp edit group }}{{SP|7}}--
 
*# {{Lts|Interwikitmp-grp usage}}
*# {{Lts|Interwikitmp-grp/doc}} {{SP|8}} -- main documentation page. Displays others here
*# {{Lts|interwikitmp-grp templates usage}} {{SP}}--
*# {{Lts|interwikitmp-grps see also}}
;Key categories
{| Style="background-color:#eeeedd;border:1px blue solid;padding:0.5em; "
! Categories in the system
! Interwikitmp-grp##'s tagging templates with category
|-
| {{lcs|Interwiki template-links-tagging templates }}
| a
|-
| {{lcs|Interwiki utility templates }}
| b
|-
|-
| {{lcs|Interwiki templates on all sisterprojects}}
| c
|-
| {{lcs|Interwiki link templates}}
| {{lcs|Interwiki link templates}}
| d
| cases: V=1, V=4, V=6
|-
 
| {{lcs|Miscellaneous templates }}
|- bgcolor="PaleGoldenrod"
| e
|colspan="2" line-height="25%"|
|-
----
| {{lcs|Typing-aid templates }}
|- bgcolor="PaleGoldenrod"
| f
 
|-
| <br>{{lcs|Miscellaneous templates }}<br>
| {{lcs|Interwiki utility templates }}
| cases: V=3, V=4, V=5, and V=6 (If V=6, then '''iff manually defined using <nowiki>'cat=|'</nowiki> or MISC=''defined''.)
| g
 
|-
|- bgcolor="WhiteSmoke"
| {{lcs|Interwiki templates varying on other sister projects }}
|colspan="2" line-height="25%"|
| h
----
|-
|- bgcolor="WhiteSmoke"
| {{lcs|Interwiki name difference other sister project
 
| i
| {{lcs|Typing-aid templates }}<br>Assumed as a sub-category of Miscellaneous, uses same V=''x'' logic.<br>Use param cat=(bare) ''category name'' to supplant Miscellaneous for all <code><tt>&#123;</tt> V: 3,4,5,6 <tt>&#125;</tt></code> modes.
|-
| sub-cat of same V=# distribution as Miscellaneous... define using cat= to supplant (replace) Miscellaneous templates.
 
|- bgcolor="azure"
|colspan="2" line-height="25%"|
----
|- bgcolor="azure"
 
| {{lcs|Interwiki category linking templates }}<br>
| CAT=''any value''
 
|- bgcolor="PaleGoldenrod"
|colspan="2" line-height="25%"|
----
|- bgcolor="PaleGoldenrod"
 
| {{lcs|Interwiki templates varying on other sister projects }}<br>tracking category for anomalous templates where<br>the template exists, but has an
| D or diff set
 
|- bgcolor="WhiteSmoke"
|colspan="2" line-height="25%"|
----
|- bgcolor="WhiteSmoke"
 
| {{lcs|Interwiki name difference other sister project<br>tracking category
| any mnemonic name parameter<br>being set to an
 
|- bgcolor="azure"
|colspan="2" line-height="25%"|
----
|- bgcolor="azure"
 
| {{lcs|Uncategorized templates}}
| {{lcs|Uncategorized templates}}
| j
| UNCAT
|-  
 
| {{lcs|Navigation templates}}
|- bgcolor="PaleGoldenrod"
| k
|colspan="2" line-height="25%"|
|-
----
|- bgcolor="PaleGoldenrod"
 
| {{lcs|Navigation templates}} or<br> {{lcs|Navigational templates}} or<br> {{lcs|{{SITENAME}} Navigation templates}}
| '''NAV''' evinces if and only if there exists a defined category of one of these names
 
|- bgcolor="WhiteSmoke"
|colspan="2" line-height="25%"|
----
|- bgcolor="WhiteSmoke"
 
| {{lcs|redirect templates}}
| {{lcs|redirect templates}}
| l
| R
|-
 
|- bgcolor="azure"
|colspan="2" line-height="25%"|
----
|- bgcolor="azure"
 
| a1
| a2
 
|- bgcolor="PaleGoldenrod"
|colspan="2" line-height="25%"|
----
|- bgcolor="PaleGoldenrod"
 
| c1
| c2
 
|- bgcolor="WhiteSmoke"
|colspan="2" line-height="25%"|
----
|- bgcolor="WhiteSmoke"
 
| e1
| e2
 
|}
|}
1 Category:Interwiki link templates and Category:Interwiki utility templates -- bridge a gulf
1 Category:Interwiki link templates and Category:Interwiki utility templates -- bridge a gulf
Line 246: Line 527:
   
   
6 Interwiki link templates, Internal link templates and Category:Miscellaneous templates -- Combo's of 1 + 2 + 3
6 Interwiki link templates, Internal link templates and Category:Miscellaneous templates -- Combo's of 1 + 2 + 3
{|
{|
|-
|-
Line 251: Line 533:
! {{TL|IWTG width}}=={{IWTG width}}
! {{TL|IWTG width}}=={{IWTG width}}
! {{Lts|Interwiki class-sisterproject}}
! {{Lts|Interwiki class-sisterproject}}
|}---->
|}
----
{{tl|Interwikitmp-grp/doc}}
<!--- {{Interwikitmp-grp edit group}} disable, is causing expansion overrun per conversations with CBDunkerson in early Jan. and repeated again on 26 Jan. --->
 
</noinclude><includeonly>
{| style="font-size:80%; background:#f9f9f9; border:#aaa 1px solid; font-face:monotype; width: 98%; margin: 0 auto 1em auto;"
<!-- ADD CATEGORIES BELOW THIS LINE -->
|-bgcolor="#cedff2" align-text="center"
;test
!colspan=4 |<center> Version at a glance for [[W:WP:TSP|Template Sharing Project]] [ Template:Interwikitmp-grp ]
{{#ifeq: {{{inhib|}}}|yes|<!--- do nothing --->|[[:Category:Interwiki utility templates|{{PAGENAME}}]]}}
|-bgcolor="#cedff2" align-text="center"
</includeonly>
!Version
{{SITENAME}}
! Origin   
! style="width:65%"| Change Description
! datestamp and programmer
|-  
|Ver: 3a4 ||Wikibooks<br/> Commons<br/>Commons||'''c.) (m)''' Fix this table... had interleaved data fields. (Ooops) +('''M''') Assert normal default categories.<br/>'''b.)''' (m) Move this table to the page bottom, annotation changes<br/>'''a.)''' Logic change, defaults, --mta ||<small>'''c.)''' [[User:Fabartus|Fra]]<font color="green">[[User talk:Fabartus|nkB]]</font> 05:01, 8 July 2008 (UTC)<br/>'''b.)''' <B>[[User:Fabartus|Fra]]</B><font color="green">[[User talk:Fabartus|nkB]]</font> 04:33, 8 July 2008 (UTC)<br/>'''a.)''' <B>[[User:Fabartus|Fra]]</B><font color="green">[[User talk:Fabartus|nkB]]</font> 16:10, 7 July 2008 </small>
|-  
|Ver: 3a3 || Meta || ||<small> <nowiki> ~~~~ </nowiki> </small>  
|- 
 
|Ver: 3a2 || Meta ||(m) Trim out old inline commented history, and remove many unneeded editing/maintenance links ||<small> [[User:Fabartus|<B><font color="blue">Fra</font></B>]]<font color="green">[[User talk:Fabartus|nkB]]</font> 08:05, 19 April 2007 (UTC)  </small>  
|-
|Ver: 3a1 || Meta ||Iterim: Install revised auto-categorization logic, and do some clarification and rework of self documentation.||<small>  [[User:Fabartus|<B><font color="blue">Fra</font></B>]]<font color="green">[[User talk:Fabartus|nkB]]</font> 06:54, 15 March 2007 (UTC) </small>  
|-
|Ver: 3a || Meta || Edits to limit bad text nesting, moved and expanded inhib parameter processing. This is Iterim still. ||<small> [[User:Fabartus|<B><font color="blue">Fra</font></B>]]<font color="green">[[User talk:Fabartus|nkB]]</font> 00:42, 15 March 2007 (UTC) </small>
|-
|Ver: 3r1 || Meta || Section edits to tidy up various things. <br>(b) Iterim save, even added the two letter and user unfriendly names the anom wanted. Cleaned up and formatted. Next: Refactor and cut in [[template:IWG_links]]<br> (a) Top=This table || <small><nowiki>~~~~</nowiki> <br><small>3r1b: [[User:Fabartus|<B><font color="blue">Fra</font></B>]]<font color="green">[[User talk:Fabartus|nkB]]</font> 12:22, 7 March 2007 (UTC)<br>3r1a:  from: <small>10:30, 7 March 2007 (UTC)</small>
|-
|Ver: 3__ || Meta        || Wikipedia version, with belated auto-categorization added, new table, but saved and Finished on Meta through several iterations... Adding (subst'd WPTSP version table) with this save. ||<small>[[User:Fabartus|<B><font color="blue">Fra</font></B>]]<font color="green">[[User talk:Fabartus|nkB]]</font> 08:35, 7 March 2007 (UTC)</small><br>from: two hours b4 above.
 
|-
|Ver:2F-k || Wikipedia || Adds Edit link to array box, Fixed logic sense of ALL param., added Inhib/Override params (All UCASE mnemonic) to bypass a sister if they don't or do want a template... whichever is opposite case from normal participation in the project.
||<small>[[User:Fabartus|<B><font color="blue">Fra</font></B>]]<font color="green">[[User talk:Fabartus|nkB]]</font> ww:zz, xx March 2007 (UTC)</small>
|-
|}


<!-- Catalog Needs by site: --->
[[Category:Interwiki template-links-tagging templates |{{PAGENAME}}]]
<!-- Wsp: Lts /doc, Unicode, lcs, IWTG size, and others masked, like cats, etc. --->
[[Category:Interwiki utility templates |{{PAGENAME}}]]
<!-- Wvy: Wsp fails red, Lts /doc, Unicode, lcs, IWTG size, SP, all the 5 quick links, ITWG X2 --->
</noinclude>
<!--

Latest revision as of 18:06, 25 April 2009

Template:WPTSP  Ver: 3a Pass 4_c Wikibooks ← Commons ← Commons (2x, a+b)

Table 2

IWG_links quick usage
  • '1'=='E'dit / '2'=='L'inks / '3'=='H'istory / '4'=='SISTER'(prefix) [add colons too!]
  • '5'=='PAGENAME override / T=toggle namespace, undefined--category space, defined Template space.
  • Template:Lts -- {{IWG links|T=1| | | | }}
Similar templates at English sister projects [edit]
wpd Wikipedia Interwikitmp-grp
cms Commons Interwikitmp-grp
wbk Wikibooks Interwikitmp-grp
wsp Wikispecies Interwikitmp-grp
wvy Wikiversity Interwikitmp-grp

==Table 3==

Usage

This template can be used when more than one English language sister projects has a similar template. If the templates have different names on different projects you can use parameters to specify those names:

Switch and override pagename parameters

  • mta=template name at Meta-wiki
  • wpd=template name at English Wikipedia
  • cms=template name at Commons
  • wbk=template name at English Wikibooks
  • wqt=template name at English Wikiquote
  • wsr=template name at English Wikisource
  • wdy=template name at English Wikitionary
  • wnw=template name at English Wikinews
  • wsp=template name at English Wikispecies
  • wvr=template name at English Wikiversity
  • mdw=template name at Media-wiki
(In some of the discussion below, any one of the above is represented by 'xxx'.)

Passing an empty parameter will cause the item to be omitted from the list. Some sister-projects only have marginal inclusion in, or need for this template sharing. These default to 'off' in the normal display (Wiktionary, Media-wiki, Wikinews currently).

Flip parameters

Those which are off, but do use the template being tagged, may be included in the list by defining an all capital letters version of the above all lower case parameters. (Example: '|WDY=y' will include Wiktionary under the same default template name by the template code: '{{{wdy|{{{2|{{PAGENAME}} }}} }}} }}} , thus typing in a long name when a normally suppressed template auto-link IS desired, is not necessary. Using XXX=1 to turn off a link, such as when a Sister project TfD decides to not allow the template locally, would be redundant with 'xxx=', add complexity, and is subject to confusion. So the Capital letter flip parameters are available only those sister projects which normally suppress a template.

Example:

{{Template:Interwikitmp-grp|mta=|wqt=|wnw=foo|WDY=on|MDW=1|!Goo|{{PAGENAME}}
}}

This produces a box with the Meta and Wikiquote rows ommitted, and the "Template:foo" linked to in the Wikinews row (meaning an alternative name of the functionally similar template—presentation may be different, but it does the same task), and link to the normal name on Wiktionary and Media-wiki. 'Goo' is the auto-category(ies) pipe-trick and normally defaults to {{PAGENAME}}, the last arguement is a redundant </nowiki>{{{2}}}</nowiki> argument, for not given that, it is also defaulted. However, |{{{1}}}|{{{2}}} comes into it's own should the local version be the one with a different name. Defining Arg-2 as the normal name, and the local mnemonic shows the local name deviation, and links to the more predominant names on the other sisters... assuming they're enabled.

An interesting experiment: See the different uses the templates {{w}}, {{c}}, {{cat}} and {{tl}} are put to on each English sister project. The shorter the name, the more likely a naming collision will occur with a different use of the tool template!

Other parameters

  1. inhib=anything — Inhib suppresses auto-categorization to Category:Interwiki utility templates (Normally lists tools or other Utility templates).

    Template:I2In use, inhib is for templates that are part of one interwiki linking system, or the other (two other tagging systems that tie categories together which came first, albeit unofficially as experimental implementations began in the summer of 2006), and lastly, for the site independent templates which are used to generate uniform messages and documentation for such templates, many of these being formating typing aids (i, i0, i2, i5, and indent) powerful category or template links generating tools (lc, lts), or site independent link templates (w2, w2c, Mw, wd). Template:I2
  2. General Auto-categorization applies pipe-tricked category sorting using '{{{xxx|{{{1|{{PAGENAME}} }}} }}} }}} , which allows the lowercase override name 'xxx', the general sorting name {{{1}}}, or the overall default, the Magic word '{{PAGENAME}} .Template:I2
  3. General parameter {{{2}}}is coded to be a generic override for a locally differently named template using '{{{xxx|{{{2|{{PAGENAME}} }}} }}} }}} . Template:I5Example: Assume Wikitionary uses {{tl}} for something involving lexicographical meaning (as it does), so assuming the local template name used instead is 'TL' (all uppercase). A proper back link would then be given as {{interwikitmp-grp|wdy=TL|{{PAGENAME}}|tl}} where {{{1}}}=={{PAGENAME}} (''the category pipetrick''), {{{2}}}=='tl'.

  4. V=letter 'D' or numbers: {0, 1, 2,..., 6}} — from Version P3 will provide auto-categorization same as the suffixed versions of 'interwikitmp-grp##' listed in template:interwikitmp-grp/doc. (Not currently in place!) // FrankB 07:19, 8 February 2007 (UTC)Template:I2
  5. ALL=anything — turns on all links forming elements including those normally shut down. This can use to poll sister projects for template presence, or to distribute the template, despite normal non-participation by that sister in the template sharing project.Template:I2
  6. cat=bare name... value supplants for V=3, 4, 5, and V=6 auto-categorization modes. The replacement category is generally a sub-category of Miscellaneous, such as typing-aid templates or uncategorized templates. 'cat=' may be defined false (not uncommon in V=6 calls where template is a category tagging template linking both internally and externally but used on category pages. Example: W:Template:Commonscat1A, Template:W2c, Template:WikiPtmp (or any 'XXXXtmp' templates listed below) and etcetera.)Template:I2
  7. ALL2= or ALLCATS= anything — is an edit-check mode parameter. It is the same as specifying all variations of 'V=' parameter, and turns on ALL autocategorization. (It should not be used on any page in a permanent save, but is for preview mode testing.)Template:I2
  8. CATS=[[Category:non-standard category1|pipetrick1]][[[[Category:non-standard category2|pipetrick2]]...[[Category:non-standard categoryNN|pipetrickNN]]Template:I5Used primarily in administrative templates where the category structure has been duplicated locally for compatibility.Template:I0
    1. Cat1=, Cat2=, Cat3=, ..., Cat5=[[Category:catname|pipe-trick]], for keeping things neat on separate lines... especially useful when using different pipe-tricked forms.Template:I2
  9. SYS=defined, or V=0, it asserts Category:Interwiki template-links-tagging templates regardless of the 'V=#' parameter's other affects on auto-categorization.
  10. ??? - Stay tuned.

Individual tags

Templates to use when only some small number of sister projects has a similar template
  1. template:Metatmp
  2. template:commonstmp
  3. template:WikiBookstmp
  4. template:Wiktionarytmp
  5. template:Wikiquote
  6. template:WikiNewstmp
  7. template:Wikisourcetmp
  8. template:WikiSpeciestmp
  9. template:WikiVersitytmp




Key categories versus parameters
'Sister parameters' are those semi-mnemonic three letter codes noted on the template. Several depreciated equivalents are also legal substitutes: meta wikt

Toggle Parameters:
Defining one of the three letter mnemonic's expressed as all uppercase toggles the logic for the cell displaying that sister project from 'on to off' (This template is not used on that sister, the most common need), or from 'off to on' (A sister which has little need for templates has this particular one).
Example:
{{interwikitmp-grp|WDY=1|WPD=1|...}}
This example would express a template shared in common from the two sites Wiktionary and whereever, but for which Wikipedia (which normally has most everything) does NOT have said template. Wikitionary is toggled from normally off to on, Wikipedia from normally on to Off.
Lower case Mnemonic codes work dissimilarly in that defining such an parameter triggers difference tracking auto-categorization, but is indeed the same in effect for non-participating sister projects, for whom it is uncommon to share a template.

Categories by parameter affecting (table)

This table is currently untrue.
'Auto-categorization' by this template is currently disabled. FrankB 04:33, 8 July 2008 (UTC)
Categories in the system Params in play

Template:Lcs
Templates that are needed by tagging system.
Cat includes XXXXtmp individual tagging templates.
SYS (asserts)
and V=0

Template:Lcs
Principal tagging and 'Tracking category' where this tagging utility auto-categorizes (lists) tagged templates.
Can only turn off by inhibiting it's expression setting "|inhib='something'.
inhib (suppresses)

Template:Lcs
Rare occurence. Scope refers to paricipating Sister Projects, not literally all.
ALL2 (asserts)

Template:Lcs cases: V=1, V=4, V=6


Template:Lcs
cases: V=3, V=4, V=5, and V=6 (If V=6, then iff manually defined using 'cat=|' or MISC=defined.)

Template:Lcs
Assumed as a sub-category of Miscellaneous, uses same V=x logic.
Use param cat=(bare) category name to supplant Miscellaneous for all { V: 3,4,5,6 } modes.
sub-cat of same V=# distribution as Miscellaneous... define using cat= to supplant (replace) Miscellaneous templates.

Template:Lcs
CAT=any value

Template:Lcs
tracking category for anomalous templates where
the template exists, but has an
D or diff set

Interwiki name difference other sister project
tracking category
any mnemonic name parameter
being set to an

Template:Lcs UNCAT

Template:Lcs or
Template:Lcs or
Template:Lcs
NAV evinces if and only if there exists a defined category of one of these names

Template:Lcs R

a1 a2

c1 c2

e1 e2

1 Category:Interwiki link templates and Category:Interwiki utility templates -- bridge a gulf

2 Category: Internal link templates and Category:Interwiki utility templates.-- Link/Edit another page internally

3 Category:[ Miscellaneous || Typing-aid || Uncategorized ] templates and Category:Interwiki utility templates

4 Category:Interwiki link templates and Category:Miscellaneous templates -- Combo's of 1 + 3

5 Category: Internal link templates and Category:Miscellaneous templates -- Combo's of 2 + 3

6 Interwiki link templates, Internal link templates and Category:Miscellaneous templates -- Combo's of 1 + 2 + 3

Template:TL==Template:IWTG size Template:TL==Template:IWTG width Template:Lts

{{Interwikitmp-grp/doc}}

Version at a glance for Template Sharing Project [ Template:Interwikitmp-grp ]
Version Origin Change Description datestamp and programmer
Ver: 3a4 Wikibooks
Commons
Commons
c.) (m) Fix this table... had interleaved data fields. (Ooops) +(M) Assert normal default categories.
b.) (m) Move this table to the page bottom, annotation changes
a.) Logic change, defaults, --mta
c.) FrankB 05:01, 8 July 2008 (UTC)
b.) FrankB 04:33, 8 July 2008 (UTC)
a.) FrankB 16:10, 7 July 2008
Ver: 3a3 Meta ~~~~
Ver: 3a2 Meta (m) Trim out old inline commented history, and remove many unneeded editing/maintenance links FrankB 08:05, 19 April 2007 (UTC)
Ver: 3a1 Meta Iterim: Install revised auto-categorization logic, and do some clarification and rework of self documentation. FrankB 06:54, 15 March 2007 (UTC)
Ver: 3a Meta Edits to limit bad text nesting, moved and expanded inhib parameter processing. This is Iterim still. FrankB 00:42, 15 March 2007 (UTC)
Ver: 3r1 Meta Section edits to tidy up various things.
(b) Iterim save, even added the two letter and user unfriendly names the anom wanted. Cleaned up and formatted. Next: Refactor and cut in template:IWG_links
(a) Top=This table
~~~~
3r1b: FrankB 12:22, 7 March 2007 (UTC)
3r1a: from: 10:30, 7 March 2007 (UTC)
Ver: 3__ Meta Wikipedia version, with belated auto-categorization added, new table, but saved and Finished on Meta through several iterations... Adding (subst'd WPTSP version table) with this save. FrankB 08:35, 7 March 2007 (UTC)
from: two hours b4 above.
Ver:2F-k Wikipedia Adds Edit link to array box, Fixed logic sense of ALL param., added Inhib/Override params (All UCASE mnemonic) to bypass a sister if they don't or do want a template... whichever is opposite case from normal participation in the project. FrankB ww:zz, xx March 2007 (UTC)