Talk:Biochemistry/Definition: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Stephen Ewen
mNo edit summary
imported>Larry Sanger
No edit summary
Line 1: Line 1:
Ah, great idea...no need for a huge separate project to at least cover entries with articles, just place a dictionary definition right on a subpage!  —[[User:Stephen Ewen|Stephen Ewen]] [[User talk:Stephen Ewen|(Talk)]] 23:38, 6 July 2007 (CDT)
Ah, great idea...no need for a huge separate project to at least cover entries with articles, just place a dictionary definition right on a subpage!  —[[User:Stephen Ewen|Stephen Ewen]] [[User talk:Stephen Ewen|(Talk)]] 23:38, 6 July 2007 (CDT)
Not on a subpage, but on a template.  The contents of [[Biology/Definition]] is "<nowiki>{{defpage}}</nowiki>".  That template then intelligently looks up the name of the referring page (so, "Biochemistry") and looks at the {{Tl|Def Biochemistry}} template.  It's a little complicated, but it's also very elegant I think. --[[User:Larry Sanger|Larry Sanger]] 00:29, 7 July 2007 (CDT)

Revision as of 00:29, 7 July 2007

Ah, great idea...no need for a huge separate project to at least cover entries with articles, just place a dictionary definition right on a subpage!  —Stephen Ewen (Talk) 23:38, 6 July 2007 (CDT)

Not on a subpage, but on a template. The contents of Biology/Definition is "{{defpage}}". That template then intelligently looks up the name of the referring page (so, "Biochemistry") and looks at the {{Def Biochemistry}} template. It's a little complicated, but it's also very elegant I think. --Larry Sanger 00:29, 7 July 2007 (CDT)