User:J. Noel Chiappa/ExtraSandbox

From Citizendium
< User:J. Noel Chiappa
Revision as of 18:16, 16 April 2008 by imported>J. Noel Chiappa (Metadata access)
Jump to navigation Jump to search

What i do is call it once with using the {{subpages}} template and then propagate it through all the subsequent templates as a template parameter, i.e. I use:

|A editor={{{{BASEPAGENAME}}/Metadata|info=A editor}}
and in susequent templates I use {{{A editor|}}} to get the value. I'm not sure if that was more efficient or not but my gut feeling was that it would be more efficient. Not to mention, i have to use a trick to call on metadata when on a subsubpage so it slimmed down the {{subpage style}} template by almost 50%, which was also desirable. The subsubpage trick is:
|A editor={{../../Metadata|info=A editor}}
and in susequent templates I can still use {{{A editor|}}}.