Sorry for the inconvenience.  Known Navigation header breakage of “Previous:” and “Next:” links, the Table Of Contents may be the solution for those.
However, unfortunately, the Table of contents may also be broken, and there may be other unforeseen breakage primarily in the handbook portion of the wiki.
Presently the 10.1 Table Of Contents is being "reconstructed" becoming incrementally fixed while the other handbook versions may have various breakage.

Difference between revisions of "Template:OurInterwiki"

From PC-BSD Wiki
Jump to: navigation, search
(Explanation)
(20 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 -->
+
<onlyinclude>{{#switch: {{{first}}}             <!-- #### Do not modify this line ####  Place shortcut additions between these 2 lines -->
 
| commons      = http://commons.wikimedia.org/wiki/
 
| 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}}
 
| fbsd          = http://wiki.freebsd.org/
 
| fbsd          = http://wiki.freebsd.org/
| 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/
+
| fbsdph        = http://www.freebsd.org/doc/{{putLangURL}}/books/porters-handbook/
 
| mw              <!-- This is a fall-through to the next line -->
 
| mw              <!-- This is a fall-through to the next line -->
 
| 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/
 +
| pcbsdlist    = http://lists.pcbsd.org/mailman/listinfo/
 
| trac          = http://trac.pcbsd.org/wiki/
 
| trac          = http://trac.pcbsd.org/wiki/
| wikibooks    = http://en.wikibooks.org/wiki/
+
| website      = http://www.pcbsd.org/en/
 +
| 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 -->
 
| wp              <!-- This is a fall-through to the next line -->
| wikipedia    = http://en.wikipedia.org/wiki/
+
| wikipedia    = http://{{putLangURL}}.wikipedia.org/wiki/
| wikiversity     = http://en.wikiversity.org/wiki/       
+
| wikiversity   = http://{{putLangURL}}.wikiversity.org/wiki/       
}}<noinclude>          <!-- #### Do not modify this line ####  Place shortcut additions between these 2 lines -->
+
}}</onlyinclude><noinclude>          <!-- #### Do not modify this line ####  Place shortcut additions between these 2 lines -->
  
 
== 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 30 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 21:36, 12 September 2013


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