Difference between revisions of "Template:OurInterwiki"

From PC-BSD Wiki
Jump to: navigation, search
m (Changed protection level for "Template:OurInterwiki" (‎[move=sysop] (indefinite)))
 
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>{{#ifeq: {{{first|}}}|list|===List of Shortcuts===|{{#switch: {{{first}}} }}
+
<includeonly>{{#switch: {{{first}}}<!-- *** DO NOT modify this line *** Add shortcuts below alphabetical by keyword -->
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}commons      = http://commons.wikimedia.org/wiki/
+
| ccby3        = https://creativecommons.org/licenses/by/3.0/deed.{{testLangURL|es|es_ES|ca|de|eo|fr|id|it|hu|no|nl|pl|pt|pt_BR|fi|sv|is|el|ru|uk|zh|zh_TW|ko}}
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}fbsd          = http://wiki.freebsd.org/
+
| commons      = http://commons.wikimedia.org/wiki/
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}fbsddh        = http://www.freebsd.org/doc/en/books/developers-handbook/
+
| fbsd          = http://wiki.freebsd.org/ <!-- depreciated -->
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}fbsdh        = http://www.freebsd.org/doc/en/books/handbook/
+
| fbsddh        = http://www.freebsd.org/doc/{{putLangURL}}/books/developers-handbook/
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}fbsdph        = http://www.freebsd.org/doc/en/books/porters-handbook/
+
| fbsdh        = http://www.freebsd.org/doc/{{testLangURL|da|de|el|es|fr|hu|it|ja|mn|nl|pt_BR|ru|zh_CN|zh_TW}}/books/handbook/
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}mw            = http://www.mediawiki.org/wiki/
+
| fbsdhp        = http://www.freebsd.org/  <!-- home page -->
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}mediawikiwiki = http://www.mediawiki.org/wiki/
+
| fbsdph        = http://www.freebsd.org/doc/{{putLangURL}}/books/porters-handbook/
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}mediazilla    = http://bugzilla.wikimedia.org/
+
| fbsdw        = http://wiki.freebsd.org/
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}meta          = http://meta.wikimedia.org/wiki/
+
| fbsd2        = http://wiki.freebsd.org/  <!-- depreciated -->
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}trac          = http://trac.pcbsd.org/wiki/
+
| ffbsd        = http://forums.freebsd.org/
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}wikibooks    = http://en.wikibooks.org/wiki/
+
| fpcbsd        = http://forums.pcbsd.org/
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}wikimedia    = http://wikimediafoundation.org/wiki/
+
| fdpcbsd      = http://forums.pcbsd.org/forumdisplay.php?f=
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}wikinews      = http://en.wikinews.org/wiki/
+
| manpage      = http://www.freebsd.org/cgi/man.cgi?query=
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}wikiquote    = http://en.wikiquote.org/wiki/
+
| mediawikiwiki = http://www.mediawiki.org/wiki/
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}wikisource    = http://wikisource.org/wiki/
+
| mediazilla    = http://bugzilla.wikimedia.org/
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}wikispecies  = http://species.wikimedia.org/wiki/
+
| meta          = http://meta.wikimedia.org/wiki/
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}wiktionary    = http://en.wiktionary.org/wiki/
+
| mw            = http://www.mediawiki.org/wiki/
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}wp            = http://en.wikipedia.org/wiki/
+
| pcbsdhp      = http://www.pcbsd.org/{{testLangURL|en|es|fr|br}}/  <!-- home page -->
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}wikipedia    = http://en.wikipedia.org/wiki/
+
| pcbsdlist    = http://lists.pcbsd.org/mailman/listinfo/
{{#ifeq:{{{first|}}}|list|*|{{!}}|}}wikiversity  = http://en.wikiversity.org/wiki/
+
| pcbsdlists    = http://lists.pcbsd.org/mailman/listinfo/
{{#ifeq:{{{first|}}}|list| |{{dccb}} }}</onlyinclude><noinclude>
+
| trac          = http://trac.pcbsd.org/wiki/
 +
| tracpo        = http://trac.pcbsd.org/browser/build-files/ports-overlay/
 +
| website      = http://www.pcbsd.org/{{testLangURL|en|es|fr|br}}/  <!-- depreciated -->
 +
| wikibooks    = http://{{putLangURL}}.wikibooks.org/wiki/
 +
| wikimedia    = http://wikimediafoundation.org/wiki/
 +
| wikinews      = http://{{putLangURL}}.wikinews.org/wiki/
 +
| wikiquote    = http://{{putLangURL}}.wikiquote.org/wiki/
 +
| wikisource    = http://wikisource.org/wiki/
 +
| wikispecies  = http://species.wikimedia.org/wiki/
 +
| wiktionary    = http://{{putLangURL}}.wiktionary.org/wiki/
 +
| wikipedia    = http://{{putLangURL}}.wikipedia.org/wiki/
 +
| wikiversity  = http://{{putLangURL}}.wikiversity.org/wiki/
 +
| wp            = http://{{putLangURL}}.wikipedia.org/wiki/
 +
}}</includeonly><noinclude><!-- #### Do not modify this line or below ####  Add shortcuts above alphabetical by keyword-->
 +
 
 +
<!-- a "default" result for the switch will not work, it will affect all citelink links that have no shortcut used -->
 
== Explanation ==
 
== Explanation ==
 
This is the subsection listing shortcut names and the urls defined for each, used within the [[Template:citelink | ''citelink'' template]].
 
This is the subsection listing shortcut names and the urls defined for each, used within the [[Template:citelink | ''citelink'' template]].
 
</noinclude><!--  
 
</noinclude><!--  
{{#ifeq: string 1 | string 2 | value if identical | value if different }}
+
 
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
+
    putLangURL template autoselects the language of the current page if on a localized page.
# Please remember to add the shortcuts defined here,    #
+
   
# into the explanation section of the citelink template #
+
    testLangURL template is provided with a list of up to 60 language codes which could match the current localized page,
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
+
    if a match is found it is used, or defaults to en. Uncertain about the pt_BR, zh_CN, zh_TW in relation to how the
 +
    wiki will designate the language of such a localized page.
 +
 
 +
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
 +
# Please remember to add the shortcuts defined here,    #  # Reminder to self: For whatever reason attempts at  #
 +
# into the explanation section of the citelink template #  # transclusion as I desire only breaks things, don't! #
 +
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
 
--><noinclude>[[category:Templates]]</noinclude>
 
--><noinclude>[[category:Templates]]</noinclude>

Latest revision as of 12:38, 1 January 2014


[edit] Explanation

This is the subsection listing shortcut names and the urls defined for each, used within the citelink template.