User:Blainster/code examples
Appearance
- Here is the code to generate reduced size text: <div style="font-size: 80%"> at head; and </div> at foot
- 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)
- 3. Two columns with "straw" background color are created by inserting the templates {{top}}, {{mid}} (at the end of the first column), and {{bottom}} (at the end of the second column). See Template:top
- 4. Two columns without background are created with Template:Col-begin, Template:ColBreak or Template:Col-2, and Template:Col-end. See details at Category:Wikipedia special effects templates, and Template talk:Columns.
- 5. Two columns without background can also be created with Wiki pipe syntax (see Help:Table), but this reverses row and column order:
{|
|<li>item a<li>item b<li>item c
|<li>item d<li>item e<li>item f
|}
yielding this:
Articles created
- Clark R. Mollenhoff, Fossil fuel power plant, Christian Churches Together, Chrome yellow, Slippery Noodle Inn, Joan Blades, Wes Boyd, Tex Sample, Gordon Eubanks, Peter Mauzey, Geoffrey Parrinder, Symeon the New Theologian, Daniel Day Williams, Calcidius, Science Digest, Carl Friden, Friden, Inc., Marchant Calculator, Hawkins Falls, John Warne Gates, Leon Bibb (musician), Chichester Bell, On the Road Again (Canned Heat), Roberto de Moura, Karl Herzfeld, Sendust, Librascope, Eddie Boyd, Male and Female (book), William R. Polk, The Masses Are Asses, Edwin Shaughnessy, Essays in Radical Empiricism, Edwin Holt, Category:Blues musicians from Mississippi, Ela Gandhi, Stephen T. Franklin, Douglas Mackiernan, Thomas Lynn Bradford, William Morrow (screenwriter) (& disambig page), William W. Morrow
Major Additions