Difference between revisions of "Template:Cref/doc"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
m (ce)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(5 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
    
 
    
 
== Purpose ==
 
== Purpose ==
This template is used to mark the word to which a content note is going to be attached in Wikipedia. To create the content note itself, use [[Template:Cnote]].
+
This template is used to mark the word to which a content note is going to be attached in Wikipedia. To create the content note itself, use [[Template:Cnote]]. For multiple uses of the same footnote, see [[Template:Cref2]].
  
 
<table width=80% align=center border=1><tr><td>
 
<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 [[m:Cite/Cite.php]] system. The two systems do not interfere with each other in any way.</blockquote>
+
<blockquote>Note: '''Content Notes''' created using {{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>
 
</td></tr></table>
  
 
== Usage ==
 
== Usage ==
<tt><nowiki>{{cref|{{{1}}}}}</nowiki></tt>
+
*<kbd><nowiki>{{cref|{{{1}}}}}</nowiki></kbd>
  
== Required parameter ==
+
<pre>
 +
{{cref |enter name of content note here }}
 +
</pre>
 +
 
 +
=== Required parameter ===
 
* <nowiki>{{{1}}}</nowiki>: name of content note to which this marker is going to point.
 
* <nowiki>{{{1}}}</nowiki>: name of content note to which this marker is going to point.
 
==Copyable empty example ==
 
<nowiki>{{cref | enter name of content note here}}</nowiki>
 
  
 
==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]] to see a content note attached to the word "brother".
  
 
==See also==
 
==See also==
* [[Wikipedia:Cite sources]]: Style guide
+
* [[Wikipedia:Citation templates]] – related templates
* [[Wikipedia:Template messages/Sources of articles/Generic citations]]: Related templates
+
* [[Wikipedia:Citing sources]] – style guide
 
* [[Wikipedia:WikiProject Wikicite]]
 
* [[Wikipedia:WikiProject Wikicite]]
 +
* [[Template:Cite book]]
 
* [[Template:Cite news]]
 
* [[Template:Cite news]]
* [[Template:Cite book]]
 
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 +
[[Category:Explanatory footnote templates]]
 
[[Category:Inline templates|{{PAGENAME}}]]
 
[[Category:Inline templates|{{PAGENAME}}]]
  
[[ar:قالب:محتوى مرجعي]]
+
[[fr:Modèle:Cref]]
[[fr:Template:Cref]]
+
}}</includeonly>
[[he:תבנית:Cref]]
 
[[ro:Format:Cref]]
 
</includeonly>
 

Latest revision as of 22:13, 24 April 2020

Purpose

This template is used to mark the word to which a content note is going to be attached in Wikipedia. To create the content note itself, use Template:Cnote. For multiple uses of the same footnote, see Template:Cref2.

Note: Content Notes created using {{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

  • {{cref|{{{1}}}}}
{{cref |enter name of content note here }}

Required parameter

  • {{{1}}}: name of content note to which this marker is going to point.

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