Difference between revisions of "Template:Dict proper-noun"

(Created page with "(''[[:Category:{{{1}}} proper nouns|proper noun]]'')<includeonly>[[Category:{{{1}}} proper nouns]]</includeonly><noinclude> This doesn't look like much, but its primary usage...")
 
 
Line 1: Line 1:
(''[[:Category:{{{1}}} proper nouns|proper noun]]'')<includeonly>[[Category:{{{1}}} proper nouns]]</includeonly><noinclude>
+
(''[[:Category:{{#var:language}} proper nouns|proper noun]]'')<includeonly>[[Category:{{#var:language}} proper nouns]]</includeonly><noinclude>
  
 
This doesn't look like much, but its primary usage is to put in the correct category as well as a link in the gloss.
 
This doesn't look like much, but its primary usage is to put in the correct category as well as a link in the gloss.
  
This takes a mandatory parameter so that the language is properly referenced in the link and category.
+
This assumes there is a ''language'' variable defined previously in the article.
 
[[Category:Dictionary Templates]]</noinclude>
 
[[Category:Dictionary Templates]]</noinclude>

Latest revision as of 19:46, 24 July 2016

(proper noun)

This doesn't look like much, but its primary usage is to put in the correct category as well as a link in the gloss.

This assumes there is a language variable defined previously in the article.