TemplateDoc:Ref/NoteReuse: Difference between revisions

From Halopedia, the Halo wiki

(Created page with "{{Notice/TemplateDoc}} ==Usage== This template can be used to reuse a previously established note in a page. For more reference templates, see Template:Ref. {|width=100% !width=50%|Simplified Version !width=50%|Full Version |- | <pre> {{Ref/NoteReuse | }} </pre> | <pre> {{Ref/NoteReuse | }} </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...")
 
No edit summary
 
Line 1: Line 1:
{{Notice/TemplateDoc}}
{{Notice/TemplateDoc}}
==Description==
This template should be used to reuse a Note that was already created. This is to avoid numerous of the same Note being created. If you are looking to create a note see [[Template:Ref/Note]], if you are looking for how to list notes on a page see [[Template:Ref/Notes]]. If it is just a normal reference you need see [[Template:Ref]] for a full list of reference templates.


==Usage==
==Usage==
This template can be used to reuse a previously established note in a page. For more reference templates, see [[Template:Ref]].
===A filled example===
 
To use in a normal page swap out "SwapMeOut" with whatever Id you need to use.
{|width=100%
<pre>{{Ref/NoteReuse|SwapMeOut}}</pre>
!width=50%|Simplified Version
!width=50%|Full Version
|-
|
<pre>
{{Ref/NoteReuse
|
}}
</pre>
|
<pre>
{{Ref/NoteReuse
|
}}
</pre>
|}
===Example===
===Example===
Here is an example of how to use this template:
Here is an example of how to use this template:
Line 48: Line 35:


===Fields===
===Fields===
{| width=100%
{| width=100% class=wikitable
!width=15% text-align:center|''Field Name(s)''
!Field Name
!width=15%|''Optional or Required?''
!Aliases
!width=40%|''Description''
!Optional or Required?
!width=30%|''Example''
!Description
!Example
|-
|-
|'''1''' {{C|Unnamed field}}, '''Name'''
|'''1''' {{C|Unnamed field}}
|Name
|'''Required'''
|'''Required'''
|The name of the citation to be reused.
|The uses the Id from a previously made note.
|<pre>GNPg122</pre>
|<pre>GNPg122</pre>
|}
|}


[[Category:Reference template documentation]]
[[Category:Reference template documentation]]

Latest revision as of 10:57, June 9, 2023

This is a template documentation page!
You cannot edit the associated template from here. To do so, please see Template:Ref/NoteReuse instead!

Description[edit]

This template should be used to reuse a Note that was already created. This is to avoid numerous of the same Note being created. If you are looking to create a note see Template:Ref/Note, if you are looking for how to list notes on a page see Template:Ref/Notes. If it is just a normal reference you need see Template:Ref for a full list of reference templates.

Usage[edit]

A filled example[edit]

To use in a normal page swap out "SwapMeOut" with whatever Id you need to use.

{{Ref/NoteReuse|SwapMeOut}}

Example[edit]

Here is an example of how to use this template:

Wiki Markup Result
Sergeant [[Avery Johnson]] was a member of the [[ORION Project]].{{Ref/Note|Id=GNPg122|This is according to page 122 of Halo Graphic Novel.}}

Johnson participated in [[Operation: KALEIDOSCOPE]], and assassinated [[Jerald Ander]] as part of it.{{Ref/NoteReuse|GNPg122}}

==Notes==
{{Ref/Notes}}

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

Johnson participated in Operation: KALEIDOSCOPE, and assassinated Jerald Ander as part of it.[Note 1]

Notes

  1. ^ a b This is according to page 122 of Halo Graphic Novel.


Fields[edit]

Field Name Aliases Optional or Required? Description Example
1 (Unnamed field) Name Required The uses the Id from a previously made note.
GNPg122