Template:Ref/List: Difference between revisions
From Halopedia, the Halo wiki
mNo edit summary |
mNo edit summary |
||
Line 13: | Line 13: | ||
--><!-- If specified, add an the column width --><!-- | --><!-- If specified, add an the column width --><!-- | ||
-->{{#if:{{{ColWidth|}}}|column-width:{{{ColWidth}}};}}<!-- | -->{{#if:{{{ColWidth|}}}|column-width:{{{ColWidth}}};}}<!-- | ||
--><!-- If | --><!-- If specified, add the column gap --><!-- | ||
-->{{#if:{{{ | -->{{#if:{{{ColGap|}}}|column-gap:{{{ColGap}}};}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Doc/Template}} [[Category:Reference templates]]</noinclude> | --></includeonly><noinclude>{{Doc/Template}} [[Category:Reference templates]]</noinclude> |
Latest revision as of 10:34, November 29, 2023
Description
This template can be used to insert a list of all the references in a specified reference group. This template should usually be avoided - Template:Ref/Sources and Template:Ref/Notes should be favoured wherever possible. For more reference templates, see Template:Ref.
Usage
Simplified Version | Full Version |
---|---|
{{Ref/List}} |
{{Ref/List |Group= |Columns= |ColWidth= }} |
Example
Here is an example of how to use this template:
Wiki Markup | Result |
---|---|
Sergeant [[Avery Johnson]] was a member of the [[ORION Project]].{{Ref|Name=GNPg122|Halo Graphic Novel, Page 122}}{{Ref|Group=Note|The ORION Project is also known as the SPARTAN-I program, a name retroactively given to it after the formation of the [[SPARTAN-II program]].}} ==Notes== {{Ref/List|Group=Note}} ==Sources== {{Ref/List|Columns=2}} |
Sergeant Avery Johnson was a member of the ORION Project.[1][Note 1] Notes
Sources
|
Fields
Field Name | Aliases | Optional or Required? | Description | Example |
---|---|---|---|---|
Group | - | Optional | The group of citations to display. If left unspecified, it will display the citations that aren't in a group (i.e. normal references). | Note |
Columns | - | Optional | The number of columns to display the citations in. If left unspecified, the list will be automatically segmented into responsive columns if there are more than 10 citations. | 2 |
ColWidth | - | Optional | The minimum width of each column of citations, if needed. Used as an alternative to specifying the number of columns to keep the list responsive. | 500px |