Template:Wiktionary/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
No edit summary
No edit summary
Line 4: Line 4:
{{wiktionary}}
{{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}}.  
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|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, 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 the lower case.  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>
85,404

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.