TemplateDoc:Ref/Sources: Difference between revisions
From Halopedia, the Halo wiki
(Created page with "{{Notice/TemplateDoc}} ==Description== This template can be used to insert a list of all the references on a page. For more reference templates, see Template:Ref. ==Usage== {|width=100% !width=50%|Simplified Version !width=50%|Full Version |- | <pre> {{Ref/Sources}} </pre> | <pre> {{Ref/Sources |Columns= |ColWidth= }} </pre> |} ===Example=== Here is an example of how to use this template: {|width=100% !width=50%|Wiki Markup !width=50%|Result |- | <pre><nowiki> Se...") |
m (Text replacement - "The width of each column of citations, if applicable." to "The minimum width of each column of citations, if needed.") |
||
Line 60: | Line 60: | ||
| - | | - | ||
|''Optional'' | |''Optional'' | ||
|The width of each column of citations, if | |The minimum width of each column of citations, if needed. | ||
|<pre>500px</pre> | |<pre>500px</pre> | ||
|} | |} | ||
[[Category:Reference template documentation]] | [[Category:Reference template documentation]] |
Revision as of 09:42, November 29, 2023
This is a template documentation page!
You cannot edit the associated template from here. To do so, please see Template:Ref/Sources instead!
Description
This template can be used to insert a list of all the references on a page. For more reference templates, see Template:Ref.
Usage
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 | Aliases | 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 minimum width of each column of citations, if needed. | 500px |