Difference between revisions of "Template:Note"
From Cantr II Wiki
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <cite id="endnote_{{{1}}}" style="font-style: normal;">[[#ref_{{{1}}}|'''^''']]</cite> | + | <br clear="all" /> |
+ | <div style="border: 1px dashed gray; background-color:#e0ffef; padding: 5px;"><cite id="endnote_{{{1}}}" style="font-style: normal;">[[#ref_{{{1}}}|'''^''']]</cite>{{{2}}}</div> | ||
+ | <noinclude>{{Doc}}[[Category:Templates|#{{PAGENAME}}]]</noinclude> |
Latest revision as of 08:38, 23 April 2012
[[#ref_{{{1}}}|^]]{{{2}}}
{{Note}} is a template that puts a box on the page with an explanatory text to a {{ref|...}} tag. It should be put at the end of the document or section where it applies. The ref tag looks like this: [1] . UsagePut the following code in the page being edited: This is an example ref {{ref|ref-1}}. ... {{note|ref-1| This is the {{note}} box, with a text explaining what the ref is about.}}
^ This is how it looks, the ref links here, this links to the ref.
|