Template:Ref/Notes: Difference between revisions

From Halopedia, the Halo wiki

m (Protected "Template:Ref/Notes": High-traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (Text replacement - "</includeonly><noinclude>↵{{Doc/Template}}" to "</includeonly><noinclude>{{Doc/Template}}")
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{Ref/List|Group=Note|Columns={{{Columns|1}}}|ColWidth={{{ColWidth|}}}}}</includeonly><noinclude>
<includeonly>{{Ref/List|Group=Note|Columns={{{Columns|}}}|ColWidth={{{ColWidth|}}}|ColGap={{{ColGap|}}}}}</includeonly><noinclude>{{Doc/Template}} [[Category:Reference templates]]</noinclude>
==Usage==
This template can be used to insert a list of all the notes on a page. For more reference templates, see [[Template:Ref]].
 
{|width=100%
!width=50%|Simplified Version
!width=50%|Full Version
|-
|
<pre>
{{Ref/Notes}}
</pre>
|
<pre>
{{Ref/Notes
|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>
Sergeant [[Avery Johnson]] was a member of the [[ORION Project]].{{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/Notes}}
</nowiki></pre>
|
Sergeant [[Avery Johnson]] was a member of the [[ORION Project]].{{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]].}}
 
<h2>Notes</h2>
{{Ref/Notes}}
|}
 
 
===Fields===
{| width=100%
!width=15% text-align:center|''Field Name(s)''
!width=15%|''Optional or Required?''
!width=40%|''Description''
!width=30%|''Example''
|-
|'''Columns'''
|''Optional''
|The number of columns to display the citations in. If left unspecified, the list will not be segmented into columns.
|<pre>2</pre>
|-
|'''ColWidth'''
|''Optional''
|The width of each column of citations, if applicable.
|<pre>500px</pre>
|}
[[Category:Reference templates]]</noinclude>

Latest revision as of 12:31, June 9, 2023

vde
Template Documentation

Description

This template can be used to insert a list of all the notes on a page. If you are looking to create a note see Template:Ref/Note, if you are looking to reuse notes see Template:Ref/NoteReuse. If it is just a normal reference you need see Template:Ref for a full list of reference templates.

Usage

Simplified Version Full Version
{{Ref/Notes}}
{{Ref/Notes
|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|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/Notes}}

Sergeant Avery Johnson was a member of the ORION Project.[Note 1]

Notes

  1. ^ 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.

Fields

Field Name Aliases Optional or Required? Description Example
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