Template:Wiktionary/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
m (Protected "Template:Wiktionary/doc": Robot: Protecting all pages from category templates (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''{{tlx|{{PAGENAME}}}}''' is a template that puts a little link to Wikitionary on a page.  It's designed mainly for use on pages in [[:category:jargon, slang and colloquialisms]] to help non-British readers understand better the slang that appears in ''[[Doctor Who]]'' fiction.
'''{{tlx|{{PAGENAME}}}}''' is a template that puts a little link to Wikitionary on a page.  It's designed mainly for use on pages in [[:category:jargon, slang and colloquialisms]] to help non-British readers understand better the slang that appears in ''[[Doctor Who]]'' fiction.
To use where our PAGENAME is the same as the Wiktionary PAGENAME, just type {{tlx|Wiktionary}}. 
{{wiktionary}}
{{wiktionary}}
{{wiktionary|baseball}}
If our PAGENAME is different, then enter the Wiktionary name thus: {{tlx|Wiktionary|Wiktionary PAGENAME}}.  If I wanted to link this page to the wiktionary page on baseball, I'd type {{tlx|Wiktionary|baseball}}.  
To use where our PAGENAME is the same as the Wiktionary PAGENAME, just type {{tlx|Wiktionary}}.  If our PAGENAME is different, then enter the Wiktionary name thus: {{tlx|Wiktionary|Wiktionary PAGENAME}}.  If I wanted to link this page to the wiktionary page on baseball, I'd type {{tlx|Wiktionary|baseball}}.  
== Wiktionary is case sensitive ==
Unlike this wiki, Wiktionary is ''strictly'' case sensitive. Here, these two things mean the same thing when entered into our search bar:
*gorilla
*Gorilla
 
However, at Wiktionary, these two things are quite different:
*[[wiktionary:gorilla]]
*[[wiktionary:Gorilla]]
 
Because ''most'' pages at Wiktionary are in full lowercase, this template ''forces'' the entire PAGENAME to render in lowercase.  This is usually the behaviour we want.  But on a page like [[PC Plod]], we'll end up with [[wiktionary:pc plod]], which isn't what we want.
 
'''Therefore, if you want capital letters to appear, you must override the default, and define the precise page you want, such as {{tlx|wiktionary|PC Plod}}.'''
 
== Link as close to the definition as possible ==
Wiktionary pages have a lot of white space.  ''Tons''.  And they offer definitions for cognates in other languages.  The point of this template is to offer a definition that's relative to the term's use '''in ''Doctor Who'''''.  Therefore, in the case of extremely common words with very long Wiktionary pages, you'll want to link to a specific section.  For instance, on our page '''[[Frog (insult)]]''',
*{{tlx|wiktionary|frog#Etymology 2}}
is better than just
*{{tlx|wiktionary}}


<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 02:23, 13 May 2013

{{Wiktionary/doc}} is a template that puts a little link to Wikitionary on a page. It's designed mainly for use on pages in category:jargon, slang and colloquialisms to help non-British readers understand better the slang that appears in Doctor Who fiction.

To use where our PAGENAME is the same as the Wiktionary PAGENAME, just type {{Wiktionary}}.

If our PAGENAME is different, then enter the Wiktionary name thus: {{Wiktionary|Wiktionary PAGENAME}}. If I wanted to link this page to the wiktionary page on baseball, I'd type {{Wiktionary|baseball}}.

Wiktionary is case sensitive

Unlike this wiki, Wiktionary is strictly case sensitive. Here, these two things mean the same thing when entered into our search bar:

  • gorilla
  • Gorilla

However, at Wiktionary, these two things are quite different:

Because most pages at Wiktionary are in full lowercase, this template forces the entire PAGENAME to render in lowercase. This is usually the behaviour we want. But on a page like PC Plod, we'll end up with wiktionary:pc plod, which isn't what we want.

Therefore, if you want capital letters to appear, you must override the default, and define the precise page you want, such as {{wiktionary|PC Plod}}.

Link as close to the definition as possible

Wiktionary pages have a lot of white space. Tons. And they offer definitions for cognates in other languages. The point of this template is to offer a definition that's relative to the term's use in Doctor Who. Therefore, in the case of extremely common words with very long Wiktionary pages, you'll want to link to a specific section. For instance, on our page Frog (insult),

is better than just