Difference between revisions of "Template:Sec link/relative url"

From Lojban
Jump to navigation Jump to search
m
 
m (1 revision imported)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
#REDIRECT [[Robin's Palm Writings: Math - The RPN Nesting Problem]]
+
//{{#switch: {{lc: {{{project|}}} }}
 +
| wikipedia | w = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wikipedia
 +
| wiktionary | wikt = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wiktionary
 +
| wikinews | n = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wikinews
 +
| wikibooks | b = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wikibooks
 +
| wikiquote | q = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wikiquote
 +
| wikisource | s = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wikisource
 +
| oldwikisource = wikisource
 +
| wikispecies | species = species.wikimedia
 +
| wikiversity | v = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wikiversity
 +
| wikimedia | foundation | wmf = wikimediafoundation
 +
| wikivoyage = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wikivoyage
 +
| commons = commons.wikimedia
 +
| meta | metawikipedia | m = meta.wikimedia
 +
| strategy = strategy.wikimedia
 +
| incubator = incubator.wikimedia
 +
| mw = www.mediawiki
 +
| nost = nostalgia.wikimedia
 +
| testwiki = test.wikipedia
 +
| #default =
 +
 
 +
<!-- Other Wikipedia language fed, or no project fed.
 +
    (If copying this template to a non-Wikipedia project,
 +
    then update the below code line.) -->
 +
| #default = {{#if:{{{project|}}}|{{{project}}}|{{CONTENTLANG}}}}.wikipedia
 +
 
 +
}}.org/wiki/{{#if: {{{anchor|}}}
 +
| {{Case preserving encode|{{{pagename|}}} }}#{{anchorencode:{{{anchor}}} }}
 +
| {{Case preserving encode|{{{pagename|}}} }}{{#if: {{{query|}}}
 +
  | ?{{{query|}}}
 +
  }}
 +
}}<noinclude>
 +
 
 +
{{documentation}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

Latest revision as of 15:53, 19 October 2014

//en.wikipedia.org/wiki/

Documentation icon Template documentation[view] [edit] [history] [purge]

This is the {{sec link/relative url}} sub-template.

Do not use this template directly, use {{sec link}} or {{sec link auto}} and their sister templates instead.

This template is called from the {{sec link}} family of templates.

Technical details

This sub-template returns a raw URL for the normal servers. It expects these parameters:

{{sec link/relative url
| project = 
| pagename = 
| lang = 
| query = 
| anchor = 
}}

For more documentation see {{sec link auto}}.

ja:Template:Sec link/relative url