Template:Wikipedia: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
|||
Line 1: | Line 1: | ||
<includeonly>{{external|https://en.wikipedia.org/wiki/{{#if:{{{3|}}}|{{{3}}}:}}{{{1}}}|{{{2|{{{1}}}}}} on [[File:Wiki banner.png|link=https://en.wikipedia.org]]{{#if:{{{3|}}}| ({{flag|{{{3}}}}})}}}}</includeonly><noinclude> | <includeonly>{{external|https://en.wikipedia.org/wiki/{{#if:{{{3|}}}|{{{3}}}:}}{{{1}}}|{{{2|{{{1}}}}}} {{{prep|on}}} [[File:Wiki banner.png|link=https://en.wikipedia.org]]{{#if:{{{3|}}}| ({{flag|{{{3}}}}})}}}}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
This template is intended to standardize links to Wikipedia | This template is intended to standardize links to Wikipedia | ||
Line 6: | Line 6: | ||
*2 (optional): the name | *2 (optional): the name | ||
*3 (optional): the language resp. project | *3 (optional): the language resp. project | ||
*prep (optional): the preposition (default: ''on'') | |||
==Examples== | ==Examples== | ||
<pre>{{wiki|railML}}</pre> | <pre>{{wiki|railML}}</pre> | ||
Line 13: | Line 13: | ||
{{wiki|railML}} | {{wiki|railML}} | ||
<pre>{{wiki|railML|{{rml}}|de}}</pre> | <pre>{{wiki|railML|{{rml}}|de|prep=auf}}</pre> | ||
delivers | delivers | ||
{{wiki|railML|{{rml}}|de}} | {{wiki|railML|{{rml}}|de|prep=auf}} | ||
<pre>{{wiki|commons:File:RailML_headr.png|{{rml}} logo}}</pre> | <pre>{{wiki|commons:File:RailML_headr.png|{{rml}} logo}}</pre> |
Revision as of 17:03, 9 October 2020
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 resp. project
- prep (optional): the preposition (default: on)
Examples
{{wiki|railML}}
delivers
railML on (external link)
{{wiki|railML|{{rml}}|de|prep=auf}}
delivers
railML® auf () (external link)
{{wiki|commons:File:RailML_headr.png|{{rml}} logo}}
delivers
railML® logo on (commons) (external link)