Template:Wikipedia
(Difference between revisions)
(more cats; docs reformatted) |
|||
| Line 2: | Line 2: | ||
<div style="text-align:center;">'''''[[Wikipedia:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]'''''</div> | <div style="text-align:center;">'''''[[Wikipedia:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]'''''</div> | ||
</div><noinclude> | </div><noinclude> | ||
| − | |||
| − | Do not use this template if you wish to link a word or phrase in [[Project:running text|running text]]; for that, use a [[Project:Interwiki map|"'''Wikipedia:'''" interwiki link]]. | + | ; Purpose |
| + | : This [[Project:Templates|template]] may be used in any article that would benefit from a prominent link to a [[Wikipedia:Main Page|Wikipedia]] article on the same subject. | ||
| + | |||
| + | ; Note | ||
| + | : Do not use this template if you wish to link a word or phrase in [[Project:running text|running text]]; for that, use a [[Project:Interwiki map|"'''Wikipedia:'''" interwiki link]]. | ||
; Usage | ; Usage | ||
| − | # | + | # {{t|wikipedia}} — use if the Wikipedia article title matches our page title exactly |
| − | # | + | # {{t|wikipedia|''Article title''}} — if Wikipedia article title differs from ours |
| − | # | + | # {{t|wikipedia|''Article title''|''Link text''}} — if you want to use link text that differs from ''either'' article title (this should rarely be necessary) |
; Example of third form | ; Example of third form | ||
| − | : | + | : {{t|wikipedia|List of apologetic works|Apologetic works}} |
| + | : creates a box with the link: '''[[Wikipedia:List of apologetic works|Apologetic works]]''' (which points to [[Wikipedia:List of apologetic works]]) | ||
; See also | ; See also | ||
| Line 18: | Line 22: | ||
* [[Project:Interwiki map]] | * [[Project:Interwiki map]] | ||
| + | [[Category:Templates|Wikipedia]] | ||
| + | [[Category:Box templates|Wikipedia]] | ||
| + | [[Category:Right-floated box templates|Wikipedia]] | ||
[[Category:Interwiki templates|Wikipedia]] | [[Category:Interwiki templates|Wikipedia]] | ||
</noinclude> | </noinclude> | ||
Revision as of 17:23, 24 July 2008
- Purpose
- This template may be used in any article that would benefit from a prominent link to a Wikipedia article on the same subject.
- Note
- Do not use this template if you wish to link a word or phrase in running text; for that, use a "Wikipedia:" interwiki link.
- Usage
- {{wikipedia}} — use if the Wikipedia article title matches our page title exactly
- {{wikipedia|Article title}} — if Wikipedia article title differs from ours
- {{wikipedia|Article title|Link text}} — if you want to use link text that differs from either article title (this should rarely be necessary)
- Example of third form
- {{wikipedia|List of apologetic works|Apologetic works}}
- creates a box with the link: Apologetic works (which points to Wikipedia:List of apologetic works)
- See also