Template:Ref/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (elaborate on references list stuff)
No edit summary
Line 2: Line 2:


Will display whatever text is inputed; see [[Titanfall engine branch]] and [[Half-Life 2: Episode Three/en]] for examples of intended usage.  
Will display whatever text is inputed; see [[Titanfall engine branch]] and [[Half-Life 2: Episode Three/en]] for examples of intended usage.  
== Copy and Paste ==
{{Codeblock|<nowiki>{{ref|(number)}}</nowiki>}}
{{Codeblock|<nowiki>== References ==
<ol>
<li> Title and Description, link for sources here.
</ol>
</nowiki>}}


{{warning|'''A reference list will need to be created manually; avoid carelessly changing the order of references in the list, as this will change the numbering and confuse the reader!'''
{{warning|'''A reference list will need to be created manually; avoid carelessly changing the order of references in the list, as this will change the numbering and confuse the reader!'''
{{modernImportant|Quotes and similar notes can break the numbering in a MediaWiki list; consider using an HTML list instead.}}
{{modernImportant|Quotes and similar notes can break the numbering in a MediaWiki list; consider using an HTML list instead.}}
}}
}}

Revision as of 09:58, 23 December 2023

A simple barebones "fake" reference template, to point to a == References == heading.

Will display whatever text is inputed; see Titanfall engine branch and Half-Life 2: Episode Three/en for examples of intended usage.

Copy and Paste

{{ref|(number)}}
== References == <ol> <li> Title and Description, link for sources here. </ol>
Warning.pngWarning:A reference list will need to be created manually; avoid carelessly changing the order of references in the list, as this will change the numbering and confuse the reader!
Icon-Important.pngImportant:Quotes and similar notes can break the numbering in a MediaWiki list; consider using an HTML list instead.