Template:Notes: Difference between revisions
From Drunkapedia
imported>Tlosk's Bot mNo edit summary |
imported>Tlosk m (1 revision: For full history see http://ac.wikkii.net) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><sup><small>{{#ifeq:{{{1|}}}|||{{#ifexist:{{{1}}}|[[{{{1|}}}{{!}}[1]]]|[{{{1|}}} [1]]}}}}{{#ifeq:{{{2|}}}|||{{#ifexist:{{{2}}}|[[{{{2|}}}{{!}}[1]]]|[{{{2|}}} [2]]}}}}{{#ifeq:{{{3|}}}|||{{#ifexist:{{{3}}}|[[{{{3|}}}{{!}}[1]]]|[{{{3|}}} [3]]}}}}{{#ifeq:{{{4|}}}|||{{#ifexist:{{{4}}}|[[{{{4|}}}{{!}}[1]]]|[{{{4|}}} [4]]}}}}{{#ifeq:{{{5|}}}|||{{#ifexist:{{{5}}}|[[{{{5|}}}{{!}}[1]]]|[{{{5|}}} [5]]}}}}{{#ifeq:{{{6|}}}|||{{#ifexist:{{{6}}}|[[{{{6|}}}{{!}}[1]]]|[{{{6|}}} [6]]}}}}{{#ifeq:{{{7|}}}|||{{#ifexist:{{{7}}}|[[{{{7|}}}{{!}}[1]]]|[{{{7|}}} [7]]}}}}{{#ifeq:{{{8|}}}|||{{#ifexist:{{{8}}}|[[{{{8|}}}{{!}}[1]]]|[{{{8|}}} [8]]}}}}{{#ifeq:{{{9|}}}|||{{#ifexist:{{{9}}}|[[{{{9|}}}{{!}}[1]]]|[{{{9|}}} [9]]}}}}{{#ifeq:{{{10|}}}|||{{#ifexist:{{{10}}}|[[{{{10|}}}{{!}}[1]]]|[{{{10|}}} [10]]}}}}</small></sup></includeonly> | <includeonly><sup><small>{{#ifeq:{{{1|}}}|||{{#ifexist:{{{1}}}|[[{{{1|}}}{{!}}[1]]]|[{{{1|}}} [1]]}}}}{{#ifeq:{{{2|}}}|||{{#ifexist:{{{2}}}|[[{{{2|}}}{{!}}[1]]]|[{{{2|}}} [2]]}}}}{{#ifeq:{{{3|}}}|||{{#ifexist:{{{3}}}|[[{{{3|}}}{{!}}[1]]]|[{{{3|}}} [3]]}}}}{{#ifeq:{{{4|}}}|||{{#ifexist:{{{4}}}|[[{{{4|}}}{{!}}[1]]]|[{{{4|}}} [4]]}}}}{{#ifeq:{{{5|}}}|||{{#ifexist:{{{5}}}|[[{{{5|}}}{{!}}[1]]]|[{{{5|}}} [5]]}}}}{{#ifeq:{{{6|}}}|||{{#ifexist:{{{6}}}|[[{{{6|}}}{{!}}[1]]]|[{{{6|}}} [6]]}}}}{{#ifeq:{{{7|}}}|||{{#ifexist:{{{7}}}|[[{{{7|}}}{{!}}[1]]]|[{{{7|}}} [7]]}}}}{{#ifeq:{{{8|}}}|||{{#ifexist:{{{8}}}|[[{{{8|}}}{{!}}[1]]]|[{{{8|}}} [8]]}}}}{{#ifeq:{{{9|}}}|||{{#ifexist:{{{9}}}|[[{{{9|}}}{{!}}[1]]]|[{{{9|}}} [9]]}}}}{{#ifeq:{{{10|}}}|||{{#ifexist:{{{10}}}|[[{{{10|}}}{{!}}[1]]]|[{{{10|}}} [10]]}}}}</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 05:54, 28 November 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]