Template:Note: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{name|}}}|{{#tag:ref|{{{1|}}}|group=note|name={{{name|}}}}}|{{#tag:ref|{{{1|}}}|group=note}}}}</includeonly><noinclude>Adds a note to the page. For use with [[Template:Notelist]] and [[Template:Reflist]].
<includeonly>{{#if:{{{name|}}}|{{#tag:ref|{{{1|}}}|group=note|name={{{name|}}}}}|{{#tag:ref|{{{1|}}}|group=note}}}}</includeonly><noinclude>{{documentation|content=Adds an inline footnote. For use with [[Template:Notelist]] and [[Template:Reflist]].


== Example ==
== Example ==
When used with NoteList:
When used with notelist:
<pre>Example text.{{note|That was an example.}}</pre>
<pre>Example text.{{note|That was an example.}} Here is a named example.{{note|It appears like this.|name=named}} We can reference named examples again.{{note|name=named}}
 
{{notelist}}</pre>
Example text.{{note|That was an example.}} Here is a named example.{{note|It appears like this.|name=named}} We can reference named examples again.{{note|name=named}}
Example text.{{note|That was an example.}} Here is a named example.{{note|It appears like this.|name=named}} We can reference named examples again.{{note|name=named}}


{{Notelist}}
{{notelist}}
 
== See also ==
* [[Template:Notebegin|Notebegin]]
* [[Template:Notelist|Notelist]]
* [[Template:Ref|Ref]]
* [[Template:Reflist|Reflist]]
* [[Template:Cite text|Cite text]]
* [[Template:Cite web|Cite web]]
 
[[Category:Templates]]
[[Category:Citation templates]]
== Template data ==  
== Template data ==  
<noinclude>
<noinclude>
Line 19: Line 32:
}
}
}
}
</templatedata>
</templatedata>}}
</noinclude>
</noinclude>