Teamplaid:Reflist/Transwiki guide
The following steps below is how template {{Reflist}} is implemented on English Wikipedia. If porting the exact copy of template {{Reflist}} to other Wikimedia projects the following need to be copied (and modified to suit the needs of your project), other wikis outside Wikimedia projects makes sure the latest versions of extensions Cite and ParserFunctions are installed first and if adding the tracking category you'll also need to install Scribunto. Please use an edit summary like the text shown so the history will show where each page came from.
Create or modify the following templates and system messages
deasaichTemplate/System messages | Edit summary |
---|---|
Template:Reflist | copy from [[:en:Template:Reflist]]
|
Template:Column-width | copy from [[:en:Template:Column-width]]
|
MediaWiki:Cite references link many format | copy from [[:en:MediaWiki:Cite references link many format]]
|
MediaWiki:Cite references link many format backlink labels | copy from [[:en:MediaWiki:Cite references link many format backlink labels]]
|
MediaWiki:Cite link label group-decimal | copy from [[:en:MediaWiki:Cite link label group-decimal]]
|
MediaWiki:Cite link label group-lower-alpha | copy from [[:en:MediaWiki:Cite link label group-lower-alpha]]
|
MediaWiki:Cite link label group-lower-greek | copy from [[:en:MediaWiki:Cite link label group-lower-greek]]
|
MediaWiki:Cite link label group-lower-roman | copy from [[:en:MediaWiki:Cite link label group-lower-roman]]
|
MediaWiki:Cite link label group-upper-alpha | copy from [[:en:MediaWiki:Cite link label group-upper-alpha]]
|
MediaWiki:Cite link label group-upper-roman | copy from [[:en:MediaWiki:Cite link label group-upper-roman]]
|
Roinn-seòrsa tracaidh - Tracking category
deasaichThe tracking category Roinn-seòrsa:Pages using Reflist with unknown parameters uses the following templates:
Template | Edit summary |
---|---|
Mòideal:Check for unknown parameters | copy from [[:en:Module:Check for unknown parameters]]
|
Teamplaid:Main other | copy from [[:en:Template:Main other]]
|
Roghainneil - Optional
deasaichTo replace the default uparrow (↑) with caret (^)
Template | Edit summary |
---|---|
MediaWiki:Cite references link one | copy from [[:en:MediaWiki:Cite references link one]]
|
MediaWiki:Cite references link many | copy from [[:en:MediaWiki:Cite references link many]]
|
Taic duilleag stoidhle casgach (DSC) - -Cascading Style Sheet (CSS) Support
deasaichCopy the following CSS to MediaWiki:Common.css. → copy from [[:en:MediaWiki:Common.css]]
/* Make the list of references smaller */
ol.references,
div.Reflist {
font-size: 90%; /* Default font-size */
margin-bottom: 0.5em;
}
div.Reflist ol.references {
font-size: 100%; /* Reset font-size when nested in div.Reflist */
margin-bottom: 0; /* Avoid double margin when nested in div.Reflist */
list-style-type: inherit; /* Enable custom list style types */
}
Faic cuideachd - Also see
Note: Wikimedia projects that uses automatic columns for references have 'wgCiteResponsiveReferences' set to true on InitialiseSettings.php. To request that this feature be enabled at your local wiki, please file a Phabricator task by filling in this pre-formatted Phabricator task.