Template:Wiktionary

From Iron Chariots Wiki
(Difference between revisions)
Jump to: navigation, search
(link "template")
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="clear:right; float:right; width:13em; margin:0 0 .5em 1em; padding:.3em .4em .6em .5em; text-align:left; border:1px solid #66c; background-color:#eef;">See also [[Wiktionary:Main Page|Wiktionary]]'s definition of:
+
<div style="{{Border-radius|10px 0px 0px 10px}}
<div style="text-align:center;">'''''[[Wikipedia:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]'''''</div>
+
clear: right;  
</div><noinclude>
+
float: right;  
This [[Project:Templates|template]] may be used in any [[Iron Chariots]] article that would benefit from a prominent link to an ordinary dictionary definition of the article's title (or a closely related word or phrase). Note that cases where this is really necessary are likely to be rare.
+
width: 250px;  
 +
margin: 0 0 .5em 1em;  
 +
padding: 4px;  
 +
font-size: 90%;
 +
text-align: left;  
 +
border:1px solid #aaa;  
 +
background-color: {{{color|#ffe;}}}
 +
line-height: 1.2em;">
 +
[[Image:Wiktionary-logo-en.png|left|42px]]
 +
  <div style="margin-left: 1em;">For more information, see the [[Wiktionary:Main Page|Wiktionary]] article:
 +
    <div style="font-size: 110%; margin-top: 0.4em;">'''''[[Wiktionary:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]'''''
 +
    </div>
 +
  </div>
 +
</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|"'''Wiktionary:'''" interwiki link]].
+
; Purpose
 +
: This [[Project:Templates|template]] may be used in any article that would benefit from a prominent link to an ordinary dictionary definition of the article's title (or a closely related word or phrase). Note that cases where this is really necessary are likely to be rare.
 +
 
 +
; 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|"'''Wiktionary:'''" interwiki link]].
  
 
; Usage
 
; Usage
# <tt><nowiki>{{</nowiki>wiktionary}}</tt> &mdash; use if the Wiktionary entry (i.e., page) matches our page title ''exactly'', including capitalization
+
# {{t|wiktionary}} use if the Wiktionary entry (i.e., page) matches our page title ''exactly'', including capitalization
# <tt><nowiki>{{</nowiki>wiktionary|''entry''}}</tt> &mdash; use if the Wiktionary entry differs from our page title (note: it usually ''will'' differ in capitalization)
+
# {{t|wiktionary|''entry''}} use if the Wiktionary entry differs from our page title ('''note:''' it usually ''will'' differ in capitalization)
# <tt><nowiki>{{</nowiki>wiktionary|''entry''|''Link text''}}</tt> &mdash; use if you want to use link text that differs from ''both'' our article title and Wiktionary's entry name (this really shouldn't ever be necessary)
+
# {{t|wiktionary|''entry''|''Link text''}} use if you want to use link text that differs from ''both'' our article title and Wiktionary's entry name (this really shouldn't ever be necessary)
  
 
; Example of third form
 
; Example of third form
: <tt><nowiki>{{wiktionary|foo|bar}}</nowiki></tt> creates the link: '''[[Wiktionary:foo|bar]]''' (which points to the page titled '''''foo''''' at Wiktionary)
+
: {{t|wiktionary|misspelled|mispelled}}
 +
: creates a box with the link: '''[[Wiktionary:misspelled|mispelled]]''' (which points to the entry '''''misspelled''''')
  
 
; See also
 
; See also
 
* [[Template:Wikipedia]]
 
* [[Template:Wikipedia]]
 +
* [[Project:Interwiki map]]
  
 +
[[Category:Templates|Wiktionary]]
 +
[[Category:Box templates|Wiktionary]]
 +
[[Category:Right-floated box templates|Wiktionary]]
 
[[Category:Interwiki templates|Wiktionary]]
 
[[Category:Interwiki templates|Wiktionary]]
 
</noinclude>
 
</noinclude>

Latest revision as of 09:06, 19 December 2009

Wiktionary-logo-en.png
For more information, see the Wiktionary article:


Purpose
This template may be used in any article that would benefit from a prominent link to an ordinary dictionary definition of the article's title (or a closely related word or phrase). Note that cases where this is really necessary are likely to be rare.
Note
Do not use this template if you wish to link a word or phrase in running text; for that, use a "Wiktionary:" interwiki link.
Usage
  1. {{wiktionary}} — use if the Wiktionary entry (i.e., page) matches our page title exactly, including capitalization
  2. {{wiktionary|entry}} — use if the Wiktionary entry differs from our page title (note: it usually will differ in capitalization)
  3. {{wiktionary|entry|Link text}} — use if you want to use link text that differs from both our article title and Wiktionary's entry name (this really shouldn't ever be necessary)
Example of third form
{{wiktionary|misspelled|mispelled}}
creates a box with the link: mispelled (which points to the entry misspelled)
See also
Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox