Template:Interwikitmp-grp: Difference between revisions
More actions
Document P2F and port to en.wp |
Imp from en.wp (iterim update--newer one coming) |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
'''Ver: Pass 2F''' | '''Ver: Pass 2F''' 06:44, 28 January 2007 (UTC) | ||
'''Interwikitmp-grp''' with a facelift per TfD suggestions... | '''Interwikitmp-grp''' with a facelift per TfD suggestions... | ||
| Line 8: | Line 9: | ||
Eliminates need for array of XXXXtmp templates which is beneficial in and of itself. | Eliminates need for array of XXXXtmp templates which is beneficial in and of itself. | ||
</noinclude><includeonly>[[category:Interwiki utility templates | {{{1|{{PAGENAME}}}}}]]</includeonly> | </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;"> | <table style="clear: right; float:right; border: 1px solid black; padding: 5px; margin: 5px;"> | ||
<!-- Keep in this same regular consistant order ---> | <!-- Keep in this same regular consistant order ---> | ||
<tr> | <tr> | ||
<th colspan=" | <th colspan="4">Similar templates at English sister projects</th> | ||
</tr> | </tr> | ||
{{#if: {{{ | {{#if: {{{mta}}} | | ||
<tr> | <tr> | ||
<td>[[Image:Wikimedia-logo.svg|25x25px]]</td> | <td>[[Image:Wikimedia-logo.svg|25x25px]]</td> | ||
<td> mta </td> | |||
<td>Meta-wiki</td> | <td>Meta-wiki</td> | ||
<td>[[ | <td>[[M:Template:{{{meta|{{PAGENAME}}}}}|{{{meta|{{PAGENAME}}}}}]]</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{wpd}}} | | ||
<tr> | <tr> | ||
<td>[[Image:Wikipedia-logo.png|25x25px]]</td> | <td>[[Image:Wikipedia-logo.png|25x25px]]</td> | ||
<td> wpd </td> | |||
<td>Wikipedia</td> | <td>Wikipedia</td> | ||
<td>[[w:Template:{{{wp|{{PAGENAME}}}}}|{{{wp|{{PAGENAME}}}}}]]</td> | <td>[[w:Template:{{{wp|{{PAGENAME}}}}}|{{{wp|{{PAGENAME}}}}}]]</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{cms}}} | | ||
<tr> | <tr> | ||
<td>[[Image:Commons-logo.svg|25x25px]]</td> | <td>[[Image:Commons-logo.svg|25x25px]]</td> | ||
<td> cms </td> | |||
<td>Commons</td> | <td>Commons</td> | ||
{{#ifeq: {{SITENAME}}|Wikimedia Commons | <td>[[Template: {{{cms|{{PAGENAME}}}}}|{{{cms|{{PAGENAME}}}}}]] </td> | |||
| <td>[[commons:Template:{{{commons|{{PAGENAME}}}}}|{{{cms|{{PAGENAME}}}}}]] </td> | |||
}} <!--- Need for Wikt, Wvy, Wsp? as well. ---> | |||
|{{{commons|{{PAGENAME}}}}}]]</td> | |||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{wbk}}} | | ||
<tr> | <tr> | ||
<td>[[Image:Wikibooks-logo.svg|25x25px]]</td> | <td>[[Image:Wikibooks-logo.svg|25x25px]]</td> | ||
<td> wbk </td> | |||
<td>Wikibooks</td> | <td>Wikibooks</td> | ||
<td>[[b:Template:{{{wb|{{PAGENAME}}}}}|{{{wb|{{PAGENAME}}}}}]]</td> | <td>[[b:Template:{{{wb|{{PAGENAME}}}}}|{{{wb|{{PAGENAME}}}}}]]</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{wqt}}} | | ||
<tr> | <tr> | ||
<td>[[Image:Wikiquote-logo.svg|25x25px]]</td> | <td>[[Image:Wikiquote-logo.svg|25x25px]]</td> | ||
<td> wqt </td> | |||
<td>Wikiquote</td> | <td>Wikiquote</td> | ||
<td>[[q:Template:{{{wq|{{PAGENAME}}}}}|{{{wq|{{PAGENAME}}}}}]]</td> | <td>[[q:Template:{{{wq|{{PAGENAME}}}}}|{{{wq|{{PAGENAME}}}}}]]</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{wsr}}} | | ||
<tr> | <tr> | ||
<td>[[Image:Wikisource-logo.svg|25x25px]]</td> | <td>[[Image:Wikisource-logo.svg|25x25px]]</td> | ||
<td> wsr </td> | |||
<td>Wikisource</td> | <td>Wikisource</td> | ||
<td>[[s:Template:{{{ws|{{PAGENAME}}}}}|{{{ws|{{PAGENAME}}}}}]]</td> | <td>[[s:Template:{{{ws|{{PAGENAME}}}}}|{{{ws|{{PAGENAME}}}}}]]</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{wdy|}}} | | ||
<tr> | <tr> | ||
<td>[[Image:Wiktionary-logo-en.png|25x25px]]</td> | <td>[[Image:Wiktionary-logo-en.png|25x25px]]</td> | ||
<td> wdy </td> | |||
<td>Wiktionary</td> | <td>Wiktionary</td> | ||
<td>[[wikt:Template:{{{wd|{{PAGENAME}}}}}|{{{wd|{{PAGENAME}}}}}]]</td> | <td>[[wikt:Template:{{{wd|{{PAGENAME}}}}}|{{{wd|{{PAGENAME}}}}}]]</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{wnw|}}} | | ||
<tr> | <tr> | ||
<td>[[Image:Wikinews-logo.svg|25x25px]]</td> | <td>[[Image:Wikinews-logo.svg|25x25px]]</td> | ||
<td> wnw </td> | |||
<td>Wikinews</td> | <td>Wikinews</td> | ||
<td>[[n:Template:{{{wn|{{PAGENAME}}}}}|{{{wn|{{PAGENAME}}}}}]]</td> | <td>[[n:Template:{{{wn|{{PAGENAME}}}}}|{{{wn|{{PAGENAME}}}}}]]</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{wsp}}} | | ||
<tr> | <tr> | ||
<td>[[Image:Wikispecies-logo.svg|25x25px]]</td> | <td>[[Image:Wikispecies-logo.svg|25x25px]]</td> | ||
<td> wsp </td> | |||
<td>Wikispecies</td> | <td>Wikispecies</td> | ||
<td>[[wikispecies:{{{species|{{PAGENAME}}}}}|{{{species|{{PAGENAME}}}}}]]</td> | <td>[[wikispecies:{{{species|{{PAGENAME}}}}}|{{{species|{{PAGENAME}}}}}]]</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{wvy}}} | | ||
<tr> | <tr> | ||
<td>[[Image:Wikiversity-logo.svg|25x25px]]</td> | <td>[[Image:Wikiversity-logo.svg|25x25px]]</td> | ||
<td> wvy </td> | |||
<td>Wikiversity</td> | <td>Wikiversity</td> | ||
<td>[[v:Template:{{{wv|{{PAGENAME}}}}}|{{{wv|{{PAGENAME}}}}}]]</td> | <td>[[v:Template:{{{wv|{{PAGENAME}}}}}|{{{wv|{{PAGENAME}}}}}]]</td> | ||
</tr> | </tr> | ||
}} | }} | ||
</ | {{#if: {{{mwi|}}} | | ||
<tr> | |||
<td>[[Image:Mediawiki.png|25x25px]]</td> | |||
<td> mwi </td> | |||
<td>Mediawiki</td> | |||
<td>[[mw:Template:{{{mw|{{PAGENAME}}}}}|{{{mw|{{PAGENAME}}}}}]]</td> | |||
</tr> | |||
}} | |||
[[Category:Interwiki utility templates|!{{PAGENAME}}]] | <tr> | ||
[[Category:Interwiki link templates|{{PAGENAME}}]] | <th colspan="4"> This project under construction ...<br> Pardon our appearance whist we remodel,<br> pull the engine, and change the tires. </th> | ||
</tr> | |||
</table><noinclude> | |||
[[Category:Interwiki template-links-tagging templates|{{PAGENAME}}]] | |||
<!-- The below line confirmed in self-declaration 27Jan2007 ----> | |||
{{#ifeq: {{{inhib}}}|yes |<!--- do nothing --->|[[Category:Interwiki utility templates|!{{PAGENAME}}]]}} | |||
<!-- [[Category:Interwiki link templates|!{{PAGENAME}}]] ?depreciated??? 27 Jan 2007 per plan ---> | |||
==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: | ||
*''' | *'''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 | ||
<pre> | |||
Passing an empty parameter will cause the item to be omitted from the list. | Passing an empty parameter will cause the item to be omitted from the list. | ||
Example: | Example: | ||
{{Template:Interwikitmp-grp | {{Template:Interwikitmp-grp | ||
|meta= | |meta= | ||
| Line 112: | Line 139: | ||
|wn=foo | |wn=foo | ||
}} | }} | ||
This produces a box with the Meta and Wikiquote rows ommitted, and the "Template:foo" linked to in the Wikinews row. | This produces a box with the Meta and Wikiquote rows ommitted, and the "Template:foo" linked to in the Wikinews row. | ||
;Templates to use when only some sister projects has a similar template: | </pre> | ||
==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: | |||
:# [[template:Metatmp ]] | :# [[template:Metatmp ]] | ||
:# [[template:commonstmp ]] | :# [[template:commonstmp ]] | ||
:# [[template:WikiBookstmp ]] | :# [[template:WikiBookstmp ]] | ||
:# [[ | :# [[template:Wikiquote ]] | ||
:# [[template:Wikisourcetmp ]] | :# [[template:Wikisourcetmp ]] | ||
:# [[template:Wiktionarytmp ]] | :# [[template:Wiktionarytmp ]] | ||
| Line 125: | Line 155: | ||
:# [[template:WikiSpeciestmp ]] | :# [[template:WikiSpeciestmp ]] | ||
:# [[template:WikiVersitytmp ]] | :# [[template:WikiVersitytmp ]] | ||
;Interwiki task management templates (for misc. Maintenance) | ;Interwiki task management templates (for misc. Maintenance) | ||
* | *-2. {{Lts|Interwikitmp-grpD}} {{SP|5}}—Mastercopy: [[W:template:Interwikitmp-grpD|en.Wp ]] {{I5}} | ||
* | *-1. {{Lts|Interwikitmp-grp }} {{SP|5}}—Mastercopy: [[W:template:Interwikitmp-grp |en.Wp ]] {{I5}} | ||
* | * 0. {{Lts|Interwikitmp-grp0}} {{SP|5}}—Mastercopy: [[W:template:Interwikitmp-grp0|en.Wp ]] {{I5}} | ||
*#{{Lts|Interwikitmp-grps see also}} {{SP|5}}—Mastercopy: | * 1. {{Lts|Interwikitmp-grp1}} {{SP|5}}—Mastercopy: [[W:template:Interwikitmp-grp1|en.Wp ]] {{I5}} | ||
*#{{Lts|Interwikitmp-grp ineligible}} {{SP|5}}—Mastercopy: | * 2. {{Lts|Interwikitmp-grp2}} {{SP|5}}—Mastercopy: [[W:template:Interwikitmp-grp2|en.Wp ]] {{I5}} | ||
* 3. {{Lts|Interwikitmp-grp3}} {{SP|5}}—Mastercopy: [[W:template:Interwikitmp-grp3|en.Wp ]] {{I5}} | |||
* 4. {{Lts|Interwikitmp-grp4}} {{SP|5}}—Mastercopy: [[W:template:Interwikitmp-grp4|en.Wp ]] {{I5}} | |||
* 5. {{Lts|Interwikitmp-grp5}} {{SP|5}}—Mastercopy: [[W:template:Interwikitmp-grp5|en.Wp ]] {{I5}} | |||
* 6. {{Lts|Interwikitmp-grp6}} {{SP|5}}—Mastercopy: [[W:template:Interwikitmp-grp6|en.Wp ]] {{I5}} | |||
;Auxilliaries | |||
*# {{Lts|Interwikitmp-grps see also}} {{SP|5}}—Mastercopy: [[W:template:Interwikitmp-grps see also|en.Wp ]] | |||
*# {{Lts|Interwikitmp-grp ineligible}} {{SP|5}}—Mastercopy: [[W:template:Interwikitmp-grp ineligible|en.Wp ]] | |||
*# somethings missing... | |||
*# {{Lts|Interwikitmp-grp usage}} {{SP|5}}—Mastercopy: [[W:template:Interwikitmp-grp usage]] | |||
</noinclude> | </noinclude> | ||
<!-- ITEMS that affect both the local template and the calling template BELOW THIS LINE ----> | |||
---- | |||
<noinclude> | |||
<!--- {{Template:Interwikitmp-grp/doc}}{{Lts|Interwikitmp-grpNN usage}} | |||
{{Interwikitmp-grp/doc}}{{Interwikitmp-grpNN usage}} ---> | |||
---- | |||
;quicklinks | |||
*# {{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}} | |||
| d | |||
|- | |||
| {{lcs|Miscellaneous templates }} | |||
| e | |||
|- | |||
| {{lcs|Typing-aid templates }} | |||
| f | |||
|- | |||
| {{lcs|Interwiki utility templates }} | |||
| g | |||
|- | |||
| {{lcs|Interwiki templates varying on other sister projects }} | |||
| h | |||
|- | |||
| {{lcs|Interwiki name difference other sister project | |||
| i | |||
|- | |||
| {{lcs|Uncategorized templates}} | |||
| j | |||
|- | |||
| {{lcs|Navigation templates}} | |||
| k | |||
|- | |||
| {{lcs|redirect templates}} | |||
| l | |||
|- | |||
|} | |||
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 | |||
{| | |||
|- | |||
! {{TL|IWTG size}}=={{IWTG size}} | |||
! {{TL|IWTG width}}=={{IWTG width}} | |||
! {{Lts|Interwiki class-sisterproject}} | |||
|}----> | |||
---- | |||
<!--- {{Interwikitmp-grp edit group}} disable, is causing expansion overrun per conversations with CBDunkerson in early Jan. and repeated again on 26 Jan. ---> | |||
</noinclude><includeonly> | |||
<!-- ADD CATEGORIES BELOW THIS LINE --> | |||
;test | |||
{{#ifeq: {{{inhib|}}}|yes|<!--- do nothing --->|[[:Category:Interwiki utility templates|{{PAGENAME}}]]}} | |||
</includeonly> | |||
{{SITENAME}} | |||
Revision as of 06:48, 28 January 2007
Ver: Pass 2F 06:44, 28 January 2007 (UTC)
Interwikitmp-grp with a facelift per TfD suggestions... Implicit scope is at least revolutionary, denote as Pass-2F genesis, 04:30 (utc), 26 January 2007 (UTC) Major changes in technique and appearance. Eliminates need for array of XXXXtmp templates which is beneficial in and of itself.
| Similar templates at English sister projects | |||
|---|---|---|---|
| mta | Meta-wiki | Interwikitmp-grp | |
| wpd | Wikipedia | Interwikitmp-grp | |
| cms | Commons | Interwikitmp-grp | |
| wbk | Wikibooks | Interwikitmp-grp | |
| wqt | Wikiquote | Interwikitmp-grp | |
| wsr | Wikisource | Interwikitmp-grp | |
| wsp | Wikispecies | Interwikitmp-grp | |
| wvy | Wikiversity | Interwikitmp-grp | |
| This project under construction ... Pardon our appearance whist we remodel, pull the engine, and change the tires. |
|||
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:
- 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
Passing an empty parameter will cause the item to be omitted from the list.
Example:
{{Template:Interwikitmp-grp
|meta=
|wq=
|wn=foo
}}
This produces a box with the Meta and Wikiquote rows ommitted, and the "Template:foo" linked to in the Wikinews row.
Individual tags
- quicklinks
- Template:SP--
- Template:SP -- main documentation page. Displays others here
- Template:SP--
- Key categories
| Categories in the system | Interwikitmp-grp##'s tagging templates with category |
|---|---|
| a | |
| b | |
| c | |
| d | |
| e | |
| f | |
| g | |
| h | |
| Interwiki name difference other sister project | i |
| j | |
| k | |
| l |
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 |
|---|
---->
Neodyland Wiki