Template:Notes: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk's Bot
mNo edit summary
imported>Arkalor
No edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><sup><small>{{#ifexist:{{{1}}}|[[{{{1|}}}{{!}}&#91;1&#93;]]|[{{{1|}}} 1]}}{{#ifexist:{{{2}}}|[[{{{2|}}}{{!}}&#91;1&#93;]]|[{{{2|}}} 2]}}{{#ifexist:{{{3}}}|[[{{{3|}}}{{!}}&#91;1&#93;]]|[{{{3|}}} 3]}}{{#ifexist:{{{4}}}|[[{{{4|}}}{{!}}&#91;1&#93;]]|[{{{4|}}} 4]}}{{#ifexist:{{{5}}}|[[{{{5|}}}{{!}}&#91;1&#93;]]|[{{{5|}}} 5]}}{{#ifexist:{{{6}}}|[[{{{6|}}}{{!}}&#91;1&#93;]]|[{{{6|}}} 6]}}{{#ifexist:{{{7}}}|[[{{{7|}}}{{!}}&#91;1&#93;]]|[{{{7|}}} 7]}}{{#ifexist:{{{8}}}|[[{{{8|}}}{{!}}&#91;1&#93;]]|[{{{8|}}} 8]}}{{#ifexist:{{{9}}}|[[{{{9|}}}{{!}}&#91;1&#93;]]|[{{{9|}}} 9]}}{{#ifexist:{{{10}}}|[[{{{10|}}}{{!}}&#91;1&#93;]]|[{{{10|}}} 10]}}</small></sup></includeonly>
<includeonly><sup><small>{{#ifeq:{{{1|}}}|||{{#ifexist:{{{1}}}|[[{{{1|}}}{{!}}&#91;1&#93;]]|[{{{1|}}} &#91;1&#93;]}}}}{{#ifeq:{{{2|}}}|||{{#ifexist:{{{2}}}|[[{{{2|}}}{{!}}&#91;1&#93;]]|[{{{2|}}} &#91;2&#93;]}}}}{{#ifeq:{{{3|}}}|||{{#ifexist:{{{3}}}|[[{{{3|}}}{{!}}&#91;1&#93;]]|[{{{3|}}} &#91;3&#93;]}}}}{{#ifeq:{{{4|}}}|||{{#ifexist:{{{4}}}|[[{{{4|}}}{{!}}&#91;1&#93;]]|[{{{4|}}} &#91;4&#93;]}}}}{{#ifeq:{{{5|}}}|||{{#ifexist:{{{5}}}|[[{{{5|}}}{{!}}&#91;1&#93;]]|[{{{5|}}} &#91;5&#93;]}}}}{{#ifeq:{{{6|}}}|||{{#ifexist:{{{6}}}|[[{{{6|}}}{{!}}&#91;1&#93;]]|[{{{6|}}} &#91;6&#93;]}}}}{{#ifeq:{{{7|}}}|||{{#ifexist:{{{7}}}|[[{{{7|}}}{{!}}&#91;1&#93;]]|[{{{7|}}} &#91;7&#93;]}}}}{{#ifeq:{{{8|}}}|||{{#ifexist:{{{8}}}|[[{{{8|}}}{{!}}&#91;1&#93;]]|[{{{8|}}} &#91;8&#93;]}}}}{{#ifeq:{{{9|}}}|||{{#ifexist:{{{9}}}|[[{{{9|}}}{{!}}&#91;1&#93;]]|[{{{9|}}} &#91;9&#93;]}}}}{{#ifeq:{{{10|}}}|||{{#ifexist:{{{10}}}|[[{{{10|}}}{{!}}&#91;1&#93;]]|[{{{10|}}} &#91;10&#93;]}}}}</small></sup></includeonly><noinclude>
{{Related|Wiki Templates|How To Make Footnotes}}
== Syntax ==
<pre>
{{Notes|}}
 
{{Notes|Page|http://site.org|Page|Page}}
</pre>
== Usage ==
While [[How To Make Footnotes|footnotes]] are normally used to cite other materials, this template can provide a simple link to other articles or web addresses as well. Unlike footnotes it will not display a section at the bottom, rather it just adds a superscript link where used. Up to 10 items can be cited and any item that is not a valid page will be assumed to be a web address.
 
If a web address uses an equals sign, replace it with <nowiki>{{=}}</nowiki> or else this template will interpret it as a parameter and won't display it properly.
 
'''For example:'''
 
<pre style="width:auto; overflow:auto">
Asheron has participated in a number of live events through
the years.{{Notes|2008/12 - Summoning Ritual of T'thuun|http://www.thejackcat.com/AC/Culture/Dereth/Elysa.htm}}
</pre>
 
'''displays as:'''
 
Asheron has participated in a number of live events through
the years.{{Notes|2008/12 - Summoning Ritual of T'thuun|http://www.thejackcat.com/AC/Culture/Dereth/Elysa.htm}}
 
[[Category:Wiki Template]]
</noinclude>

Latest revision as of 00:34, 10 January 2012

Related topics: Wiki Templates, How To Make Footnotes

Syntax

{{Notes|}}

{{Notes|Page|http://site.org|Page|Page}}

Usage

While footnotes are normally used to cite other materials, this template can provide a simple link to other articles or web addresses as well. Unlike footnotes it will not display a section at the bottom, rather it just adds a superscript link where used. Up to 10 items can be cited and any item that is not a valid page will be assumed to be a web address.

If a web address uses an equals sign, replace it with {{=}} or else this template will interpret it as a parameter and won't display it properly.

For example:

Asheron has participated in a number of live events through 
the years.{{Notes|2008/12 - Summoning Ritual of T'thuun|http://www.thejackcat.com/AC/Culture/Dereth/Elysa.htm}}

displays as:

Asheron has participated in a number of live events through the years.[1][2]