Topic on Extension talk:Cite

How to disable Cite for summary pages?

2
82.83.224.192 (talkcontribs)

How do I disable rending of [1] and the reference block on some pages? The ref-Tags are within embedded templates. But on summary pages, which embedd the same templates, the footnotes are anmoying.

קיפודנחש (talkcontribs)

one, somewhat clumsy way to do it is to add to the template a parameter, say "summary", and add the refs like so: {{#if:{{{summary|}}}||<ref> blah blah blah </ref> }}

if the summaries belong to a different namespace (many times the article will be in namespace 0, and the summary in namespace "project", or 4), you could instead add them within a test for the appropriate namespace, saving you the need to use a parameter.

it's ugly, but some of the ugliness can be hidden by using (yet some more) templates.

if there's more sophisticated way around it, i can't think of one.

peace - קיפודנחש (talk) 23:17, 18 October 2012 (UTC)

Reply to "How to disable Cite for summary pages?"