Topic on Extension talk:Cite

Template expansion WITHIN a ref?

3
DulcetTone~mediawikiwiki (talkcontribs)

I have a Wiki with about 200 source documents that are cited so often that I'd like to have a template for each which opens the <ref> tag, spits out the particulars to identify the book and adds the first parameter before emitting the </ref>, e.g.: {{BellFundamentals|p. 45}} where the template would contain something like

<includeonly><ref>Bell, Richard. ''Fundamentals of Change'', London, blah blah. {{{1}}}.</ref></includeonly>

However, the {{{1}}} parameter invocation does not expand. Is this possible in any way with Cite, or would it be possible if I rolled up my sleeves and started altering its internals? I really want to avoid typing <ref> and </ref> ever again.

This post was posted by DulcetTone~mediawikiwiki, but signed as DulcetTone.

Bawolff (talkcontribs)

For now you have to use {{#tag:ref|yadda yadda{{{1}}} }}.

I was working on a fix, but its unclear if it will get accepted.

DulcetTone~mediawikiwiki (talkcontribs)

Thanks -- solved for now. I found this, too, in a belated discovery of the archives of this page.

This post was posted by DulcetTone~mediawikiwiki, but signed as DulcetTone.

Reply to "Template expansion WITHIN a ref?"