Jump to content

User:Blainster/code examples

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Blainster (talk | contribs) at 21:18, 24 June 2006 (add article). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
  1. Here is the code to generate reduced size text: <div style="font-size: 80%"> at head; and </div> at foot
  2. New Reference style: put the footnote text inside <ref> ... </ref> tags (always remembering the second one, otherwise it fails horribly), and then add a usual "References" section with a <references /> tag in it. Simple! And, yes, it works automagically. The FAC crowd swoon when they see it :) You can also add a "name" to the <ref> (<ref name="Fred_p21">) so you can use it more than once. I think Saffron is the epitome at the moment, although it puts the <references /> tag in a "Notes" section, and has a separate "References" section referred to by the Notes, which themselves use Harvard style using the {{Harv}} template (which I had not seen until just now). -- ALoan (Talk) 21:25, 15 February 2006 (UTC)
Let me try a simpler stab at it. First, put the magic tag <references/> wherever it is that you want the list of footnotes to show up. Then, wherever you want to put a footnote into your prose, add <ref>My footnote data goes here</ref>. The "My footnore data goes here" will show up not in the prose but down at the bottom in a linked footnote. It's almost simpler to do than explain. —Bunchofgrapes (talk) 21:46, 15 February 2006 (UTC)


Articles created

Major Additions