Difference between revisions of "Template:Cnote/doc"

From blackwiki
Jump to navigation Jump to search
imported>Debresser
imported>Funandtrvl
m (update info)
Line 4: Line 4:
  
 
== Purpose ==
 
== Purpose ==
'''Content footnotes''' created using {{tlx|hcref}} or {{tlx|cref}}, with {{tlx|cnote}}, can co-exist in an article along with '''source notes''' using the [[m:Cite/Cite.php|Cite.php (<code>&lt;ref&gt;</code>)]] and/or {{tlx|Ref}} systems, without interfering with them in any way.  
+
This template is used to create the content note, in conjuction with [[Template:Cref]]. For multiple uses of the same footnote, see [[Template:Cnote2]].
 +
 
 +
<table width=80% align=center border=1><tr><td>
 +
<blockquote>Note: '''Content Notes''' created using {{tl|hcref}} or {{tl|cref}} and {{tl|cnote}} can co-exist in an article along with '''Source Notes''' using the [[mw:Extension:Cite/Cite.php|cite.php]] system. The two systems do not interfere with each other in any way.</blockquote>
 +
</td></tr></table>
  
 
== Usage ==
 
== Usage ==
Line 31: Line 35:
  
 
==See it in action==
 
==See it in action==
 +
Please look at [[Early life of Plato#ref a]] to see a content note attached to the word "brother".
  
Please look at [[Early life of Plato#ref_a|Early_life_of_Plato#ref_a]]  to see a content note attached to the word "brother".
+
==See also==
 
+
* [[Wikipedia:Citation templates]] – related templates
=== See also ===
+
* [[Wikipedia:Citing sources]] – style guide
* [[Wikipedia:Cite sources]]: Style guide
 
* [[Wikipedia:Template messages/Sources of articles/Generic citations]]: Related templates
 
 
* [[Wikipedia:WikiProject Wikicite]]
 
* [[Wikipedia:WikiProject Wikicite]]
 +
* [[Template:Cite book]]
 
* [[Template:Cite news]]
 
* [[Template:Cite news]]
* [[Template:Cite book]]
 
  
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
 
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
 +
[[Category:Citation templates]]
 
[[Category:Inline templates|{{PAGENAME}}]]
 
[[Category:Inline templates|{{PAGENAME}}]]
  

Revision as of 01:18, 30 December 2010

Purpose

This template is used to create the content note, in conjuction with Template:Cref. For multiple uses of the same footnote, see Template:Cnote2.

Note: Content Notes created using {{hcref}} or {{cref}} and {{cnote}} can co-exist in an article along with Source Notes using the cite.php system. The two systems do not interfere with each other in any way.

Usage

* {{cnote|Note name|Note text}}

To create the marker to place in the text at the point where the content note is to be attached, use Template:Cref.

Example of output

(With bullet, as shown above.)

  • ^  Note name :  Note text

Required parameters

  1. Note name: Name of content note; must be the same name assigned to this note using {{cref}}.
  2. Note text: Text (body) of content note.

Placement

  • If a "Notes" or "Notes and references" section already exists in the article you are working on, simply determine where among the existing notes the one you are going to create should be listed and insert the {{cnote}} template there.
  • If such a section does not already exist in the article you are working on, you must create one by typing ==Notes== . (The "Notes" section should immediately precede the "References" section.) Then create the first content note by inserting the {{cnote}} template below the section header.
  • Alternatively, you can change the existing "References" section to "Notes and references" if the article consistently uses only the {{Ref}} and {{Note}} reference footnote system instead of the <ref> and <references /> inline citation system.

Important:

  1. Once a content note has been created using {{cnote}}, you can edit it just as you would ordinary wikipedia text. Ensure, however, that all the cnote text is enclosed by the final }}.
  2. The character "=" (equals sign) must not be entered in cnote text, as it will generate an error call. If an equals sign is needed in the cnote text, use the code &#61; in its place.

See it in action

Please look at Early life of Plato#ref a to see a content note attached to the word "brother".

See also