Wiki Code Cookbook/References Demonstration Page: Difference between revisions
From Portland NET Wiki
No edit summary |
|||
| (5 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
== Demo Section One == | == Demo Section One == | ||
Sometimes a crème caramel is called a flan.<ref name="pudi">Wikipedia contributors. (2025, June 11). ''Crème caramel''. Wikipedia. https://en.wikipedia.org/wiki/Cr%C3%A8me_caramel</ref> | Sometimes a crème caramel is called a flan.<ref name="pudi">Wikipedia contributors. (2025, June 11). ''Crème caramel''. Wikipedia. https://en.wikipedia.org/wiki/Cr%C3%A8me_caramel</ref> To create a reference, all I have to do is type:<pre> | ||
</br> | <ref> | ||
</pre>...and the Wiki will automatically assign the next number in a sequence of references on that page. Since this is my first reference, it is labeled as "<sup>1</sup>". My next reference will be "<sup>2</sup>", and so forth. The Wiki will also automatically adjust all the numbering if you go back and place a reference before another one already published. | |||
As soon as I create even a single reference, I should establish the Notes and References section. To do that, I go to the end of the page and use this markup:<pre> | |||
== Notes and References == | |||
<references /> | |||
</pre>Once this is established, the Wiki will automatically place all reference information in this section. Handy!<br> | |||
== Demo Section Two == | == Demo Section Two == | ||
It may be true that flans in Japan have designed sophisticated mind control methods.<ref>Verax. (2010, December 2). ''PUDDI PUDDI (Original Video)'' [Video]. YouTube. https://www.youtube.com/watch?v=1S2nuZsBz8g</ref> However, the Wikipedia article is silent on these possibilities.<ref name="pudi"/> | It may be true that flans in Japan have designed sophisticated mind control methods.<ref>Verax. (2010, December 2). ''PUDDI PUDDI (Original Video)'' [Video]. YouTube. https://www.youtube.com/watch?v=1S2nuZsBz8g</ref> However, the Wikipedia article is silent on these possibilities.<ref name="pudi"/> | ||
Notice that that last sentence uses the same | Notice that that last sentence uses the same reference as the first I set up on the page. I did that by naming the reference. The FIRST time I use the reference, I do this: | ||
<pre> | <pre> | ||
<ref name="pudi">Wikipedia contributors. (2025, June 11). ''Crème caramel''. Wikipedia. https://en.wikipedia.org/wiki/Cr%C3%A8me_caramel</ref> | <ref name="pudi">Wikipedia contributors. (2025, June 11). ''Crème caramel''. Wikipedia. https://en.wikipedia.org/wiki/Cr%C3%A8me_caramel</ref> | ||
</pre> | </pre> | ||
And the second time I | And the second time I use the reference, I just type this: | ||
<pre> | <pre> | ||
<ref name="pudi"/> | <ref name="pudi"/> | ||
</pre> | </pre> | ||
<br> | That will allow the notation to appear the same, so that it doesn't assign a new sequential number to the reference used previously on the page (which can clutter things up if done too often).<br> | ||
== Notes and References == | == Notes and References == | ||
<references /> | <references /> | ||
