Difference between revisions of "Template:OurInterwiki"

From PC-BSD Wiki
Jump to: navigation, search
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>{{#ifeq:{{{1}}}|list1| |{{docb}}}}{{#ifeq: {{{1|}}}|list2|===List of Shortcuts===|#switch: {{{1}}} }}
+
<onlyinclude>{{#switch: {{{first}}}             <!-- #### Do not modify this line ####  Place shortcut additions between these 2 lines -->
{{#ifeq:{{{1|}}}|list3|*|{{!}}}}commons      = http://commons.wikimedia.org/wiki/
+
| commons      = http://commons.wikimedia.org/wiki/
{{#ifeq:{{{1|}}}|list|*|{{!}}}}fbsd          = http://wiki.freebsd.org/
+
| 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:{{{1|}}}|list|*|{{!}}}}fbsddh        = http://www.freebsd.org/doc/en/books/developers-handbook/
+
| fbsd          = http://wiki.freebsd.org/
{{#ifeq:{{{1|}}}|list|*|{{!}}}}fbsdh        = http://www.freebsd.org/doc/en/books/handbook/
+
| fbsddh        = http://www.freebsd.org/doc/{{putLangURL}}/books/developers-handbook/
{{#ifeq:{{{1|}}}|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:{{{1|}}}|list|*|{{!}}}}mw            = http://www.mediawiki.org/wiki/
+
| fbsdph        = http://www.freebsd.org/doc/{{putLangURL}}/books/porters-handbook/
{{#ifeq:{{{1|}}}|list|*|{{!}}}}mediawikiwiki = http://www.mediawiki.org/wiki/
+
| mw              <!-- This is a fall-through to the next line -->
{{#ifeq:{{{1|}}}|list|*|{{!}}}}mediazilla    = http://bugzilla.wikimedia.org/
+
| mediawikiwiki = http://www.mediawiki.org/wiki/
{{#ifeq:{{{1|}}}|list|*|{{!}}}}meta          = http://meta.wikimedia.org/wiki/
+
| mediazilla    = http://bugzilla.wikimedia.org/
{{#ifeq:{{{1|}}}|list|*|{{!}}}}trac          = http://trac.pcbsd.org/wiki/
+
| meta          = http://meta.wikimedia.org/wiki/
{{#ifeq:{{{1|}}}|list|*|{{!}}}}wikibooks    = http://en.wikibooks.org/wiki/
+
| pcbsdlist    = http://lists.pcbsd.org/mailman/listinfo/
{{#ifeq:{{{1|}}}|list|*|{{!}}}}wikimedia    = http://wikimediafoundation.org/wiki/
+
| trac          = http://trac.pcbsd.org/wiki/
{{#ifeq:{{{1|}}}|list|*|{{!}}}}wikinews      = http://en.wikinews.org/wiki/
+
| website      = http://www.pcbsd.org/en/
{{#ifeq:{{{1|}}}|list|*|{{!}}}}wikiquote    = http://en.wikiquote.org/wiki/
+
| wikibooks    = http://{{putLangURL}}.wikibooks.org/wiki/
{{#ifeq:{{{1|}}}|list|*|{{!}}}}wikisource    = http://wikisource.org/wiki/
+
| wikimedia    = http://wikimediafoundation.org/wiki/
{{#ifeq:{{{1|}}}|list|*|{{!}}}}wikispecies  = http://species.wikimedia.org/wiki/
+
| wikinews      = http://{{putLangURL}}.wikinews.org/wiki/
{{#ifeq:{{{1|}}}|list|*|{{!}}}}wiktionary    = http://en.wiktionary.org/wiki/
+
| wikiquote    = http://{{putLangURL}}.wikiquote.org/wiki/
{{#ifeq:{{{1|}}}|list|*|{{!}}}}wp            = http://en.wikipedia.org/wiki/
+
| wikisource    = http://wikisource.org/wiki/
{{#ifeq:{{{1|}}}|list|*|{{!}}}}wikipedia    = http://en.wikipedia.org/wiki/
+
| wikispecies  = http://species.wikimedia.org/wiki/
{{#ifeq:{{{1|}}}|list|*|{{!}}}}wikiversity  = http://en.wikiversity.org/wiki/
+
| wiktionary    = http://{{putLangURL}}.wiktionary.org/wiki/
{{#ifeq:{{{1|}}}|list| |{{dccb}} }}</onlyinclude><noinclude>
+
| wp              <!-- This is a fall-through to the next line -->
 +
| wikipedia    = http://{{putLangURL}}.wikipedia.org/wiki/
 +
| wikiversity  = http://{{putLangURL}}.wikiversity.org/wiki/      
 +
}}</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]].
 
</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 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