<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mindpowe.red/wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3ACite_link_labels</id>
	<title>Help:Cite link labels - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mindpowe.red/wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3ACite_link_labels"/>
	<link rel="alternate" type="text/html" href="https://mindpowe.red/wiki/index.php?title=Help:Cite_link_labels&amp;action=history"/>
	<updated>2026-04-06T10:34:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://mindpowe.red/wiki/index.php?title=Help:Cite_link_labels&amp;diff=1290&amp;oldid=prev</id>
		<title>imported&gt;WOSlinker: change source to syntaxhighlight</title>
		<link rel="alternate" type="text/html" href="https://mindpowe.red/wiki/index.php?title=Help:Cite_link_labels&amp;diff=1290&amp;oldid=prev"/>
		<updated>2020-05-25T20:29:32Z</updated>

		<summary type="html">&lt;p&gt;change source to syntaxhighlight&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Wikipedia how to|H:CL}}&lt;br /&gt;
{{notice|This help page is mainly of technical interest to those who are creating new label styles. For the use of defined styles, refer to [[WP:CITELABEL]].}}&lt;br /&gt;
When automated [[Help:Footnotes|footnotes]] are used on Wikipedia pages, the default form of the footnote labels is {{dummy ref|1}}, {{dummy ref|2}}, {{dummy ref|3}}, etc. When [[WP:REFGROUP|grouped footnotes]] are used, the labels are {{dummy ref|''name'' 1}}, {{dummy ref|''name'' 2}}, etc., where ''name'' is the name given to the group. However, by using certain reserved group names, it is possible to make the labels appear in a different form, such as {{dummy ref|i}}, {{dummy ref|ii}}, etc. or {{dummy ref|a}}, {{dummy ref|b}}, etc.&lt;br /&gt;
&lt;br /&gt;
Currently existing reserved group names are:&lt;br /&gt;
{{Cite link label styles}}&lt;br /&gt;
&lt;br /&gt;
For example, a footnote which is to appear in the i, ii, iii... group can be written as:&lt;br /&gt;
* {{tag|ref|params=group=lower-roman}}&lt;br /&gt;
To generate the list of the footnotes in that group, use for example&lt;br /&gt;
* {{tlx|reflist|2=group=lower-roman}}&lt;br /&gt;
&lt;br /&gt;
Further examples, technical information and instructions for creating new reserved groups can be found below.&lt;br /&gt;
&lt;br /&gt;
==Technical== &lt;br /&gt;
Version [[rev:66749|r66749]] of the {{Cite.php}} extension implements the ability to create styles for the cite link labels. Although the ability to create in-text cite label styles is unlimited, the matching reference list label styles are currently limited to those supported by the CSS {{code|list-style-type}} property and to browser support.&lt;br /&gt;
&lt;br /&gt;
==Numeric labels==&lt;br /&gt;
The default in-text cite links and reference list backlinks use numeric labels automatically generated by the software. The labels are linked to provide a connection between the in-text cite and the reference list cite.&lt;br /&gt;
&lt;br /&gt;
In this example, the super-scripted, in-text cites use a numeric label that matches the citation in the reference list:&lt;br /&gt;
&lt;br /&gt;
{{markup&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;The Sun is pretty big,&amp;lt;ref group=&amp;quot;test&amp;quot;&amp;gt;Miller, E: ''The Sun'', page 23. Academic Press, 2005.&amp;lt;/ref&amp;gt;&lt;br /&gt;
but the Moon is not so big.&amp;lt;ref group=&amp;quot;test&amp;quot;&amp;gt;Brown, R: &amp;quot;Size of the Moon&amp;quot;, ''Scientific American'', 51(78):46&amp;lt;/ref&amp;gt;&lt;br /&gt;
The Sun is also quite hot.&amp;lt;ref group=&amp;quot;test&amp;quot;&amp;gt;Miller, E: ''The Sun'', page 34. Academic Press, 2005.&amp;lt;/ref&amp;gt;&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|The Sun is pretty big,&amp;lt;ref group=&amp;quot;test&amp;quot;&amp;gt;Miller, E: ''The Sun'', page 23. Academic Press, 2005.&amp;lt;/ref&amp;gt;&lt;br /&gt;
but the Moon is not so big.&amp;lt;ref group=&amp;quot;test&amp;quot;&amp;gt;Brown, R: &amp;quot;Size of the Moon&amp;quot;, ''Scientific American'', 51(78):46&amp;lt;/ref&amp;gt;&lt;br /&gt;
The Sun is also quite hot.&amp;lt;ref group=&amp;quot;test&amp;quot;&amp;gt;Miller, E: ''The Sun'', page 34. Academic Press, 2005.&amp;lt;/ref&amp;gt;&lt;br /&gt;
{{fake heading|sub=3|References}}&lt;br /&gt;
{{reflist|group=&amp;quot;test&amp;quot;|close}}}}&lt;br /&gt;
&lt;br /&gt;
==Cite link sequence styles==&lt;br /&gt;
Special group names have been defined which give alternative sequences, such as alphabetical and roman numerals, instead of Arabic numerals.&lt;br /&gt;
&lt;br /&gt;
===List of custom link label sequences===&lt;br /&gt;
{{Cite link label styles|interface=y}}&lt;br /&gt;
&lt;br /&gt;
The list below is created automatically by [[Special:PrefixIndex]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;{{Special:PrefixIndex/MediaWiki:cite_link_label_group-}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Markup restriction===&lt;br /&gt;
These sequences will only work properly when using the {{tl|Reflist}} template. Although the {{tag|references|s}} tag supports the {{code|1=group=}} attribute, the footnotes will be displayed with the default Arabic numerals.&lt;br /&gt;
&lt;br /&gt;
===Creating cite label sequence styles===&lt;br /&gt;
Only admins can perform these actions. Non-admins may request additions on the talk page.&lt;br /&gt;
&lt;br /&gt;
Currently, only styles supported by the CSS {{code|list-style-type}} element may be added.&amp;lt;ref&amp;gt;{{cite web |title=CSS list-style-type Property |work=w3schools.com |url=http://www.w3schools.com/css/pr_list-style-type.asp}}&amp;lt;/ref&amp;gt; Not all styles are supported by all browsers— see the list below.&amp;lt;ref&amp;gt;{{cite web |title=List styles |work=QuirksMode.org |url=http://www.quirksmode.org/css/lists.html}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Decide on a name for the cite label style group name. It should match the associated CSS {{code|list-style-type}} value. Quotes may not be used in values in {{tl|Reflist}} therefore the name ''must'' comply with the rules for HTML ids.&amp;lt;ref&amp;gt;{{cite web |title=HTML id Attribute |work=w3schools.com |url=http://www.w3schools.com/tags/att_standard_id.asp}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Discuss the new style on the talk page and gain consensus.&lt;br /&gt;
# Create the style list at MediaWiki:cite_link_label_group-''groupname''. Ensure each label is separated with a space. For example, create [[MediaWiki:cite link label group-lower-greek]] and populate it with the Greek alphabet. Then use &amp;quot;lower-greek&amp;quot; as the groupname.&lt;br /&gt;
# Redirect the talk page to the [[Help talk:Cite errors|central discussion page]] by creating the talk page with {{code|#REDIRECT [[Help talk:Cite errors]]}}.&lt;br /&gt;
# Edit {{tl|Reflist}} and add the {{code|list-style-type}} that styles the reference list.&lt;br /&gt;
# Add the style to the list above.&lt;br /&gt;
# If there are browser limitations, document them in the notice at the top of the page.&lt;br /&gt;
&lt;br /&gt;
{{CSS list-style-type values}}&lt;br /&gt;
&lt;br /&gt;
===Browser support===&lt;br /&gt;
The in-text link labels will be retrieved from the MediaWiki label page, thus they should show regardless of browser. The reference list labels are styled by the CSS {{code|list-style-type}} property. Not all browsers support all {{code|list-style-type}} values. A browser that does not support the value will revert to the default decimal label in the reference list. See the [[#CSS list-style-type values|table above]] for values and browser support.&lt;br /&gt;
&lt;br /&gt;
===Error messages===&lt;br /&gt;
An error message indicates when there are more cites than there are link labels:&lt;br /&gt;
* {{MediaWiki:cite error no link label group|nocat=yes}}&lt;br /&gt;
&lt;br /&gt;
This message is invoked through [[MediaWiki:cite error no link label group]]; the help page is at [[Help:Cite errors/Cite error no link label group]].&lt;br /&gt;
&lt;br /&gt;
==Bugs==&lt;br /&gt;
* {{phab|24265}}&lt;br /&gt;
** The error message at [[MediaWiki:Cite error no link label group]] gets classed as a reference, so you can't use a wikilink in the message to link to a help page&lt;br /&gt;
** The reference list is an ordered list and uses numbers that don't match the in-text cite labels&lt;br /&gt;
&lt;br /&gt;
==Classes and templates==&lt;br /&gt;
The {{tl|Reflist}} uses the {{para|group}} parameter to select the {{code|list-style-type}} style, and apply it to the {{code|.reflist}} class:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html+smarty&amp;quot;&amp;gt;list-style-type: &amp;lt;!--&lt;br /&gt;
 --&amp;gt;{{#switch: {{{group|}}}&lt;br /&gt;
 | lower-alpha&lt;br /&gt;
 | lower-greek&lt;br /&gt;
 | lower-roman = {{{group}}}&lt;br /&gt;
 | #default = decimal}};&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:Note that the decimal style is handled by the default {{code|list-style-type}}.&lt;br /&gt;
&lt;br /&gt;
CSS rules in [[MediaWiki:Common.css]] then allow the {{code|.references}} class to inherit the {{code|list-style-type}}:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=css&amp;gt;&lt;br /&gt;
div.reflist ol.references {&lt;br /&gt;
 list-style-type: inherit; /* Enable custom list style types */&lt;br /&gt;
}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
{{Wikipedia referencing}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Wikipedia features|Cite Link Labels]]&lt;br /&gt;
[[Category:Wikipedia citation administration]]&lt;/div&gt;</summary>
		<author><name>imported&gt;WOSlinker</name></author>
		
	</entry>
</feed>