Sorry for the inconvenience.  Chance of typos in templates, the navigation header should be functional for most versions of the handbook.
Potential remains for unforeseen breakage primarily in the handbook portion of the wiki.
Notice will be up until above verified and no other troubles found from recent modifications.

Difference between revisions of "Template:OurInterwiki"

From PC-BSD Wiki
Jump to: navigation, search
(one final test)
m (Changed protection level for "Template:OurInterwiki" (‎[move=sysop] (indefinite)))
(22 intermediate revisions by one user not shown)
Line 1: Line 1:
<onlyinclude>{{#switch: {{{first}}}             <!-- #### Do not modify this line ####  Place shortcut additions between these 2 lines -->
+
<includeonly>{{#switch: {{{first}}}<!-- *** DO NOT modify this line *** Add shortcuts below alphabetical by keyword -->
 +
| 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}}
 
| commons      = http://commons.wikimedia.org/wiki/
 
| commons      = http://commons.wikimedia.org/wiki/
| fbsd          = http://wiki.freebsd.org/
+
| fbsd          = http://wiki.freebsd.org/ <!-- depreciated -->
 
| fbsddh        = http://www.freebsd.org/doc/{{putLangURL}}/books/developers-handbook/
 
| fbsddh        = http://www.freebsd.org/doc/{{putLangURL}}/books/developers-handbook/
| fbsdh        = http://www.freebsd.org/doc/{{putLangURL}}/books/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/
 +
| fbsdhp        = http://www.freebsd.org/  <!-- home page -->
 
| fbsdph        = http://www.freebsd.org/doc/{{putLangURL}}/books/porters-handbook/
 
| fbsdph        = http://www.freebsd.org/doc/{{putLangURL}}/books/porters-handbook/
| mw              <!-- This is a fall-through to the next line -->
+
| fbsdw        = http://wiki.freebsd.org/
 +
| fbsd2        = http://wiki.freebsd.org/  <!-- depreciated -->
 +
| ffbsd        = http://forums.freebsd.org/
 +
| fpcbsd        = http://forums.pcbsd.org/
 +
| fdpcbsd      = http://forums.pcbsd.org/forumdisplay.php?f=
 +
| manpage      = http://www.freebsd.org/cgi/man.cgi?query=
 
| mediawikiwiki = http://www.mediawiki.org/wiki/
 
| mediawikiwiki = http://www.mediawiki.org/wiki/
 
| mediazilla    = http://bugzilla.wikimedia.org/
 
| mediazilla    = http://bugzilla.wikimedia.org/
 
| meta          = http://meta.wikimedia.org/wiki/
 
| meta          = http://meta.wikimedia.org/wiki/
 +
| mw            = http://www.mediawiki.org/wiki/
 +
| pcbsdhp      = http://www.pcbsd.org/{{testLangURL|en|es|fr|br}}/  <!-- home page -->
 +
| pcbsdlist    = http://lists.pcbsd.org/mailman/listinfo/
 +
| pcbsdlists    = http://lists.pcbsd.org/mailman/listinfo/
 
| trac          = http://trac.pcbsd.org/wiki/
 
| trac          = http://trac.pcbsd.org/wiki/
| website      = http://www.pcbsd.org/en/
+
| 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/
 
| wikibooks    = http://{{putLangURL}}.wikibooks.org/wiki/
 
| wikimedia    = http://wikimediafoundation.org/wiki/
 
| wikimedia    = http://wikimediafoundation.org/wiki/
Line 18: Line 30:
 
| wikispecies  = http://species.wikimedia.org/wiki/
 
| wikispecies  = http://species.wikimedia.org/wiki/
 
| wiktionary    = http://{{putLangURL}}.wiktionary.org/wiki/
 
| wiktionary    = http://{{putLangURL}}.wiktionary.org/wiki/
| wp              <!-- This is a fall-through to the next line -->
 
 
| wikipedia    = http://{{putLangURL}}.wikipedia.org/wiki/
 
| wikipedia    = http://{{putLangURL}}.wikipedia.org/wiki/
| wikiversity  = http://{{putLangURL}}.wikiversity.org/wiki/      
+
| wikiversity  = http://{{putLangURL}}.wikiversity.org/wiki/
}}</onlyinclude><noinclude>           <!-- #### Do not modify this line ####   Place shortcut additions between these 2 lines -->
+
| 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><!-- |da|de|el|es|fr|hu|it|ja|mn|nl|pt_BR|ru|zh_CN|zh_TW
+
</noinclude><!--  
  
FYI: the putLangURL template autoselects the language of the current page or a defined value defined as "default" or "en" if all else fails.
+
    putLangURL template autoselects the language of the current page if on a localized page.
 +
   
 +
    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  #
+
# 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! #
+
# 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>

Revision as of 11:38, 1 January 2014


Explanation

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

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox