Template:Wikipedia: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
m (Ferri Leberl moved page Template:Wiki to Template:Wikipedia: Verwechslungsgefahr) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly><!-- | ||
{{#replace:string|search term|replacement term}} | |||
→ Leerzeichen für Link substituieren -->{{#vardefine:lemma|{{#replace:{{{1}}}| |_}}}}<!-- | |||
→Ausgabe -->[https://en.wikipedia.org/wiki/{{#if:{{{3|}}}|{{{3}}}:}}{{#var:lemma}} {{{2|{{{1}}}}}}] ([[File:Wiki banner.png|link=https://en.wikipedia.org]]{{#if:{{{3|}}}| {{lang|{{{3}}}}}}})</includeonly><noinclude> | |||
==Usage== | ==Usage== | ||
This template is intended to standardize links to Wikipedia | This template is intended to standardize links to Wikipedia | ||
Line 5: | Line 9: | ||
*1 (required): the lemma on wikipedia | *1 (required): the lemma on wikipedia | ||
*2 (optional): the name | *2 (optional): the name | ||
*3 (optional): the language | *3 (optional): the language version | ||
==Examples== | ==Examples== | ||
<pre>{{wiki|railML}}</pre> | <pre>{{wiki|railML}}</pre> | ||
Line 13: | Line 16: | ||
{{wiki|railML}} | {{wiki|railML}} | ||
<pre>{{wiki|railML|{{rml}}|de | <pre>{{wiki|railML|{{rml}}|de}}</pre> | ||
delivers | delivers | ||
{{wiki|railML|{{rml}}|de | {{wiki|railML|{{rml}}|de}} | ||
<pre>{{wiki|commons:File:RailML_headr.png|{{rml}} logo}}</pre> | <pre>{{wiki|commons:File:RailML_headr.png|{{rml}} logo}}</pre> | ||
Line 24: | Line 27: | ||
[[category:LinkTemplate]] | [[category:LinkTemplate]] | ||
{{interwiki}} | |||
</noinclude> | </noinclude> |
Revision as of 16:48, 13 December 2021
Usage
This template is intended to standardize links to Wikipedia
Arguments
- 1 (required): the lemma on wikipedia
- 2 (optional): the name
- 3 (optional): the language version
Examples
{{wiki|railML}}
delivers
railML ()
{{wiki|railML|{{rml}}|de}}
delivers
railML® ( 🇩🇪)
{{wiki|commons:File:RailML_headr.png|{{rml}} logo}}
delivers
railML® logo ( commons)