Sorry for the inconvenience.  Known Navigation header breakage, its being "rebuilt" but forward nav should be ok now.
There may be other unforeseen breakage primarily in the handbook portion of the wiki.
The Table Of Contents section of each "PC-BSD® Users Handbook" page may be the best workaround.

Difference between revisions of "Template:OurInterwiki"

From PC-BSD Wiki
Jump to: navigation, search
(Explanation)
m (Changed protection level for "Template:OurInterwiki" (‎[move=sysop] (indefinite)))
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#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/en/books/developers-handbook/
+
| fbsddh        = http://www.freebsd.org/doc/{{putLangURL}}/books/developers-handbook/
| fbsdh        = http://www.freebsd.org/doc/en/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/
| fbsdph        = http://www.freebsd.org/doc/en/books/porters-handbook/
+
| fbsdhp        = http://www.freebsd.org/  <!-- home page -->
| mw              <!-- This is a fall-through to the next line -->
+
| fbsdph        = http://www.freebsd.org/doc/{{putLangURL}}/books/porters-handbook/
 +
| 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/
| wikibooks    = http://en.wikibooks.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/
 
| wikimedia    = http://wikimediafoundation.org/wiki/
| wikinews      = http://en.wikinews.org/wiki/
+
| wikinews      = http://{{putLangURL}}.wikinews.org/wiki/
| wikiquote    = http://en.wikiquote.org/wiki/
+
| wikiquote    = http://{{putLangURL}}.wikiquote.org/wiki/
 
| wikisource    = http://wikisource.org/wiki/
 
| wikisource    = http://wikisource.org/wiki/
 
| wikispecies  = http://species.wikimedia.org/wiki/
 
| wikispecies  = http://species.wikimedia.org/wiki/
| wiktionary    = http://en.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://en.wikipedia.org/wiki/
+
| wikiversity   = http://{{putLangURL}}.wikiversity.org/wiki/
| wikiversity     = http://en.wikiversity.org/wiki/      
+
| wp            = http://{{putLangURL}}.wikipedia.org/wiki/
}}<noinclude>           <!-- #### Do not modify this line ####   Place shortcut additions between these 2 lines -->
+
}}</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]].
 
==== Current defined shortcuts ====
 
<code>
 
:      {{padright:commons -|15|-}} {{http}}commons.wikimedia.org/wiki/
 
:          {{padright:fbsd -|15|-}} {{http}}wiki.freebsd.org/
 
:        {{padright:fbsddh -|15|-}} {{http}}www.freebsd.org/doc/en/books/developers-handbook/
 
:        {{padright:fbsdh -|15|-}} {{http}}www.freebsd.org/doc/en/books/handbook/
 
:        {{padright:fbsdph -|15|-}} {{http}}www.freebsd.org/doc/en/books/porters-handbook/
 
:            {{padright:mw -|15|-}} {{http}}www.mediawiki.org/wiki/
 
: {{padright:mediawikiwiki -|15|-}} {{http}}www.mediawiki.org/wiki/
 
:    {{padright:mediazilla -|15|-}} {{http}}bugzilla.wikimedia.org/
 
:          {{padright:meta -|15|-}} {{http}}meta.wikimedia.org/wiki/
 
:          {{padright:trac -|15|-}} {{http}}trac.pcbsd.org/wiki/
 
:    {{padright:wikibooks -|15|-}} {{http}}en.wikibooks.org/wiki/
 
:    {{padright:wikimedia -|15|-}} {{http}}wikimediafoundation.org/wiki/
 
:      {{padright:wikinews -|15|-}} {{http}}en.wikinews.org/wiki/
 
:    {{padright:wikiquote -|15|-}} {{http}}en.wikiquote.org/wiki/
 
:    {{padright:wikisource -|15|-}} {{http}}wikisource.org/wiki/
 
:  {{padright:wikispecies -|15|-}} {{http}}species.wikimedia.org/wiki/
 
:    {{padright:wiktionary -|15|-}} {{http}}en.wiktionary.org/wiki/
 
:            {{padright:wp -|15|-}} {{http}}en.wikipedia.org/wiki/
 
:    {{padright:wikipedia -|15|-}} {{http}}en.wikipedia.org/wiki/
 
:  {{padright:wikiversity -|15|-}} {{http}}en.wikiversity.org/wiki/ <!-- OurInterwiki template cannot transclude here. -->
 
</code>
 
 
</noinclude><!--  
 
</noinclude><!--  
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
+
 
# Please remember to add the shortcuts defined here,    #
+
    putLangURL template autoselects the language of the current page if on a localized page.
# 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>

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