User:J. Noel Chiappa/ExtraSandbox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>J. Noel Chiappa
m (Arg name case matters?)
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
* {{User:J. Noel Chiappa/Test|A|B|C|D|E}}
{{AccountNotLive}}
* {{User:J. Noel Chiappa/Test|A|B|C|D|others=1}}
What i do is call it once with using the {{tl|subpages}} template and then propagate it through all the subsequent templates as a template parameter, i.e. I use:
* {{User:J. Noel Chiappa/Test|A|B|C|D|others=y}}
::<nowiki>|A editor={{{{BASEPAGENAME}}/Metadata|info=A editor}} </nowiki>
* {{User:J. Noel Chiappa/Test|A|B|C|D}}
:and in susequent templates I use <nowiki>{{{A editor|}}}</nowiki> 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 {{tl|subpage style}} template by almost 50%, which was also desirable. The subsubpage trick is:
* {{User:J. Noel Chiappa/Test|A|B|C|others=1}}
::<nowiki>|A editor={{../../Metadata|info=A editor}} </nowiki>
* {{User:J. Noel Chiappa/Test|A|B|C|others=y}}
:and in susequent templates I can still use <nowiki>{{{A editor|}}}</nowiki>.
* {{User:J. Noel Chiappa/Test|A|B|C|}}
* {{User:J. Noel Chiappa/Test|A|B|others=1}}
* {{User:J. Noel Chiappa/Test|A|B|others=y}}
* {{User:J. Noel Chiappa/Test|A|B}}

Latest revision as of 02:59, 22 November 2023


The account of this former contributor was not re-activated after the server upgrade of March 2022.


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|}}}.