Template:Ref/Sources: Difference between revisions
From Halopedia, the Halo wiki
m (Test over. Was a success. Team needs to debate if we use it or not.) |
No edit summary |
||
Line 40: | Line 40: | ||
{{Ref/List|Columns=2}} | {{Ref/List|Columns=2}} | ||
|} | |} | ||
===Fields=== | ===Fields=== | ||
Line 51: | Line 50: | ||
|'''1''' {{C|Unnamed field}}, '''Columns''' | |'''1''' {{C|Unnamed field}}, '''Columns''' | ||
|''Optional'' | |''Optional'' | ||
|The number of columns to display the citations in. If left unspecified, the list will | |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. | ||
|<pre>2</pre> | |<pre>2</pre> | ||
|- | |- | ||
Line 59: | Line 58: | ||
|<pre>500px</pre> | |<pre>500px</pre> | ||
|} | |} | ||
[[Category:Reference templates]]</noinclude> | [[Category:Reference templates]]</noinclude> |
Revision as of 19:49, May 30, 2023
Usage
This template can be used to insert a list of all the references on a page. For more reference templates, see Template:Ref.
Simplified Version | Full Version |
---|---|
{{Ref/Sources}} |
{{Ref/Sources |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}} ==Sources== {{Ref/List|Columns=2}} |
Sergeant Avery Johnson was a member of the ORION Project.[1] Sources
|
Fields
Field Name(s) | Optional or Required? | Description | Example |
---|---|---|---|
1 (Unnamed field), 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 width of each column of citations, if applicable. | 500px |