الفرق بين النسختين بتاع: «قالب:Sec link auto»
تم حذف المحتوى تمت إضافة المحتوى
Creating this "automatic secure server link" template. |
Nah, don't show syntax. Since we can link to the main pages for most projects, when only getting project name. |
||
سطر 1:
| {{{1|}}}▼
| {{{2|}}} = ▼
▲ {{#ifeq: {{SERVERNAME}} | secure.wikimedia.org
▲ | [https://secure.wikimedia.org/{{#switch: {{lc: {{{1|}}} }}
| wikimedia | foundation | wmf = wikipedia/foundation
▲ | wikinews | n = wikinews/{{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}
▲ | wikibooks | b = wikibooks/{{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}
▲ | wikiquote | q = wikiquote/{{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}
▲ | wikiversity | v = wikiversity/{{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}
▲ | meta | metawikipedia | m = wikipedia/meta
▲ | mw = wikipedia/mediawiki
▲ | nost = wikipedia/nostalgia
▲ | testwiki = wikipedia/test
}}]▼
▲ | #default = wikipedia/{{#if:{{{1|}}}|{{{1}}}|{{CONTENTLANG}}}} <!--Other language edition-->
▲ }}/wiki/{{#if:x| {{{2|}}} }} {{#if:{{{3|}}}
▲ | {{#if:{{{1|}}}|{{{1}}}|{{CONTENTLANG}}}}:{{#if:{{{lang|}}}
▲ | {{#if:x| {{{lang}}} }}:
▲ }}{{#if:x| {{{2|}}} }}
| {{#if:{{{1|}}}|{{{1}}}|{{CONTENTLANG}}}}:{{#if:{{{lang|}}}
| {{#if:x| {{{lang}}} }}:
}}{{#if:x| {{{2|}}}
▲ | {{#if:{{{1|}}}|{{{1}}}|{{CONTENTLANG}}}}:{{#if:{{{lang|}}}
▲ | {{#if:x| {{{lang}}} }}:
▲ }}{{#if:x| {{{2|}}} }}
▲ }}
}}<noinclude>
|