Difference between revisions of "Template:Ref"

From Cantr II Wiki
Jump to: navigation, search
 
 
Line 1: Line 1:
 
<span class="reference"><sup id="ref_{{{1}}}" class="plainlinksneverexpand">[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}}}#endnote_{{{1}}}]</sup></span>
 
<span class="reference"><sup id="ref_{{{1}}}" class="plainlinksneverexpand">[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}}}#endnote_{{{1}}}]</sup></span>
 +
<noinclude>{{Doc}}[[Category:Templates|#{{PAGENAME}}]]</noinclude>

Latest revision as of 08:50, 23 April 2012

[1]

Template documentation[ view ] [ discuss ] [edit]

{{Ref}} is a template that puts a link to a explanatory text in a {{note|...}} tag. It should be put right after the word or phrase it explains. This is how the ref looks: [2] .

Usage

Put 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.