Difference between revisions of "Marspedia:Using Ref tags"

From Marspedia
Jump to: navigation, search
(New page: ==Test Ref<ref>test ref</ref>== Can I now edit non-anonymously again?<ref>Test Ref</ref> ''Mare<ref>A mare is a female equinine</ref> Anguis Park<ref>Park is a transmission setting</ref>...)
 
Line 1: Line 1:
==Test Ref<ref>test ref</ref>==
+
== Example text<ref>The headline on this page</ref> ==
  
Can I now edit non-anonymously again?<ref>Test Ref</ref>
+
Suppose you want to reference a book in an article, how do you go about doing that?
  
''Mare<ref>A mare is a female equinine</ref> Anguis Park<ref>Park is a transmission setting</ref> is melting in the dark{{Fact|date=March 2007}}''.<BR/>
+
Well, first you start by entering the text you want, something like this:
''All those cosmic<ref>Cosmic refers to something of universal significance</ref> rays are pouring down''<BR/>
 
''Someone dropped the<ref>This article doesn't have a gender.  You can improve Lunarpedia by replacing it with Die, Das, or Der.</ref> cake in [[Regolith]]''<BR/>
 
''Do not think that I'll forget it''<BR/>
 
'''Cause<ref>a cause is a motive for action, such as Antidisestablishmentarianism</ref> it took so long to get it''<BR/>
 
''And they'll never ship<ref>A vessel, such as an aircraft carrier or oil tanker</ref> to here from Earth<ref>Something you grow cabbage in</ref> again!''<BR/>
 
''OH NOOOOOOOOOOOOO!<ref>What you scream when some kid gets up to murder the national anthem at the ballpark</ref><BR/>''
 
  
===References===
+
:{| style="border-style:none;border-width:0px"
 +
| style="border-style:dashed; border-width:1px; border-color:#668B88;" | ''<nowiki>This is the type of operation described by Harrison Schmitt, in "Return to the Moon"</nowiki>''
 +
|}
 +
 
 +
Now you want to add a reference to the book mentioned in that sentence, so you enter something like this:
 +
 
 +
:{| style="border-style:none;border-width:0px"
 +
| style="border-style:dashed; border-width:1px; border-color:#668B88;" | ''<nowiki>This is the type of operation described by Harrison Schmitt, in "Return to the Moon"<ref>'''Return to the Moon''' ''Exploration, Enterprise, and Energy in the Human Settlement of Space'' - Harrison Schmitt, Foreword by Neil Armstrong, ISBN 0-387-24285-6</ref>.</nowiki>''
 +
|}
 +
 
 +
Somewhere on your page you add something like this:
 +
 
 +
:{| style="border-style:none;border-width:0px"
 +
| style="border-style:dashed; border-width:1px; border-color:#668B88;" | <nowiki>===References===</nowiki><br><br><nowiki><references/></nowiki>
 +
|}
 +
 
 +
== Now for the real thing ==
 +
 
 +
This is the type of operation described by Harrison Schmitt, in "Return to the Moon"<ref>'''Return to the Moon''' ''Exploration, Enterprise, and Energy in the Human Settlement of Space'' - Harrison Schmitt, Foreword by Neil Armstrong, ISBN 0-387-24285-6</ref>.
 +
 
 +
=== References ===
  
 
<references/>
 
<references/>
 +
 +
== Also ==
 +
By now, you've probably noticed that <nowiki><ref></ref></nowiki> can also be used in headlines just as I've done in the first headline on this page.

Revision as of 04:13, 13 April 2007

Example text[1]

Suppose you want to reference a book in an article, how do you go about doing that?

Well, first you start by entering the text you want, something like this:

This is the type of operation described by Harrison Schmitt, in "Return to the Moon"

Now you want to add a reference to the book mentioned in that sentence, so you enter something like this:

This is the type of operation described by Harrison Schmitt, in "Return to the Moon"<ref>'''Return to the Moon''' ''Exploration, Enterprise, and Energy in the Human Settlement of Space'' - Harrison Schmitt, Foreword by Neil Armstrong, ISBN 0-387-24285-6</ref>.

Somewhere on your page you add something like this:

===References===

<references/>

Now for the real thing

This is the type of operation described by Harrison Schmitt, in "Return to the Moon"[2].

References

  1. The headline on this page
  2. Return to the Moon Exploration, Enterprise, and Energy in the Human Settlement of Space - Harrison Schmitt, Foreword by Neil Armstrong, ISBN 0-387-24285-6

Also

By now, you've probably noticed that <ref></ref> can also be used in headlines just as I've done in the first headline on this page.